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)# pip install -U transformers accelerate # 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=256) 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 +52 -52
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.001
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"total_flos": 0.0,
|
| 3 |
+
"train_loss": 6.484796722361353e-06,
|
| 4 |
+
"train_runtime": 7898.169,
|
| 5 |
"train_samples": 17,
|
| 6 |
+
"train_samples_per_second": 0.02,
|
| 7 |
"train_steps_per_second": 0.001
|
| 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:189791d599f1aa215da06c440e30960d9cd9f357b16e4570c55306c648f913fe
|
| 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.001
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"total_flos": 0.0,
|
| 3 |
+
"train_loss": 6.484796722361353e-06,
|
| 4 |
+
"train_runtime": 7898.169,
|
| 5 |
"train_samples": 17,
|
| 6 |
+
"train_samples_per_second": 0.02,
|
| 7 |
"train_steps_per_second": 0.001
|
| 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":
|
| 19 |
-
"reward":
|
| 20 |
-
"reward_std":
|
| 21 |
-
"rewards/concensus_correctness_reward_func": 1.
|
| 22 |
"rewards/consensus_reward_func": 1.8125,
|
| 23 |
"rewards/cumulative_reward_2": 0.0,
|
| 24 |
-
"rewards/final_correctness_reward_func": 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":
|
| 39 |
-
"reward_std": 0.
|
| 40 |
-
"rewards/concensus_correctness_reward_func":
|
| 41 |
-
"rewards/consensus_reward_func": 1.
|
| 42 |
"rewards/cumulative_reward_2": 0.0,
|
| 43 |
-
"rewards/final_correctness_reward_func": 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":
|
| 54 |
-
"kl": 0.
|
| 55 |
"learning_rate": 2.934120444167326e-07,
|
| 56 |
-
"loss":
|
| 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.
|
| 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": 4.
|
| 73 |
-
"kl": 0.
|
| 74 |
"learning_rate": 1.2500000000000005e-07,
|
| 75 |
"loss": 0.0,
|
| 76 |
-
"reward":
|
| 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.1875,
|
| 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": 0.0,
|
| 95 |
-
"reward":
|
| 96 |
-
"reward_std": 0.
|
| 97 |
-
"rewards/concensus_correctness_reward_func": 1.
|
| 98 |
-
"rewards/consensus_reward_func": 1.
|
| 99 |
"rewards/cumulative_reward_2": 0.0,
|
| 100 |
-
"rewards/final_correctness_reward_func": 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.001
|
| 115 |
}
|
| 116 |
],
|
|
|
|
| 10 |
"is_world_process_zero": true,
|
| 11 |
"log_history": [
|
| 12 |
{
|
| 13 |
+
"completion_length": 149.71875,
|
| 14 |
"epoch": 0.9411764705882353,
|
| 15 |
+
"grad_norm": 6.120038986206055,
|
| 16 |
"kl": 0.0,
|
| 17 |
"learning_rate": 5e-07,
|
| 18 |
+
"loss": 0.0,
|
| 19 |
+
"reward": 4.7138683050870895,
|
| 20 |
+
"reward_std": 1.218161172233522,
|
| 21 |
+
"rewards/concensus_correctness_reward_func": 1.8043750077486038,
|
| 22 |
"rewards/consensus_reward_func": 1.8125,
|
| 23 |
"rewards/cumulative_reward_2": 0.0,
|
| 24 |
+
"rewards/final_correctness_reward_func": 0.125,
|
| 25 |
+
"rewards/question_recreation_reward_func": 0.41914947860641405,
|
| 26 |
"rewards/soft_format_reward_func": 0.0,
|
| 27 |
"rewards/strict_format_reward_func": 0.0,
|
| 28 |
+
"rewards/xmlcount_reward_func": 0.5528437495231628,
|
| 29 |
"step": 2
|
| 30 |
},
|
| 31 |
{
|
| 32 |
+
"completion_length": 134.83333333333334,
|
| 33 |
"epoch": 1.4705882352941178,
|
| 34 |
+
"grad_norm": 3.993912935256958,
|
| 35 |
+
"kl": 0.006942011657411879,
|
| 36 |
"learning_rate": 4.415111107797445e-07,
|
| 37 |
"loss": 0.0,
|
| 38 |
+
"reward": 4.583504146999783,
|
| 39 |
+
"reward_std": 0.5791723397043016,
|
| 40 |
+
"rewards/concensus_correctness_reward_func": 1.6015555593702528,
|
| 41 |
+
"rewards/consensus_reward_func": 1.6666666666666667,
|
| 42 |
"rewards/cumulative_reward_2": 0.0,
|
| 43 |
+
"rewards/final_correctness_reward_func": 0.2222222222222222,
|
| 44 |
+
"rewards/question_recreation_reward_func": 0.46855973405763507,
|
| 45 |
"rewards/soft_format_reward_func": 0.0,
|
| 46 |
"rewards/strict_format_reward_func": 0.0,
|
| 47 |
+
"rewards/xmlcount_reward_func": 0.6245000031259325,
|
| 48 |
"step": 4
|
| 49 |
},
|
| 50 |
{
|
| 51 |
+
"completion_length": 143.66666666666666,
|
| 52 |
"epoch": 2.0,
|
| 53 |
+
"grad_norm": 2.51415690399881e-06,
|
| 54 |
+
"kl": 0.011151313885218568,
|
| 55 |
"learning_rate": 2.934120444167326e-07,
|
| 56 |
+
"loss": 0.0,
|
| 57 |
+
"reward": 4.313856760660808,
|
| 58 |
+
"reward_std": 1.531614641348521,
|
| 59 |
+
"rewards/concensus_correctness_reward_func": 1.3920000063048468,
|
| 60 |
+
"rewards/consensus_reward_func": 1.3333333333333333,
|
| 61 |
"rewards/cumulative_reward_2": 0.0,
|
| 62 |
+
"rewards/final_correctness_reward_func": 0.4444444444444444,
|
| 63 |
+
"rewards/question_recreation_reward_func": 0.5758568234224286,
|
| 64 |
"rewards/soft_format_reward_func": 0.0,
|
| 65 |
"rewards/strict_format_reward_func": 0.0,
|
| 66 |
+
"rewards/xmlcount_reward_func": 0.5682222214010026,
|
| 67 |
"step": 6
|
| 68 |
},
|
| 69 |
{
|
| 70 |
+
"completion_length": 176.4375,
|
| 71 |
"epoch": 2.9411764705882355,
|
| 72 |
+
"grad_norm": 4.168956279754639,
|
| 73 |
+
"kl": 0.013514292348794754,
|
| 74 |
"learning_rate": 1.2500000000000005e-07,
|
| 75 |
"loss": 0.0,
|
| 76 |
+
"reward": 4.976661458611488,
|
| 77 |
+
"reward_std": 0.6709597383742221,
|
| 78 |
+
"rewards/concensus_correctness_reward_func": 1.744000006467104,
|
| 79 |
+
"rewards/consensus_reward_func": 1.75,
|
| 80 |
"rewards/cumulative_reward_2": 0.0,
|
| 81 |
"rewards/final_correctness_reward_func": 0.1875,
|
| 82 |
+
"rewards/question_recreation_reward_func": 0.5853802386845928,
|
| 83 |
"rewards/soft_format_reward_func": 0.0,
|
| 84 |
"rewards/strict_format_reward_func": 0.0,
|
| 85 |
+
"rewards/xmlcount_reward_func": 0.7097812443971634,
|
| 86 |
"step": 8
|
| 87 |
},
|
| 88 |
{
|
| 89 |
+
"completion_length": 172.27777777777777,
|
| 90 |
"epoch": 3.4705882352941178,
|
| 91 |
+
"grad_norm": 3.3155717849731445,
|
| 92 |
+
"kl": 0.009662579020692242,
|
| 93 |
"learning_rate": 1.507684480352292e-08,
|
| 94 |
"loss": 0.0,
|
| 95 |
+
"reward": 4.899910635418362,
|
| 96 |
+
"reward_std": 0.7352103400561545,
|
| 97 |
+
"rewards/concensus_correctness_reward_func": 1.716666665342119,
|
| 98 |
+
"rewards/consensus_reward_func": 1.5555555555555556,
|
| 99 |
"rewards/cumulative_reward_2": 0.0,
|
| 100 |
+
"rewards/final_correctness_reward_func": 0.4444444444444444,
|
| 101 |
+
"rewards/question_recreation_reward_func": 0.627355147101399,
|
| 102 |
"rewards/soft_format_reward_func": 0.0,
|
| 103 |
"rewards/strict_format_reward_func": 0.0,
|
| 104 |
+
"rewards/xmlcount_reward_func": 0.555888894531462,
|
| 105 |
"step": 10
|
| 106 |
},
|
| 107 |
{
|
| 108 |
"epoch": 3.4705882352941178,
|
| 109 |
"step": 10,
|
| 110 |
"total_flos": 0.0,
|
| 111 |
+
"train_loss": 6.484796722361353e-06,
|
| 112 |
+
"train_runtime": 7898.169,
|
| 113 |
+
"train_samples_per_second": 0.02,
|
| 114 |
"train_steps_per_second": 0.001
|
| 115 |
}
|
| 116 |
],
|