Instructions to use Finisha-F-scratch/Pikyname with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Finisha-F-scratch/Pikyname with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Finisha-F-scratch/Pikyname")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Finisha-F-scratch/Pikyname") model = AutoModelForCausalLM.from_pretrained("Finisha-F-scratch/Pikyname", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Finisha-F-scratch/Pikyname with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Finisha-F-scratch/Pikyname" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Finisha-F-scratch/Pikyname", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Finisha-F-scratch/Pikyname
- SGLang
How to use Finisha-F-scratch/Pikyname with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Finisha-F-scratch/Pikyname" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Finisha-F-scratch/Pikyname", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Finisha-F-scratch/Pikyname" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Finisha-F-scratch/Pikyname", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Finisha-F-scratch/Pikyname with Docker Model Runner:
docker model run hf.co/Finisha-F-scratch/Pikyname
Training in progress, step 70
Browse files- README.md +48 -5
- config.json +1 -1
- model.safetensors +2 -2
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -1,11 +1,54 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
tags:
|
| 4 |
-
-
|
| 5 |
-
- pseudo
|
| 6 |
-
- small
|
| 7 |
-
- ever
|
| 8 |
model-index:
|
| 9 |
- name: small-ever
|
| 10 |
results: []
|
| 11 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
tags:
|
| 4 |
+
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
| 5 |
model-index:
|
| 6 |
- name: small-ever
|
| 7 |
results: []
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 11 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 12 |
+
|
| 13 |
+
# small-ever
|
| 14 |
+
|
| 15 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
| 16 |
+
|
| 17 |
+
## Model description
|
| 18 |
+
|
| 19 |
+
More information needed
|
| 20 |
+
|
| 21 |
+
## Intended uses & limitations
|
| 22 |
+
|
| 23 |
+
More information needed
|
| 24 |
+
|
| 25 |
+
## Training and evaluation data
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Training procedure
|
| 30 |
+
|
| 31 |
+
### Training hyperparameters
|
| 32 |
+
|
| 33 |
+
The following hyperparameters were used during training:
|
| 34 |
+
- learning_rate: 0.0002
|
| 35 |
+
- train_batch_size: 8
|
| 36 |
+
- eval_batch_size: 8
|
| 37 |
+
- seed: 42
|
| 38 |
+
- gradient_accumulation_steps: 4
|
| 39 |
+
- total_train_batch_size: 32
|
| 40 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 41 |
+
- lr_scheduler_type: linear
|
| 42 |
+
- num_epochs: 3
|
| 43 |
+
- mixed_precision_training: Native AMP
|
| 44 |
+
|
| 45 |
+
### Training results
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
### Framework versions
|
| 50 |
+
|
| 51 |
+
- Transformers 5.0.0
|
| 52 |
+
- Pytorch 2.10.0+cpu
|
| 53 |
+
- Datasets 4.0.0
|
| 54 |
+
- Tokenizers 0.22.2
|
config.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
"bos_token_id": 2,
|
| 8 |
"dtype": "float32",
|
| 9 |
"eos_token_id": 1,
|
| 10 |
-
"head_dim":
|
| 11 |
"hidden_act": "gelu_pytorch_tanh",
|
| 12 |
"hidden_size": 2,
|
| 13 |
"initializer_range": 0.02,
|
|
|
|
| 7 |
"bos_token_id": 2,
|
| 8 |
"dtype": "float32",
|
| 9 |
"eos_token_id": 1,
|
| 10 |
+
"head_dim": 1,
|
| 11 |
"hidden_act": "gelu_pytorch_tanh",
|
| 12 |
"hidden_size": 2,
|
| 13 |
"initializer_range": 0.02,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54f00b8a1fdcfac29e1e60f6195f019c8ef3ffff1703f73d3e8202428cc679c3
|
| 3 |
+
size 1592
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5201
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c08e0357a4d36f66cb9d6565f81a05d140784e3962a131a3e62c16184d940eb
|
| 3 |
size 5201
|