Text Generation
Transformers
Safetensors
qwen2
Generated from Trainer
rl-verify
conversational
text-generation-inference
Instructions to use RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness") 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("RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness") model = AutoModelForCausalLM.from_pretrained("RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness", 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 RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness
- SGLang
How to use RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness 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 "RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness" \ --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": "RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness", "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 "RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness" \ --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": "RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness with Docker Model Runner:
docker model run hf.co/RyanFan/Qwen2-1.5B-Instruct-RLCR-pmdata-readiness
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +67 -0
- added_tokens.json +5 -0
- chat_template.jinja +6 -0
- config.json +58 -0
- generation_config.json +13 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +20 -0
- tokenizer.json +3 -0
- tokenizer_config.json +44 -0
- trainer_state.json +225 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2-1.5B-Instruct
|
| 3 |
+
datasets: RyanFan/PMData-readiness-raw-update
|
| 4 |
+
library_name: transformers
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
- rl-verify
|
| 8 |
+
licence: license
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Model Card for None
|
| 12 |
+
|
| 13 |
+
This model is a fine-tuned version of [Qwen/Qwen2-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2-1.5B-Instruct) on the [RyanFan/PMData-readiness-raw-update](https://huggingface.co/datasets/RyanFan/PMData-readiness-raw-update) dataset.
|
| 14 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 15 |
+
|
| 16 |
+
## Quick start
|
| 17 |
+
|
| 18 |
+
```python
|
| 19 |
+
from transformers import pipeline
|
| 20 |
+
|
| 21 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 22 |
+
generator = pipeline("text-generation", model="None", device="cuda")
|
| 23 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 24 |
+
print(output["generated_text"])
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
## Training procedure
|
| 28 |
+
|
| 29 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/ryanzhang123-the-university-of-auckland/RLCR/runs/i44bgsik)
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://huggingface.co/papers/2402.03300).
|
| 33 |
+
|
| 34 |
+
### Framework versions
|
| 35 |
+
|
| 36 |
+
- TRL: 0.16.0.dev0
|
| 37 |
+
- Transformers: 4.57.6
|
| 38 |
+
- Pytorch: 2.5.1
|
| 39 |
+
- Datasets: 4.0.0
|
| 40 |
+
- Tokenizers: 0.22.2
|
| 41 |
+
|
| 42 |
+
## Citations
|
| 43 |
+
|
| 44 |
+
Cite GRPO as:
|
| 45 |
+
|
| 46 |
+
```bibtex
|
| 47 |
+
@article{zhihong2024deepseekmath,
|
| 48 |
+
title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
|
| 49 |
+
author = {Zhihong Shao and Peiyi Wang and Qihao Zhu and Runxin Xu and Junxiao Song and Mingchuan Zhang and Y. K. Li and Y. Wu and Daya Guo},
|
| 50 |
+
year = 2024,
|
| 51 |
+
eprint = {arXiv:2402.03300},
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
Cite TRL as:
|
| 57 |
+
|
| 58 |
+
```bibtex
|
| 59 |
+
@misc{vonwerra2022trl,
|
| 60 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
| 61 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
|
| 62 |
+
year = 2020,
|
| 63 |
+
journal = {GitHub repository},
|
| 64 |
+
publisher = {GitHub},
|
| 65 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
| 66 |
+
}
|
| 67 |
+
```
|
added_tokens.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<|endoftext|>": 151643,
|
| 3 |
+
"<|im_end|>": 151645,
|
| 4 |
+
"<|im_start|>": 151644
|
| 5 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system
|
| 2 |
+
You are a helpful assistant.<|im_end|>
|
| 3 |
+
' }}{% endif %}{{'<|im_start|>' + message['role'] + '
|
| 4 |
+
' + message['content'] + '<|im_end|>' + '
|
| 5 |
+
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 6 |
+
' }}{% endif %}
|
config.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"dtype": "bfloat16",
|
| 7 |
+
"eos_token_id": 151645,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 1536,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 8960,
|
| 12 |
+
"layer_types": [
|
| 13 |
+
"full_attention",
|
| 14 |
+
"full_attention",
|
| 15 |
+
"full_attention",
|
| 16 |
+
"full_attention",
|
| 17 |
+
"full_attention",
|
| 18 |
+
"full_attention",
|
| 19 |
+
"full_attention",
|
| 20 |
+
"full_attention",
|
| 21 |
+
"full_attention",
|
| 22 |
+
"full_attention",
|
| 23 |
+
"full_attention",
|
| 24 |
+
"full_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"full_attention",
|
| 27 |
+
"full_attention",
|
| 28 |
+
"full_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"full_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"full_attention"
|
| 41 |
+
],
|
| 42 |
+
"max_position_embeddings": 32768,
|
| 43 |
+
"max_window_layers": 28,
|
| 44 |
+
"model_type": "qwen2",
|
| 45 |
+
"num_attention_heads": 12,
|
| 46 |
+
"num_hidden_layers": 28,
|
| 47 |
+
"num_key_value_heads": 2,
|
| 48 |
+
"pad_token_id": 151643,
|
| 49 |
+
"rms_norm_eps": 1e-06,
|
| 50 |
+
"rope_scaling": null,
|
| 51 |
+
"rope_theta": 1000000.0,
|
| 52 |
+
"sliding_window": null,
|
| 53 |
+
"tie_word_embeddings": true,
|
| 54 |
+
"transformers_version": "4.57.6",
|
| 55 |
+
"use_cache": false,
|
| 56 |
+
"use_sliding_window": false,
|
| 57 |
+
"vocab_size": 151936
|
| 58 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_sample": true,
|
| 3 |
+
"eos_token_id": [
|
| 4 |
+
151645,
|
| 5 |
+
151643
|
| 6 |
+
],
|
| 7 |
+
"pad_token_id": 151643,
|
| 8 |
+
"repetition_penalty": 1.1,
|
| 9 |
+
"temperature": 0.7,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p": 0.8,
|
| 12 |
+
"transformers_version": "4.57.6"
|
| 13 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:867039882f8213186957057f6806c1eb05fbc2099b9cee1b7a5ce30efb7749ba
|
| 3 |
+
size 2097152
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>"
|
| 5 |
+
],
|
| 6 |
+
"eos_token": {
|
| 7 |
+
"content": "<|im_end|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false
|
| 12 |
+
},
|
| 13 |
+
"pad_token": {
|
| 14 |
+
"content": "<|endoftext|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false
|
| 19 |
+
}
|
| 20 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7c852534ad33d333aa478034d64cd37cb14da033a24674c4b2518300f488efa
|
| 3 |
+
size 11418433
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"151643": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"151644": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"151645": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"additional_special_tokens": [
|
| 30 |
+
"<|im_start|>",
|
| 31 |
+
"<|im_end|>"
|
| 32 |
+
],
|
| 33 |
+
"bos_token": null,
|
| 34 |
+
"clean_up_tokenization_spaces": false,
|
| 35 |
+
"eos_token": "<|im_end|>",
|
| 36 |
+
"errors": "replace",
|
| 37 |
+
"extra_special_tokens": {},
|
| 38 |
+
"model_max_length": 32768,
|
| 39 |
+
"pad_token": "<|endoftext|>",
|
| 40 |
+
"padding_side": "left",
|
| 41 |
+
"split_special_tokens": false,
|
| 42 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 43 |
+
"unk_token": null
|
| 44 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 0.9855072463768116,
|
| 6 |
+
"eval_steps": 50,
|
| 7 |
+
"global_step": 34,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"clip_ratio/high_max": 0.0,
|
| 14 |
+
"clip_ratio/high_mean": 0.0,
|
| 15 |
+
"clip_ratio/low_mean": 0.0,
|
| 16 |
+
"clip_ratio/low_min": 0.0,
|
| 17 |
+
"clip_ratio/region_mean": 0.0,
|
| 18 |
+
"completions/clipped_ratio": 0.009375,
|
| 19 |
+
"completions/max_length": 1421.6,
|
| 20 |
+
"completions/max_terminated_length": 1060.8,
|
| 21 |
+
"completions/mean_length": 251.61875,
|
| 22 |
+
"completions/mean_terminated_length": 239.34337158203124,
|
| 23 |
+
"completions/min_length": 79.4,
|
| 24 |
+
"completions/min_terminated_length": 79.4,
|
| 25 |
+
"epoch": 0.14492753623188406,
|
| 26 |
+
"grad_norm": 0.42041119933128357,
|
| 27 |
+
"learning_rate": 1e-06,
|
| 28 |
+
"loss": 0.0214,
|
| 29 |
+
"num_tokens": 708324.0,
|
| 30 |
+
"reward": 0.6069940328598022,
|
| 31 |
+
"reward_std": 0.2593126893043518,
|
| 32 |
+
"rewards/accuracy_reward": 0.0390625,
|
| 33 |
+
"rewards/brier_reward": 0.31242387294769286,
|
| 34 |
+
"rewards/confidence_one_or_zero": 0.1171875,
|
| 35 |
+
"rewards/format_reward": 0.8625,
|
| 36 |
+
"rewards/mean_confidence_reward": 0.721567976474762,
|
| 37 |
+
"step": 5
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"clip_ratio/high_max": 0.0,
|
| 41 |
+
"clip_ratio/high_mean": 0.0,
|
| 42 |
+
"clip_ratio/low_mean": 0.0,
|
| 43 |
+
"clip_ratio/low_min": 0.0,
|
| 44 |
+
"clip_ratio/region_mean": 0.0,
|
| 45 |
+
"completions/clipped_ratio": 0.0171875,
|
| 46 |
+
"completions/max_length": 1386.4,
|
| 47 |
+
"completions/max_terminated_length": 1058.6,
|
| 48 |
+
"completions/mean_length": 247.63125,
|
| 49 |
+
"completions/mean_terminated_length": 225.28215637207032,
|
| 50 |
+
"completions/min_length": 71.0,
|
| 51 |
+
"completions/min_terminated_length": 71.0,
|
| 52 |
+
"epoch": 0.2898550724637681,
|
| 53 |
+
"grad_norm": 0.36987483501434326,
|
| 54 |
+
"learning_rate": 1e-06,
|
| 55 |
+
"loss": 0.0255,
|
| 56 |
+
"num_tokens": 1434540.0,
|
| 57 |
+
"reward": 0.6972500443458557,
|
| 58 |
+
"reward_std": 0.2571786344051361,
|
| 59 |
+
"rewards/accuracy_reward": 0.0875,
|
| 60 |
+
"rewards/brier_reward": 0.383560973405838,
|
| 61 |
+
"rewards/confidence_one_or_zero": 0.0953125,
|
| 62 |
+
"rewards/format_reward": 0.9234375,
|
| 63 |
+
"rewards/mean_confidence_reward": 0.7222430467605591,
|
| 64 |
+
"step": 10
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"clip_ratio/high_max": 0.0,
|
| 68 |
+
"clip_ratio/high_mean": 0.0,
|
| 69 |
+
"clip_ratio/low_mean": 0.0,
|
| 70 |
+
"clip_ratio/low_min": 0.0,
|
| 71 |
+
"clip_ratio/region_mean": 0.0,
|
| 72 |
+
"completions/clipped_ratio": 0.009375,
|
| 73 |
+
"completions/max_length": 1118.2,
|
| 74 |
+
"completions/max_terminated_length": 599.6,
|
| 75 |
+
"completions/mean_length": 194.978125,
|
| 76 |
+
"completions/mean_terminated_length": 182.34744262695312,
|
| 77 |
+
"completions/min_length": 67.0,
|
| 78 |
+
"completions/min_terminated_length": 67.0,
|
| 79 |
+
"epoch": 0.43478260869565216,
|
| 80 |
+
"grad_norm": 0.4234364330768585,
|
| 81 |
+
"learning_rate": 1e-06,
|
| 82 |
+
"loss": 0.0102,
|
| 83 |
+
"num_tokens": 2107210.0,
|
| 84 |
+
"reward": 0.7554357528686524,
|
| 85 |
+
"reward_std": 0.21138001680374147,
|
| 86 |
+
"rewards/accuracy_reward": 0.0828125,
|
| 87 |
+
"rewards/brier_reward": 0.4499324679374695,
|
| 88 |
+
"rewards/confidence_one_or_zero": 0.0921875,
|
| 89 |
+
"rewards/format_reward": 0.978125,
|
| 90 |
+
"rewards/mean_confidence_reward": 0.6967766165733338,
|
| 91 |
+
"step": 15
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"clip_ratio/high_max": 0.0,
|
| 95 |
+
"clip_ratio/high_mean": 0.0,
|
| 96 |
+
"clip_ratio/low_mean": 0.0,
|
| 97 |
+
"clip_ratio/low_min": 0.0,
|
| 98 |
+
"clip_ratio/region_mean": 0.0,
|
| 99 |
+
"completions/clipped_ratio": 0.003125,
|
| 100 |
+
"completions/max_length": 1042.4,
|
| 101 |
+
"completions/max_terminated_length": 569.6,
|
| 102 |
+
"completions/mean_length": 167.0515625,
|
| 103 |
+
"completions/mean_terminated_length": 162.76224060058593,
|
| 104 |
+
"completions/min_length": 63.8,
|
| 105 |
+
"completions/min_terminated_length": 63.8,
|
| 106 |
+
"epoch": 0.5797101449275363,
|
| 107 |
+
"grad_norm": 0.46815362572669983,
|
| 108 |
+
"learning_rate": 1e-06,
|
| 109 |
+
"loss": 0.0123,
|
| 110 |
+
"num_tokens": 2777563.0,
|
| 111 |
+
"reward": 0.8507023096084595,
|
| 112 |
+
"reward_std": 0.22829608023166656,
|
| 113 |
+
"rewards/accuracy_reward": 0.1375,
|
| 114 |
+
"rewards/brier_reward": 0.5732782363891602,
|
| 115 |
+
"rewards/confidence_one_or_zero": 0.078125,
|
| 116 |
+
"rewards/format_reward": 0.990625,
|
| 117 |
+
"rewards/mean_confidence_reward": 0.616986072063446,
|
| 118 |
+
"step": 20
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"clip_ratio/high_max": 0.0,
|
| 122 |
+
"clip_ratio/high_mean": 0.0,
|
| 123 |
+
"clip_ratio/low_mean": 0.0,
|
| 124 |
+
"clip_ratio/low_min": 0.0,
|
| 125 |
+
"clip_ratio/region_mean": 0.0,
|
| 126 |
+
"completions/clipped_ratio": 0.00625,
|
| 127 |
+
"completions/max_length": 1114.8,
|
| 128 |
+
"completions/max_terminated_length": 488.8,
|
| 129 |
+
"completions/mean_length": 158.7921875,
|
| 130 |
+
"completions/mean_terminated_length": 150.14754943847657,
|
| 131 |
+
"completions/min_length": 58.2,
|
| 132 |
+
"completions/min_terminated_length": 58.2,
|
| 133 |
+
"epoch": 0.7246376811594203,
|
| 134 |
+
"grad_norm": 0.33041155338287354,
|
| 135 |
+
"learning_rate": 1e-06,
|
| 136 |
+
"loss": 0.0136,
|
| 137 |
+
"num_tokens": 3419758.0,
|
| 138 |
+
"reward": 0.8955987334251404,
|
| 139 |
+
"reward_std": 0.19381383955478668,
|
| 140 |
+
"rewards/accuracy_reward": 0.128125,
|
| 141 |
+
"rewards/brier_reward": 0.6771338224411011,
|
| 142 |
+
"rewards/confidence_one_or_zero": 0.0953125,
|
| 143 |
+
"rewards/format_reward": 0.9859375,
|
| 144 |
+
"rewards/mean_confidence_reward": 0.4792247414588928,
|
| 145 |
+
"step": 25
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"clip_ratio/high_max": 0.0,
|
| 149 |
+
"clip_ratio/high_mean": 0.0,
|
| 150 |
+
"clip_ratio/low_mean": 0.0,
|
| 151 |
+
"clip_ratio/low_min": 0.0,
|
| 152 |
+
"clip_ratio/region_mean": 0.0,
|
| 153 |
+
"completions/clipped_ratio": 0.0,
|
| 154 |
+
"completions/max_length": 318.2,
|
| 155 |
+
"completions/max_terminated_length": 318.2,
|
| 156 |
+
"completions/mean_length": 124.6,
|
| 157 |
+
"completions/mean_terminated_length": 124.6,
|
| 158 |
+
"completions/min_length": 51.4,
|
| 159 |
+
"completions/min_terminated_length": 51.4,
|
| 160 |
+
"epoch": 0.8695652173913043,
|
| 161 |
+
"grad_norm": 0.22344355285167694,
|
| 162 |
+
"learning_rate": 1e-06,
|
| 163 |
+
"loss": 0.0017,
|
| 164 |
+
"num_tokens": 4041286.0,
|
| 165 |
+
"reward": 0.9700731754302978,
|
| 166 |
+
"reward_std": 0.11841013431549072,
|
| 167 |
+
"rewards/accuracy_reward": 0.128125,
|
| 168 |
+
"rewards/brier_reward": 0.8135828733444214,
|
| 169 |
+
"rewards/confidence_one_or_zero": 0.209375,
|
| 170 |
+
"rewards/format_reward": 0.9984375,
|
| 171 |
+
"rewards/mean_confidence_reward": 0.2868975430727005,
|
| 172 |
+
"step": 30
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"clip_ratio/high_max": 0.0,
|
| 176 |
+
"clip_ratio/high_mean": 0.0,
|
| 177 |
+
"clip_ratio/low_mean": 0.0,
|
| 178 |
+
"clip_ratio/low_min": 0.0,
|
| 179 |
+
"clip_ratio/region_mean": 0.0,
|
| 180 |
+
"completions/clipped_ratio": 0.0,
|
| 181 |
+
"completions/max_length": 342.25,
|
| 182 |
+
"completions/max_terminated_length": 342.25,
|
| 183 |
+
"completions/mean_length": 104.64101600646973,
|
| 184 |
+
"completions/mean_terminated_length": 104.64101600646973,
|
| 185 |
+
"completions/min_length": 47.0,
|
| 186 |
+
"completions/min_terminated_length": 47.0,
|
| 187 |
+
"epoch": 0.9855072463768116,
|
| 188 |
+
"num_tokens": 4536704.0,
|
| 189 |
+
"reward": 0.9970973432064056,
|
| 190 |
+
"reward_std": 0.06293923873454332,
|
| 191 |
+
"rewards/accuracy_reward": 0.12109375,
|
| 192 |
+
"rewards/brier_reward": 0.8730999976396561,
|
| 193 |
+
"rewards/confidence_one_or_zero": 0.306640625,
|
| 194 |
+
"rewards/format_reward": 1.0,
|
| 195 |
+
"rewards/mean_confidence_reward": 0.1555468812584877,
|
| 196 |
+
"step": 34,
|
| 197 |
+
"total_flos": 0.0,
|
| 198 |
+
"train_loss": 0.012820063487571828,
|
| 199 |
+
"train_runtime": 632.9133,
|
| 200 |
+
"train_samples_per_second": 1.744,
|
| 201 |
+
"train_steps_per_second": 0.055
|
| 202 |
+
}
|
| 203 |
+
],
|
| 204 |
+
"logging_steps": 5,
|
| 205 |
+
"max_steps": 35,
|
| 206 |
+
"num_input_tokens_seen": 4536704,
|
| 207 |
+
"num_train_epochs": 1,
|
| 208 |
+
"save_steps": 40,
|
| 209 |
+
"stateful_callbacks": {
|
| 210 |
+
"TrainerControl": {
|
| 211 |
+
"args": {
|
| 212 |
+
"should_epoch_stop": false,
|
| 213 |
+
"should_evaluate": false,
|
| 214 |
+
"should_log": false,
|
| 215 |
+
"should_save": false,
|
| 216 |
+
"should_training_stop": false
|
| 217 |
+
},
|
| 218 |
+
"attributes": {}
|
| 219 |
+
}
|
| 220 |
+
},
|
| 221 |
+
"total_flos": 0.0,
|
| 222 |
+
"train_batch_size": 4,
|
| 223 |
+
"trial_name": null,
|
| 224 |
+
"trial_params": null
|
| 225 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc056d1bec36d62fee133165b27a4db6078148570bde87c754335bb403236e82
|
| 3 |
+
size 8184
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|