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 +4 -4
- model.safetensors +1 -1
- train_results.json +4 -4
- trainer_state.json +53 -53
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.
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"total_flos": 0.0,
|
| 3 |
+
"train_loss": -1.3914855571783847e-06,
|
| 4 |
+
"train_runtime": 43797.0716,
|
| 5 |
"train_samples": 17,
|
| 6 |
+
"train_samples_per_second": 0.004,
|
| 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:f241a0158404edc263a49bcbea7a6a67788ed955dccc8771f3f2ec9ef213ee15
|
| 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.
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"total_flos": 0.0,
|
| 3 |
+
"train_loss": -1.3914855571783847e-06,
|
| 4 |
+
"train_runtime": 43797.0716,
|
| 5 |
"train_samples": 17,
|
| 6 |
+
"train_samples_per_second": 0.004,
|
| 7 |
+
"train_steps_per_second": 0.0
|
| 8 |
}
|
trainer_state.json
CHANGED
|
@@ -10,108 +10,108 @@
|
|
| 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":
|
| 21 |
-
"rewards/concensus_correctness_reward_func": 1.
|
| 22 |
-
"rewards/consensus_reward_func":
|
| 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":
|
| 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":
|
| 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": 150.
|
| 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.
|
| 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": 5.
|
| 96 |
-
"reward_std": 0.
|
| 97 |
-
"rewards/concensus_correctness_reward_func":
|
| 98 |
"rewards/consensus_reward_func": 1.8888888888888888,
|
| 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.
|
| 115 |
}
|
| 116 |
],
|
| 117 |
"logging_steps": 2,
|
|
|
|
| 10 |
"is_world_process_zero": true,
|
| 11 |
"log_history": [
|
| 12 |
{
|
| 13 |
+
"completion_length": 139.875,
|
| 14 |
"epoch": 0.9411764705882353,
|
| 15 |
+
"grad_norm": 4.979712963104248,
|
| 16 |
"kl": 0.0,
|
| 17 |
"learning_rate": 5e-07,
|
| 18 |
+
"loss": -0.0,
|
| 19 |
+
"reward": 5.3630940318107605,
|
| 20 |
+
"reward_std": 0.29453864210518077,
|
| 21 |
+
"rewards/concensus_correctness_reward_func": 1.9222499951720238,
|
| 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.6399065174628049,
|
| 26 |
"rewards/soft_format_reward_func": 0.0,
|
| 27 |
"rewards/strict_format_reward_func": 0.0,
|
| 28 |
+
"rewards/xmlcount_reward_func": 0.8009375054389238,
|
| 29 |
"step": 2
|
| 30 |
},
|
| 31 |
{
|
| 32 |
+
"completion_length": 154.61111111111111,
|
| 33 |
"epoch": 1.4705882352941178,
|
| 34 |
+
"grad_norm": 3.9119784832000732,
|
| 35 |
+
"kl": 0.002602492578767447,
|
| 36 |
"learning_rate": 4.415111107797445e-07,
|
| 37 |
"loss": 0.0,
|
| 38 |
+
"reward": 5.235772291819255,
|
| 39 |
+
"reward_std": 0.3088032528758049,
|
| 40 |
+
"rewards/concensus_correctness_reward_func": 1.9226666688919067,
|
| 41 |
+
"rewards/consensus_reward_func": 2.0,
|
| 42 |
"rewards/cumulative_reward_2": 0.0,
|
| 43 |
"rewards/final_correctness_reward_func": 0.0,
|
| 44 |
+
"rewards/question_recreation_reward_func": 0.6680501322779391,
|
| 45 |
"rewards/soft_format_reward_func": 0.0,
|
| 46 |
"rewards/strict_format_reward_func": 0.0,
|
| 47 |
+
"rewards/xmlcount_reward_func": 0.6450555622577667,
|
| 48 |
"step": 4
|
| 49 |
},
|
| 50 |
{
|
| 51 |
+
"completion_length": 136.72222222222223,
|
| 52 |
"epoch": 2.0,
|
| 53 |
+
"grad_norm": 1.186556339263916,
|
| 54 |
+
"kl": 0.0031271634571668175,
|
| 55 |
"learning_rate": 2.934120444167326e-07,
|
| 56 |
"loss": 0.0,
|
| 57 |
+
"reward": 4.92654209666782,
|
| 58 |
+
"reward_std": 1.0357521097693179,
|
| 59 |
+
"rewards/concensus_correctness_reward_func": 1.7086666623751323,
|
| 60 |
+
"rewards/consensus_reward_func": 1.7777777777777777,
|
| 61 |
"rewards/cumulative_reward_2": 0.0,
|
| 62 |
+
"rewards/final_correctness_reward_func": 0.0,
|
| 63 |
+
"rewards/question_recreation_reward_func": 0.7045422361956702,
|
| 64 |
"rewards/soft_format_reward_func": 0.0,
|
| 65 |
"rewards/strict_format_reward_func": 0.0,
|
| 66 |
+
"rewards/xmlcount_reward_func": 0.7355555593967438,
|
| 67 |
"step": 6
|
| 68 |
},
|
| 69 |
{
|
| 70 |
+
"completion_length": 150.125,
|
| 71 |
"epoch": 2.9411764705882355,
|
| 72 |
+
"grad_norm": 4.3917131423950195,
|
| 73 |
+
"kl": 0.004761221003718674,
|
| 74 |
"learning_rate": 1.2500000000000005e-07,
|
| 75 |
"loss": 0.0,
|
| 76 |
+
"reward": 5.022066101431847,
|
| 77 |
+
"reward_std": 0.36739958892576396,
|
| 78 |
+
"rewards/concensus_correctness_reward_func": 1.742500003427267,
|
| 79 |
+
"rewards/consensus_reward_func": 1.8125,
|
| 80 |
"rewards/cumulative_reward_2": 0.0,
|
| 81 |
+
"rewards/final_correctness_reward_func": 0.0,
|
| 82 |
+
"rewards/question_recreation_reward_func": 0.7628786212299019,
|
| 83 |
"rewards/soft_format_reward_func": 0.0,
|
| 84 |
"rewards/strict_format_reward_func": 0.0,
|
| 85 |
+
"rewards/xmlcount_reward_func": 0.7041875012218952,
|
| 86 |
"step": 8
|
| 87 |
},
|
| 88 |
{
|
| 89 |
+
"completion_length": 113.55555555555556,
|
| 90 |
"epoch": 3.4705882352941178,
|
| 91 |
+
"grad_norm": 6.23798942565918,
|
| 92 |
+
"kl": 0.006778215006407764,
|
| 93 |
"learning_rate": 1.507684480352292e-08,
|
| 94 |
+
"loss": -0.0,
|
| 95 |
+
"reward": 5.04727045694987,
|
| 96 |
+
"reward_std": 0.6825670185175517,
|
| 97 |
+
"rewards/concensus_correctness_reward_func": 1.8151111006736755,
|
| 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.7469926795197858,
|
| 102 |
"rewards/soft_format_reward_func": 0.0,
|
| 103 |
"rewards/strict_format_reward_func": 0.0,
|
| 104 |
+
"rewards/xmlcount_reward_func": 0.596277783314387,
|
| 105 |
"step": 10
|
| 106 |
},
|
| 107 |
{
|
| 108 |
"epoch": 3.4705882352941178,
|
| 109 |
"step": 10,
|
| 110 |
"total_flos": 0.0,
|
| 111 |
+
"train_loss": -1.3914855571783847e-06,
|
| 112 |
+
"train_runtime": 43797.0716,
|
| 113 |
+
"train_samples_per_second": 0.004,
|
| 114 |
+
"train_steps_per_second": 0.0
|
| 115 |
}
|
| 116 |
],
|
| 117 |
"logging_steps": 2,
|