Text Generation
Transformers
PyTorch
TensorBoard
Safetensors
llama
Generated from Trainer
custom_code
text-generation-inference
Instructions to use flytech/Ruckus-7b-ALPHA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flytech/Ruckus-7b-ALPHA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="flytech/Ruckus-7b-ALPHA", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("flytech/Ruckus-7b-ALPHA", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("flytech/Ruckus-7b-ALPHA", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use flytech/Ruckus-7b-ALPHA with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "flytech/Ruckus-7b-ALPHA" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "flytech/Ruckus-7b-ALPHA", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/flytech/Ruckus-7b-ALPHA
- SGLang
How to use flytech/Ruckus-7b-ALPHA 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 "flytech/Ruckus-7b-ALPHA" \ --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": "flytech/Ruckus-7b-ALPHA", "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 "flytech/Ruckus-7b-ALPHA" \ --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": "flytech/Ruckus-7b-ALPHA", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use flytech/Ruckus-7b-ALPHA with Docker Model Runner:
docker model run hf.co/flytech/Ruckus-7b-ALPHA
Training in progress, step 1200, checkpoint
Browse files
last-checkpoint/adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 67143296
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1795802f4511a46b862c760a771fcf7d13e599eab282287bf05031405bb35f32
|
| 3 |
size 67143296
|
last-checkpoint/optimizer.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 33920095
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:584b92137767666caa3f47ae2f55aec401396c6691caef772442cf9c6c44cb0e
|
| 3 |
size 33920095
|
last-checkpoint/rng_state.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14575
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:571070238262a03131eeae7cb667e5ed7d30e4d5b5a51967463c2bf0d77948d5
|
| 3 |
size 14575
|
last-checkpoint/scheduler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 627
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3df57d65731b72280f603ea0eb027e9c3dbbef708582b288973433cc1df17299
|
| 3 |
size 627
|
last-checkpoint/trainer_state.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
{
|
| 2 |
"best_metric": null,
|
| 3 |
"best_model_checkpoint": null,
|
| 4 |
-
"epoch":
|
| 5 |
"eval_steps": 100,
|
| 6 |
-
"global_step":
|
| 7 |
"is_hyper_param_search": false,
|
| 8 |
"is_local_process_zero": true,
|
| 9 |
"is_world_process_zero": true,
|
|
@@ -150,13 +150,26 @@
|
|
| 150 |
"eval_samples_per_second": 2.038,
|
| 151 |
"eval_steps_per_second": 0.266,
|
| 152 |
"step": 1100
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
}
|
| 154 |
],
|
| 155 |
"logging_steps": 100,
|
| 156 |
"max_steps": 1312,
|
| 157 |
"num_train_epochs": 8,
|
| 158 |
"save_steps": 100,
|
| 159 |
-
"total_flos": 9.
|
| 160 |
"trial_name": null,
|
| 161 |
"trial_params": null
|
| 162 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"best_metric": null,
|
| 3 |
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 7.317073170731708,
|
| 5 |
"eval_steps": 100,
|
| 6 |
+
"global_step": 1200,
|
| 7 |
"is_hyper_param_search": false,
|
| 8 |
"is_local_process_zero": true,
|
| 9 |
"is_world_process_zero": true,
|
|
|
|
| 150 |
"eval_samples_per_second": 2.038,
|
| 151 |
"eval_steps_per_second": 0.266,
|
| 152 |
"step": 1100
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"epoch": 7.32,
|
| 156 |
+
"learning_rate": 0.0002,
|
| 157 |
+
"loss": 0.0267,
|
| 158 |
+
"step": 1200
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"epoch": 7.32,
|
| 162 |
+
"eval_runtime": 33.8867,
|
| 163 |
+
"eval_samples_per_second": 2.036,
|
| 164 |
+
"eval_steps_per_second": 0.266,
|
| 165 |
+
"step": 1200
|
| 166 |
}
|
| 167 |
],
|
| 168 |
"logging_steps": 100,
|
| 169 |
"max_steps": 1312,
|
| 170 |
"num_train_epochs": 8,
|
| 171 |
"save_steps": 100,
|
| 172 |
+
"total_flos": 9.964224215462707e+16,
|
| 173 |
"trial_name": null,
|
| 174 |
"trial_params": null
|
| 175 |
}
|