Text Generation
Transformers
Safetensors
qwen2
Generated from Trainer
rl-swarm
grpo
gensyn
I am fierce padded camel
trl
genrl-swarm
I am fierce_padded_camel
conversational
text-generation-inference
Instructions to use Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel") model = AutoModelForCausalLM.from_pretrained("Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel
- SGLang
How to use Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel 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 "Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel with Docker Model Runner:
docker model run hf.co/Slaughtering/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-fierce_padded_camel
End of training
Browse files- all_results.json +3 -3
- model.safetensors +1 -1
- train_results.json +3 -3
- trainer_state.json +49 -49
all_results.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"total_flos": 0.0,
|
| 3 |
-
"train_loss":
|
| 4 |
-
"train_runtime":
|
| 5 |
"train_samples": 17,
|
| 6 |
-
"train_samples_per_second": 0.
|
| 7 |
"train_steps_per_second": 0.0
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"total_flos": 0.0,
|
| 3 |
+
"train_loss": 1.8783261111821047e-06,
|
| 4 |
+
"train_runtime": 35482.0828,
|
| 5 |
"train_samples": 17,
|
| 6 |
+
"train_samples_per_second": 0.005,
|
| 7 |
"train_steps_per_second": 0.0
|
| 8 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1976163472
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f1ead049fa7130a809557b15d02866f929a0da1bc89d3ae806bf16edb40e728
|
| 3 |
size 1976163472
|
train_results.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"total_flos": 0.0,
|
| 3 |
-
"train_loss":
|
| 4 |
-
"train_runtime":
|
| 5 |
"train_samples": 17,
|
| 6 |
-
"train_samples_per_second": 0.
|
| 7 |
"train_steps_per_second": 0.0
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"total_flos": 0.0,
|
| 3 |
+
"train_loss": 1.8783261111821047e-06,
|
| 4 |
+
"train_runtime": 35482.0828,
|
| 5 |
"train_samples": 17,
|
| 6 |
+
"train_samples_per_second": 0.005,
|
| 7 |
"train_steps_per_second": 0.0
|
| 8 |
}
|
trainer_state.json
CHANGED
|
@@ -10,107 +10,107 @@
|
|
| 10 |
"is_world_process_zero": true,
|
| 11 |
"log_history": [
|
| 12 |
{
|
| 13 |
-
"completion_length":
|
| 14 |
"epoch": 0.9411764705882353,
|
| 15 |
-
"grad_norm":
|
| 16 |
"kl": 0.0,
|
| 17 |
"learning_rate": 5e-07,
|
| 18 |
"loss": -0.0,
|
| 19 |
-
"reward": 5.
|
| 20 |
-
"reward_std": 0.
|
| 21 |
-
"rewards/concensus_correctness_reward_func": 1.
|
| 22 |
"rewards/consensus_reward_func": 2.0,
|
| 23 |
"rewards/cumulative_reward_2": 0.0,
|
| 24 |
"rewards/final_correctness_reward_func": 0.0,
|
| 25 |
-
"rewards/question_recreation_reward_func": 0.
|
| 26 |
"rewards/soft_format_reward_func": 0.0,
|
| 27 |
"rewards/strict_format_reward_func": 0.0,
|
| 28 |
-
"rewards/xmlcount_reward_func": 0.
|
| 29 |
"step": 2
|
| 30 |
},
|
| 31 |
{
|
| 32 |
-
"completion_length":
|
| 33 |
"epoch": 1.4705882352941178,
|
| 34 |
-
"grad_norm":
|
| 35 |
-
"kl": 0.
|
| 36 |
"learning_rate": 4.415111107797445e-07,
|
| 37 |
-
"loss": 0.0,
|
| 38 |
-
"reward": 5.
|
| 39 |
-
"reward_std": 0.
|
| 40 |
-
"rewards/concensus_correctness_reward_func": 1.
|
| 41 |
-
"rewards/consensus_reward_func":
|
| 42 |
"rewards/cumulative_reward_2": 0.0,
|
| 43 |
"rewards/final_correctness_reward_func": 0.0,
|
| 44 |
-
"rewards/question_recreation_reward_func": 0.
|
| 45 |
"rewards/soft_format_reward_func": 0.0,
|
| 46 |
"rewards/strict_format_reward_func": 0.0,
|
| 47 |
-
"rewards/xmlcount_reward_func": 0.
|
| 48 |
"step": 4
|
| 49 |
},
|
| 50 |
{
|
| 51 |
-
"completion_length":
|
| 52 |
"epoch": 2.0,
|
| 53 |
-
"grad_norm": 1.
|
| 54 |
-
"kl": 0.
|
| 55 |
"learning_rate": 2.934120444167326e-07,
|
| 56 |
-
"loss": 0.0,
|
| 57 |
-
"reward":
|
| 58 |
-
"reward_std":
|
| 59 |
-
"rewards/concensus_correctness_reward_func": 1.
|
| 60 |
-
"rewards/consensus_reward_func":
|
| 61 |
"rewards/cumulative_reward_2": 0.0,
|
| 62 |
"rewards/final_correctness_reward_func": 0.0,
|
| 63 |
-
"rewards/question_recreation_reward_func": 0.
|
| 64 |
"rewards/soft_format_reward_func": 0.0,
|
| 65 |
"rewards/strict_format_reward_func": 0.0,
|
| 66 |
-
"rewards/xmlcount_reward_func": 0.
|
| 67 |
"step": 6
|
| 68 |
},
|
| 69 |
{
|
| 70 |
-
"completion_length":
|
| 71 |
"epoch": 2.9411764705882355,
|
| 72 |
-
"grad_norm":
|
| 73 |
-
"kl": 0.
|
| 74 |
"learning_rate": 1.2500000000000005e-07,
|
| 75 |
-
"loss": 0.0,
|
| 76 |
-
"reward": 5.
|
| 77 |
-
"reward_std": 0.
|
| 78 |
-
"rewards/concensus_correctness_reward_func": 1.
|
| 79 |
-
"rewards/consensus_reward_func": 1.
|
| 80 |
"rewards/cumulative_reward_2": 0.0,
|
| 81 |
"rewards/final_correctness_reward_func": 0.0,
|
| 82 |
-
"rewards/question_recreation_reward_func": 0.
|
| 83 |
"rewards/soft_format_reward_func": 0.0,
|
| 84 |
"rewards/strict_format_reward_func": 0.0,
|
| 85 |
-
"rewards/xmlcount_reward_func": 0.
|
| 86 |
"step": 8
|
| 87 |
},
|
| 88 |
{
|
| 89 |
-
"completion_length":
|
| 90 |
"epoch": 3.4705882352941178,
|
| 91 |
-
"grad_norm":
|
| 92 |
-
"kl": 0.
|
| 93 |
"learning_rate": 1.507684480352292e-08,
|
| 94 |
-
"loss":
|
| 95 |
-
"reward": 5.
|
| 96 |
-
"reward_std": 0.
|
| 97 |
-
"rewards/concensus_correctness_reward_func": 1.
|
| 98 |
"rewards/consensus_reward_func": 1.8888888888888888,
|
| 99 |
"rewards/cumulative_reward_2": 0.0,
|
| 100 |
"rewards/final_correctness_reward_func": 0.0,
|
| 101 |
-
"rewards/question_recreation_reward_func": 0.
|
| 102 |
"rewards/soft_format_reward_func": 0.0,
|
| 103 |
"rewards/strict_format_reward_func": 0.0,
|
| 104 |
-
"rewards/xmlcount_reward_func": 0.
|
| 105 |
"step": 10
|
| 106 |
},
|
| 107 |
{
|
| 108 |
"epoch": 3.4705882352941178,
|
| 109 |
"step": 10,
|
| 110 |
"total_flos": 0.0,
|
| 111 |
-
"train_loss":
|
| 112 |
-
"train_runtime":
|
| 113 |
-
"train_samples_per_second": 0.
|
| 114 |
"train_steps_per_second": 0.0
|
| 115 |
}
|
| 116 |
],
|
|
|
|
| 10 |
"is_world_process_zero": true,
|
| 11 |
"log_history": [
|
| 12 |
{
|
| 13 |
+
"completion_length": 120.03125,
|
| 14 |
"epoch": 0.9411764705882353,
|
| 15 |
+
"grad_norm": 3.6002516746520996,
|
| 16 |
"kl": 0.0,
|
| 17 |
"learning_rate": 5e-07,
|
| 18 |
"loss": -0.0,
|
| 19 |
+
"reward": 5.538293749094009,
|
| 20 |
+
"reward_std": 0.15910115039150696,
|
| 21 |
+
"rewards/concensus_correctness_reward_func": 1.922750011086464,
|
| 22 |
"rewards/consensus_reward_func": 2.0,
|
| 23 |
"rewards/cumulative_reward_2": 0.0,
|
| 24 |
"rewards/final_correctness_reward_func": 0.0,
|
| 25 |
+
"rewards/question_recreation_reward_func": 0.8246376209426671,
|
| 26 |
"rewards/soft_format_reward_func": 0.0,
|
| 27 |
"rewards/strict_format_reward_func": 0.0,
|
| 28 |
+
"rewards/xmlcount_reward_func": 0.7909062542021275,
|
| 29 |
"step": 2
|
| 30 |
},
|
| 31 |
{
|
| 32 |
+
"completion_length": 89.66666666666667,
|
| 33 |
"epoch": 1.4705882352941178,
|
| 34 |
+
"grad_norm": 4.7407546043396,
|
| 35 |
+
"kl": 0.0025498626831298075,
|
| 36 |
"learning_rate": 4.415111107797445e-07,
|
| 37 |
+
"loss": -0.0,
|
| 38 |
+
"reward": 5.3036660883161755,
|
| 39 |
+
"reward_std": 0.32777295475696316,
|
| 40 |
+
"rewards/concensus_correctness_reward_func": 1.8155555658870273,
|
| 41 |
+
"rewards/consensus_reward_func": 1.8888888888888888,
|
| 42 |
"rewards/cumulative_reward_2": 0.0,
|
| 43 |
"rewards/final_correctness_reward_func": 0.0,
|
| 44 |
+
"rewards/question_recreation_reward_func": 0.7904995485312409,
|
| 45 |
"rewards/soft_format_reward_func": 0.0,
|
| 46 |
"rewards/strict_format_reward_func": 0.0,
|
| 47 |
+
"rewards/xmlcount_reward_func": 0.8087222245004442,
|
| 48 |
"step": 4
|
| 49 |
},
|
| 50 |
{
|
| 51 |
+
"completion_length": 130.5,
|
| 52 |
"epoch": 2.0,
|
| 53 |
+
"grad_norm": 1.401399850845337,
|
| 54 |
+
"kl": 0.0020917902002111077,
|
| 55 |
"learning_rate": 2.934120444167326e-07,
|
| 56 |
+
"loss": -0.0,
|
| 57 |
+
"reward": 5.580838574303521,
|
| 58 |
+
"reward_std": 0.151048273831192,
|
| 59 |
+
"rewards/concensus_correctness_reward_func": 1.923555572827657,
|
| 60 |
+
"rewards/consensus_reward_func": 2.0,
|
| 61 |
"rewards/cumulative_reward_2": 0.0,
|
| 62 |
"rewards/final_correctness_reward_func": 0.0,
|
| 63 |
+
"rewards/question_recreation_reward_func": 0.8693942957454257,
|
| 64 |
"rewards/soft_format_reward_func": 0.0,
|
| 65 |
"rewards/strict_format_reward_func": 0.0,
|
| 66 |
+
"rewards/xmlcount_reward_func": 0.7878888845443726,
|
| 67 |
"step": 6
|
| 68 |
},
|
| 69 |
{
|
| 70 |
+
"completion_length": 155.0625,
|
| 71 |
"epoch": 2.9411764705882355,
|
| 72 |
+
"grad_norm": 3.2692880630493164,
|
| 73 |
+
"kl": 0.005913253215112491,
|
| 74 |
"learning_rate": 1.2500000000000005e-07,
|
| 75 |
+
"loss": -0.0,
|
| 76 |
+
"reward": 5.509440541267395,
|
| 77 |
+
"reward_std": 0.2257549742462288,
|
| 78 |
+
"rewards/concensus_correctness_reward_func": 1.8626250103116035,
|
| 79 |
+
"rewards/consensus_reward_func": 1.9375,
|
| 80 |
"rewards/cumulative_reward_2": 0.0,
|
| 81 |
"rewards/final_correctness_reward_func": 0.0,
|
| 82 |
+
"rewards/question_recreation_reward_func": 0.8912844185251743,
|
| 83 |
"rewards/soft_format_reward_func": 0.0,
|
| 84 |
"rewards/strict_format_reward_func": 0.0,
|
| 85 |
+
"rewards/xmlcount_reward_func": 0.8180312439799309,
|
| 86 |
"step": 8
|
| 87 |
},
|
| 88 |
{
|
| 89 |
+
"completion_length": 112.66666666666667,
|
| 90 |
"epoch": 3.4705882352941178,
|
| 91 |
+
"grad_norm": 3.0253567695617676,
|
| 92 |
+
"kl": 0.007104916291104423,
|
| 93 |
"learning_rate": 1.507684480352292e-08,
|
| 94 |
+
"loss": 0.0,
|
| 95 |
+
"reward": 5.129255480236477,
|
| 96 |
+
"reward_std": 0.49882786147645675,
|
| 97 |
+
"rewards/concensus_correctness_reward_func": 1.8155555658870273,
|
| 98 |
"rewards/consensus_reward_func": 1.8888888888888888,
|
| 99 |
"rewards/cumulative_reward_2": 0.0,
|
| 100 |
"rewards/final_correctness_reward_func": 0.0,
|
| 101 |
+
"rewards/question_recreation_reward_func": 0.7083110366430547,
|
| 102 |
"rewards/soft_format_reward_func": 0.0,
|
| 103 |
"rewards/strict_format_reward_func": 0.0,
|
| 104 |
+
"rewards/xmlcount_reward_func": 0.7164999975098504,
|
| 105 |
"step": 10
|
| 106 |
},
|
| 107 |
{
|
| 108 |
"epoch": 3.4705882352941178,
|
| 109 |
"step": 10,
|
| 110 |
"total_flos": 0.0,
|
| 111 |
+
"train_loss": 1.8783261111821047e-06,
|
| 112 |
+
"train_runtime": 35482.0828,
|
| 113 |
+
"train_samples_per_second": 0.005,
|
| 114 |
"train_steps_per_second": 0.0
|
| 115 |
}
|
| 116 |
],
|