Instructions to use ram-lexsi/agenttune-testrun-service with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ram-lexsi/agenttune-testrun-service with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ram-lexsi/agenttune-testrun-service", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- README.md +71 -0
- adapter_config.json +45 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +6 -0
- checkpoint-10/README.md +209 -0
- checkpoint-10/adapter_config.json +45 -0
- checkpoint-10/adapter_model.safetensors +3 -0
- checkpoint-10/chat_template.jinja +6 -0
- checkpoint-10/optimizer.pt +3 -0
- checkpoint-10/rng_state.pth +3 -0
- checkpoint-10/scheduler.pt +3 -0
- checkpoint-10/tokenizer.json +0 -0
- checkpoint-10/tokenizer_config.json +21 -0
- checkpoint-10/trainer_state.json +314 -0
- checkpoint-10/training_args.bin +3 -0
- completions/completions_00001.parquet +3 -0
- completions/completions_00002.parquet +3 -0
- completions/completions_00003.parquet +3 -0
- completions/completions_00004.parquet +3 -0
- completions/completions_00005.parquet +3 -0
- completions/completions_00006.parquet +3 -0
- completions/completions_00007.parquet +3 -0
- completions/completions_00008.parquet +3 -0
- completions/completions_00009.parquet +3 -0
- completions/completions_00010.parquet +3 -0
- grpo_training_config.yaml +189 -0
- tokenizer.json +0 -0
- tokenizer_config.json +21 -0
- training_args.bin +3 -0
- training_stats.json +74 -0
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: HuggingFaceTB/SmolLM2-360M-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
model_name: out_service
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:HuggingFaceTB/SmolLM2-360M-Instruct
|
| 7 |
+
- grpo
|
| 8 |
+
- lora
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
licence: license
|
| 12 |
+
pipeline_tag: text-generation
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Model Card for out_service
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [HuggingFaceTB/SmolLM2-360M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-360M-Instruct).
|
| 18 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 19 |
+
|
| 20 |
+
## Quick start
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
from transformers import pipeline
|
| 24 |
+
|
| 25 |
+
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?"
|
| 26 |
+
generator = pipeline("text-generation", model="None", device="cuda")
|
| 27 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 28 |
+
print(output["generated_text"])
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## Training procedure
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
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).
|
| 38 |
+
|
| 39 |
+
### Framework versions
|
| 40 |
+
|
| 41 |
+
- PEFT 0.20.0
|
| 42 |
+
- TRL: 1.7.1
|
| 43 |
+
- Transformers: 5.16.1
|
| 44 |
+
- Pytorch: 2.11.0+cu128
|
| 45 |
+
- Datasets: 5.0.1
|
| 46 |
+
- Tokenizers: 0.23.1
|
| 47 |
+
|
| 48 |
+
## Citations
|
| 49 |
+
|
| 50 |
+
Cite GRPO as:
|
| 51 |
+
|
| 52 |
+
```bibtex
|
| 53 |
+
@article{shao2024deepseekmath,
|
| 54 |
+
title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
|
| 55 |
+
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},
|
| 56 |
+
year = 2024,
|
| 57 |
+
eprint = {arXiv:2402.03300},
|
| 58 |
+
}
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
Cite TRL as:
|
| 62 |
+
|
| 63 |
+
```bibtex
|
| 64 |
+
@software{vonwerra2020trl,
|
| 65 |
+
title = {{TRL: Transformers Reinforcement Learning}},
|
| 66 |
+
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
|
| 67 |
+
license = {Apache-2.0},
|
| 68 |
+
url = {https://github.com/huggingface/trl},
|
| 69 |
+
year = {2020}
|
| 70 |
+
}
|
| 71 |
+
```
|
adapter_config.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "HuggingFaceTB/SmolLM2-360M-Instruct",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 16,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.0,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"monteclora_config": null,
|
| 27 |
+
"peft_type": "LORA",
|
| 28 |
+
"peft_version": "0.20.0",
|
| 29 |
+
"qalora_group_size": 16,
|
| 30 |
+
"r": 8,
|
| 31 |
+
"rank_pattern": {},
|
| 32 |
+
"revision": null,
|
| 33 |
+
"target_modules": [
|
| 34 |
+
"q_proj",
|
| 35 |
+
"v_proj"
|
| 36 |
+
],
|
| 37 |
+
"target_parameters": null,
|
| 38 |
+
"task_type": "CAUSAL_LM",
|
| 39 |
+
"trainable_token_indices": null,
|
| 40 |
+
"use_bdlora": null,
|
| 41 |
+
"use_dora": false,
|
| 42 |
+
"use_qalora": false,
|
| 43 |
+
"use_rslora": false,
|
| 44 |
+
"velora_config": null
|
| 45 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05938055843714b9026e880ebcd9c1d175fc506f4b9a5ff65b0a8be41f39c612
|
| 3 |
+
size 3293480
|
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 AI assistant named SmolLM, trained by Hugging Face<|im_end|>
|
| 3 |
+
' }}{% endif %}{{'<|im_start|>' + message['role'] + '
|
| 4 |
+
' + message['content'] + '<|im_end|>' + '
|
| 5 |
+
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 6 |
+
' }}{% endif %}
|
checkpoint-10/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: HuggingFaceTB/SmolLM2-360M-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:HuggingFaceTB/SmolLM2-360M-Instruct
|
| 7 |
+
- grpo
|
| 8 |
+
- lora
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Model Card for Model ID
|
| 14 |
+
|
| 15 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
## Model Details
|
| 20 |
+
|
| 21 |
+
### Model Description
|
| 22 |
+
|
| 23 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
- **Developed by:** [More Information Needed]
|
| 28 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 29 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 30 |
+
- **Model type:** [More Information Needed]
|
| 31 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 32 |
+
- **License:** [More Information Needed]
|
| 33 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 34 |
+
|
| 35 |
+
### Model Sources [optional]
|
| 36 |
+
|
| 37 |
+
<!-- Provide the basic links for the model. -->
|
| 38 |
+
|
| 39 |
+
- **Repository:** [More Information Needed]
|
| 40 |
+
- **Paper [optional]:** [More Information Needed]
|
| 41 |
+
- **Demo [optional]:** [More Information Needed]
|
| 42 |
+
|
| 43 |
+
## Uses
|
| 44 |
+
|
| 45 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 46 |
+
|
| 47 |
+
### Direct Use
|
| 48 |
+
|
| 49 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 50 |
+
|
| 51 |
+
[More Information Needed]
|
| 52 |
+
|
| 53 |
+
### Downstream Use [optional]
|
| 54 |
+
|
| 55 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 56 |
+
|
| 57 |
+
[More Information Needed]
|
| 58 |
+
|
| 59 |
+
### Out-of-Scope Use
|
| 60 |
+
|
| 61 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 62 |
+
|
| 63 |
+
[More Information Needed]
|
| 64 |
+
|
| 65 |
+
## Bias, Risks, and Limitations
|
| 66 |
+
|
| 67 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 68 |
+
|
| 69 |
+
[More Information Needed]
|
| 70 |
+
|
| 71 |
+
### Recommendations
|
| 72 |
+
|
| 73 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 74 |
+
|
| 75 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 76 |
+
|
| 77 |
+
## How to Get Started with the Model
|
| 78 |
+
|
| 79 |
+
Use the code below to get started with the model.
|
| 80 |
+
|
| 81 |
+
[More Information Needed]
|
| 82 |
+
|
| 83 |
+
## Training Details
|
| 84 |
+
|
| 85 |
+
### Training Data
|
| 86 |
+
|
| 87 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 88 |
+
|
| 89 |
+
[More Information Needed]
|
| 90 |
+
|
| 91 |
+
### Training Procedure
|
| 92 |
+
|
| 93 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 94 |
+
|
| 95 |
+
#### Preprocessing [optional]
|
| 96 |
+
|
| 97 |
+
[More Information Needed]
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
#### Training Hyperparameters
|
| 101 |
+
|
| 102 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 103 |
+
|
| 104 |
+
#### Speeds, Sizes, Times [optional]
|
| 105 |
+
|
| 106 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 107 |
+
|
| 108 |
+
[More Information Needed]
|
| 109 |
+
|
| 110 |
+
## Evaluation
|
| 111 |
+
|
| 112 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 113 |
+
|
| 114 |
+
### Testing Data, Factors & Metrics
|
| 115 |
+
|
| 116 |
+
#### Testing Data
|
| 117 |
+
|
| 118 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 119 |
+
|
| 120 |
+
[More Information Needed]
|
| 121 |
+
|
| 122 |
+
#### Factors
|
| 123 |
+
|
| 124 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 125 |
+
|
| 126 |
+
[More Information Needed]
|
| 127 |
+
|
| 128 |
+
#### Metrics
|
| 129 |
+
|
| 130 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 131 |
+
|
| 132 |
+
[More Information Needed]
|
| 133 |
+
|
| 134 |
+
### Results
|
| 135 |
+
|
| 136 |
+
[More Information Needed]
|
| 137 |
+
|
| 138 |
+
#### Summary
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
## Model Examination [optional]
|
| 143 |
+
|
| 144 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 145 |
+
|
| 146 |
+
[More Information Needed]
|
| 147 |
+
|
| 148 |
+
## Environmental Impact
|
| 149 |
+
|
| 150 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 151 |
+
|
| 152 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 153 |
+
|
| 154 |
+
- **Hardware Type:** [More Information Needed]
|
| 155 |
+
- **Hours used:** [More Information Needed]
|
| 156 |
+
- **Cloud Provider:** [More Information Needed]
|
| 157 |
+
- **Compute Region:** [More Information Needed]
|
| 158 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 159 |
+
|
| 160 |
+
## Technical Specifications [optional]
|
| 161 |
+
|
| 162 |
+
### Model Architecture and Objective
|
| 163 |
+
|
| 164 |
+
[More Information Needed]
|
| 165 |
+
|
| 166 |
+
### Compute Infrastructure
|
| 167 |
+
|
| 168 |
+
[More Information Needed]
|
| 169 |
+
|
| 170 |
+
#### Hardware
|
| 171 |
+
|
| 172 |
+
[More Information Needed]
|
| 173 |
+
|
| 174 |
+
#### Software
|
| 175 |
+
|
| 176 |
+
[More Information Needed]
|
| 177 |
+
|
| 178 |
+
## Citation [optional]
|
| 179 |
+
|
| 180 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 181 |
+
|
| 182 |
+
**BibTeX:**
|
| 183 |
+
|
| 184 |
+
[More Information Needed]
|
| 185 |
+
|
| 186 |
+
**APA:**
|
| 187 |
+
|
| 188 |
+
[More Information Needed]
|
| 189 |
+
|
| 190 |
+
## Glossary [optional]
|
| 191 |
+
|
| 192 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 193 |
+
|
| 194 |
+
[More Information Needed]
|
| 195 |
+
|
| 196 |
+
## More Information [optional]
|
| 197 |
+
|
| 198 |
+
[More Information Needed]
|
| 199 |
+
|
| 200 |
+
## Model Card Authors [optional]
|
| 201 |
+
|
| 202 |
+
[More Information Needed]
|
| 203 |
+
|
| 204 |
+
## Model Card Contact
|
| 205 |
+
|
| 206 |
+
[More Information Needed]
|
| 207 |
+
### Framework versions
|
| 208 |
+
|
| 209 |
+
- PEFT 0.20.0
|
checkpoint-10/adapter_config.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "HuggingFaceTB/SmolLM2-360M-Instruct",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 16,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.0,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"monteclora_config": null,
|
| 27 |
+
"peft_type": "LORA",
|
| 28 |
+
"peft_version": "0.20.0",
|
| 29 |
+
"qalora_group_size": 16,
|
| 30 |
+
"r": 8,
|
| 31 |
+
"rank_pattern": {},
|
| 32 |
+
"revision": null,
|
| 33 |
+
"target_modules": [
|
| 34 |
+
"q_proj",
|
| 35 |
+
"v_proj"
|
| 36 |
+
],
|
| 37 |
+
"target_parameters": null,
|
| 38 |
+
"task_type": "CAUSAL_LM",
|
| 39 |
+
"trainable_token_indices": null,
|
| 40 |
+
"use_bdlora": null,
|
| 41 |
+
"use_dora": false,
|
| 42 |
+
"use_qalora": false,
|
| 43 |
+
"use_rslora": false,
|
| 44 |
+
"velora_config": null
|
| 45 |
+
}
|
checkpoint-10/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05938055843714b9026e880ebcd9c1d175fc506f4b9a5ff65b0a8be41f39c612
|
| 3 |
+
size 3293480
|
checkpoint-10/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 AI assistant named SmolLM, trained by Hugging Face<|im_end|>
|
| 3 |
+
' }}{% endif %}{{'<|im_start|>' + message['role'] + '
|
| 4 |
+
' + message['content'] + '<|im_end|>' + '
|
| 5 |
+
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 6 |
+
' }}{% endif %}
|
checkpoint-10/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88c106cd9524158452f45184c115b49d4538f0604c0e5186c01a653cb8cae9a6
|
| 3 |
+
size 6661707
|
checkpoint-10/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d12310942bd90c058cbaa44cda15db8833ee31575af6be4ea27f0f776fd53c1
|
| 3 |
+
size 14645
|
checkpoint-10/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a01e6bbfb4e1fc29ca245682298846327414ff90b1707f566b4aa35e7dd223fb
|
| 3 |
+
size 1465
|
checkpoint-10/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-10/tokenizer_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<|im_start|>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>"
|
| 11 |
+
],
|
| 12 |
+
"is_local": false,
|
| 13 |
+
"local_files_only": false,
|
| 14 |
+
"model_max_length": 8192,
|
| 15 |
+
"pad_token": "<|im_end|>",
|
| 16 |
+
"padding_side": "left",
|
| 17 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 18 |
+
"truncation_side": "left",
|
| 19 |
+
"unk_token": "<|endoftext|>",
|
| 20 |
+
"vocab_size": 49152
|
| 21 |
+
}
|
checkpoint-10/trainer_state.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 10,
|
| 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.125,
|
| 19 |
+
"completions/max_length": 256.0,
|
| 20 |
+
"completions/max_terminated_length": 180.0,
|
| 21 |
+
"completions/mean_length": 94.25,
|
| 22 |
+
"completions/mean_terminated_length": 71.14286041259766,
|
| 23 |
+
"completions/min_length": 2.0,
|
| 24 |
+
"completions/min_terminated_length": 2.0,
|
| 25 |
+
"entropy": 0.3075857311487198,
|
| 26 |
+
"epoch": 0.1,
|
| 27 |
+
"frac_reward_zero_std": 1.0,
|
| 28 |
+
"grad_norm": 0.0,
|
| 29 |
+
"kl": 0.0,
|
| 30 |
+
"learning_rate": 0.0,
|
| 31 |
+
"loss": 0.0,
|
| 32 |
+
"num_tokens": 3050.0,
|
| 33 |
+
"reward": 0.0,
|
| 34 |
+
"reward_std": 0.0,
|
| 35 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/mean": 0.0,
|
| 36 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/std": 0.0,
|
| 37 |
+
"step": 1,
|
| 38 |
+
"step_time": 41.581637612000065
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"clip_ratio/high_max": 0.0,
|
| 42 |
+
"clip_ratio/high_mean": 0.0,
|
| 43 |
+
"clip_ratio/low_mean": 0.0,
|
| 44 |
+
"clip_ratio/low_min": 0.0,
|
| 45 |
+
"clip_ratio/region_mean": 0.0,
|
| 46 |
+
"completions/clipped_ratio": 0.125,
|
| 47 |
+
"completions/max_length": 256.0,
|
| 48 |
+
"completions/max_terminated_length": 205.0,
|
| 49 |
+
"completions/mean_length": 120.0,
|
| 50 |
+
"completions/mean_terminated_length": 100.5714340209961,
|
| 51 |
+
"completions/min_length": 4.0,
|
| 52 |
+
"completions/min_terminated_length": 4.0,
|
| 53 |
+
"entropy": 0.25355836004018784,
|
| 54 |
+
"epoch": 0.2,
|
| 55 |
+
"frac_reward_zero_std": 1.0,
|
| 56 |
+
"grad_norm": 0.0,
|
| 57 |
+
"kl": 0.0,
|
| 58 |
+
"learning_rate": 1e-07,
|
| 59 |
+
"loss": 0.0,
|
| 60 |
+
"num_tokens": 6306.0,
|
| 61 |
+
"reward": 0.0,
|
| 62 |
+
"reward_std": 0.0,
|
| 63 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/mean": 0.0,
|
| 64 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/std": 0.0,
|
| 65 |
+
"step": 2,
|
| 66 |
+
"step_time": 51.69348765500001
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"clip_ratio/high_max": 0.0,
|
| 70 |
+
"clip_ratio/high_mean": 0.0,
|
| 71 |
+
"clip_ratio/low_mean": 0.0,
|
| 72 |
+
"clip_ratio/low_min": 0.0,
|
| 73 |
+
"clip_ratio/region_mean": 0.0,
|
| 74 |
+
"completions/clipped_ratio": 0.0,
|
| 75 |
+
"completions/max_length": 186.0,
|
| 76 |
+
"completions/max_terminated_length": 186.0,
|
| 77 |
+
"completions/mean_length": 82.0,
|
| 78 |
+
"completions/mean_terminated_length": 82.0,
|
| 79 |
+
"completions/min_length": 2.0,
|
| 80 |
+
"completions/min_terminated_length": 2.0,
|
| 81 |
+
"entropy": 0.3884241282939911,
|
| 82 |
+
"epoch": 0.3,
|
| 83 |
+
"frac_reward_zero_std": 1.0,
|
| 84 |
+
"grad_norm": 0.0,
|
| 85 |
+
"kl": 0.0,
|
| 86 |
+
"learning_rate": 2e-07,
|
| 87 |
+
"loss": 0.0,
|
| 88 |
+
"num_tokens": 9258.0,
|
| 89 |
+
"reward": 0.0,
|
| 90 |
+
"reward_std": 0.0,
|
| 91 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/mean": 0.0,
|
| 92 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/std": 0.0,
|
| 93 |
+
"step": 3,
|
| 94 |
+
"step_time": 36.16335127100007
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"clip_ratio/high_max": 0.0,
|
| 98 |
+
"clip_ratio/high_mean": 0.0,
|
| 99 |
+
"clip_ratio/low_mean": 0.0,
|
| 100 |
+
"clip_ratio/low_min": 0.0,
|
| 101 |
+
"clip_ratio/region_mean": 0.0,
|
| 102 |
+
"completions/clipped_ratio": 0.125,
|
| 103 |
+
"completions/max_length": 256.0,
|
| 104 |
+
"completions/max_terminated_length": 203.0,
|
| 105 |
+
"completions/mean_length": 115.625,
|
| 106 |
+
"completions/mean_terminated_length": 95.5714340209961,
|
| 107 |
+
"completions/min_length": 5.0,
|
| 108 |
+
"completions/min_terminated_length": 5.0,
|
| 109 |
+
"entropy": 0.13121516350656748,
|
| 110 |
+
"epoch": 0.4,
|
| 111 |
+
"frac_reward_zero_std": 1.0,
|
| 112 |
+
"grad_norm": 0.0,
|
| 113 |
+
"kl": 0.0,
|
| 114 |
+
"learning_rate": 3e-07,
|
| 115 |
+
"loss": 0.0,
|
| 116 |
+
"num_tokens": 12479.0,
|
| 117 |
+
"reward": 0.0,
|
| 118 |
+
"reward_std": 0.0,
|
| 119 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/mean": 0.0,
|
| 120 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/std": 0.0,
|
| 121 |
+
"step": 4,
|
| 122 |
+
"step_time": 49.55522970099992
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"clip_ratio/high_max": 0.0,
|
| 126 |
+
"clip_ratio/high_mean": 0.0,
|
| 127 |
+
"clip_ratio/low_mean": 0.0,
|
| 128 |
+
"clip_ratio/low_min": 0.0,
|
| 129 |
+
"clip_ratio/region_mean": 0.0,
|
| 130 |
+
"completions/clipped_ratio": 0.125,
|
| 131 |
+
"completions/max_length": 256.0,
|
| 132 |
+
"completions/max_terminated_length": 180.0,
|
| 133 |
+
"completions/mean_length": 90.5,
|
| 134 |
+
"completions/mean_terminated_length": 66.85714721679688,
|
| 135 |
+
"completions/min_length": 5.0,
|
| 136 |
+
"completions/min_terminated_length": 5.0,
|
| 137 |
+
"entropy": 0.19327800162136555,
|
| 138 |
+
"epoch": 0.5,
|
| 139 |
+
"frac_reward_zero_std": 1.0,
|
| 140 |
+
"grad_norm": 0.0,
|
| 141 |
+
"kl": 0.0,
|
| 142 |
+
"learning_rate": 4e-07,
|
| 143 |
+
"loss": 0.0,
|
| 144 |
+
"num_tokens": 15499.0,
|
| 145 |
+
"reward": 0.0,
|
| 146 |
+
"reward_std": 0.0,
|
| 147 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/mean": 0.0,
|
| 148 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/std": 0.0,
|
| 149 |
+
"step": 5,
|
| 150 |
+
"step_time": 40.31960088100004
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"clip_ratio/high_max": 0.0,
|
| 154 |
+
"clip_ratio/high_mean": 0.0,
|
| 155 |
+
"clip_ratio/low_mean": 0.0,
|
| 156 |
+
"clip_ratio/low_min": 0.0,
|
| 157 |
+
"clip_ratio/region_mean": 0.0,
|
| 158 |
+
"completions/clipped_ratio": 0.0,
|
| 159 |
+
"completions/max_length": 221.0,
|
| 160 |
+
"completions/max_terminated_length": 221.0,
|
| 161 |
+
"completions/mean_length": 132.0,
|
| 162 |
+
"completions/mean_terminated_length": 132.0,
|
| 163 |
+
"completions/min_length": 2.0,
|
| 164 |
+
"completions/min_terminated_length": 2.0,
|
| 165 |
+
"entropy": 0.2420871201902628,
|
| 166 |
+
"epoch": 0.6,
|
| 167 |
+
"frac_reward_zero_std": 1.0,
|
| 168 |
+
"grad_norm": 0.0,
|
| 169 |
+
"kl": 0.0,
|
| 170 |
+
"learning_rate": 5e-07,
|
| 171 |
+
"loss": 0.0,
|
| 172 |
+
"num_tokens": 18851.0,
|
| 173 |
+
"reward": 0.0,
|
| 174 |
+
"reward_std": 0.0,
|
| 175 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/mean": 0.0,
|
| 176 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/std": 0.0,
|
| 177 |
+
"step": 6,
|
| 178 |
+
"step_time": 56.56018305100008
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"clip_ratio/high_max": 0.0,
|
| 182 |
+
"clip_ratio/high_mean": 0.0,
|
| 183 |
+
"clip_ratio/low_mean": 0.0,
|
| 184 |
+
"clip_ratio/low_min": 0.0,
|
| 185 |
+
"clip_ratio/region_mean": 0.0,
|
| 186 |
+
"completions/clipped_ratio": 0.125,
|
| 187 |
+
"completions/max_length": 256.0,
|
| 188 |
+
"completions/max_terminated_length": 184.0,
|
| 189 |
+
"completions/mean_length": 140.25,
|
| 190 |
+
"completions/mean_terminated_length": 123.71429443359375,
|
| 191 |
+
"completions/min_length": 5.0,
|
| 192 |
+
"completions/min_terminated_length": 5.0,
|
| 193 |
+
"entropy": 0.13176818657666445,
|
| 194 |
+
"epoch": 0.7,
|
| 195 |
+
"frac_reward_zero_std": 1.0,
|
| 196 |
+
"grad_norm": 0.0,
|
| 197 |
+
"kl": 0.0,
|
| 198 |
+
"learning_rate": 6e-07,
|
| 199 |
+
"loss": 0.0,
|
| 200 |
+
"num_tokens": 22269.0,
|
| 201 |
+
"reward": 0.0,
|
| 202 |
+
"reward_std": 0.0,
|
| 203 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/mean": 0.0,
|
| 204 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/std": 0.0,
|
| 205 |
+
"step": 7,
|
| 206 |
+
"step_time": 60.42367654599991
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"clip_ratio/high_max": 0.0,
|
| 210 |
+
"clip_ratio/high_mean": 0.0,
|
| 211 |
+
"clip_ratio/low_mean": 0.0,
|
| 212 |
+
"clip_ratio/low_min": 0.0,
|
| 213 |
+
"clip_ratio/region_mean": 0.0,
|
| 214 |
+
"completions/clipped_ratio": 0.125,
|
| 215 |
+
"completions/max_length": 256.0,
|
| 216 |
+
"completions/max_terminated_length": 180.0,
|
| 217 |
+
"completions/mean_length": 120.625,
|
| 218 |
+
"completions/mean_terminated_length": 101.28572082519531,
|
| 219 |
+
"completions/min_length": 5.0,
|
| 220 |
+
"completions/min_terminated_length": 5.0,
|
| 221 |
+
"entropy": 0.2890619710087776,
|
| 222 |
+
"epoch": 0.8,
|
| 223 |
+
"frac_reward_zero_std": 1.0,
|
| 224 |
+
"grad_norm": 0.0,
|
| 225 |
+
"kl": 0.0,
|
| 226 |
+
"learning_rate": 7e-07,
|
| 227 |
+
"loss": 0.0,
|
| 228 |
+
"num_tokens": 25530.0,
|
| 229 |
+
"reward": 0.0,
|
| 230 |
+
"reward_std": 0.0,
|
| 231 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/mean": 0.0,
|
| 232 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/std": 0.0,
|
| 233 |
+
"step": 8,
|
| 234 |
+
"step_time": 51.997617472000115
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"clip_ratio/high_max": 0.0,
|
| 238 |
+
"clip_ratio/high_mean": 0.0,
|
| 239 |
+
"clip_ratio/low_mean": 0.0,
|
| 240 |
+
"clip_ratio/low_min": 0.0,
|
| 241 |
+
"clip_ratio/region_mean": 0.0,
|
| 242 |
+
"completions/clipped_ratio": 0.125,
|
| 243 |
+
"completions/max_length": 256.0,
|
| 244 |
+
"completions/max_terminated_length": 192.0,
|
| 245 |
+
"completions/mean_length": 159.5,
|
| 246 |
+
"completions/mean_terminated_length": 145.71429443359375,
|
| 247 |
+
"completions/min_length": 5.0,
|
| 248 |
+
"completions/min_terminated_length": 5.0,
|
| 249 |
+
"entropy": 0.15277767088264227,
|
| 250 |
+
"epoch": 0.9,
|
| 251 |
+
"frac_reward_zero_std": 1.0,
|
| 252 |
+
"grad_norm": 0.0,
|
| 253 |
+
"kl": 0.0,
|
| 254 |
+
"learning_rate": 8e-07,
|
| 255 |
+
"loss": 0.0,
|
| 256 |
+
"num_tokens": 29102.0,
|
| 257 |
+
"reward": 0.0,
|
| 258 |
+
"reward_std": 0.0,
|
| 259 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/mean": 0.0,
|
| 260 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/std": 0.0,
|
| 261 |
+
"step": 9,
|
| 262 |
+
"step_time": 66.99779507599999
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"clip_ratio/high_max": 0.0,
|
| 266 |
+
"clip_ratio/high_mean": 0.0,
|
| 267 |
+
"clip_ratio/low_mean": 0.0,
|
| 268 |
+
"clip_ratio/low_min": 0.0,
|
| 269 |
+
"clip_ratio/region_mean": 0.0,
|
| 270 |
+
"completions/clipped_ratio": 0.0,
|
| 271 |
+
"completions/max_length": 242.0,
|
| 272 |
+
"completions/max_terminated_length": 242.0,
|
| 273 |
+
"completions/mean_length": 73.875,
|
| 274 |
+
"completions/mean_terminated_length": 73.875,
|
| 275 |
+
"completions/min_length": 2.0,
|
| 276 |
+
"completions/min_terminated_length": 2.0,
|
| 277 |
+
"entropy": 0.5541306957602501,
|
| 278 |
+
"epoch": 1.0,
|
| 279 |
+
"frac_reward_zero_std": 1.0,
|
| 280 |
+
"grad_norm": 0.0,
|
| 281 |
+
"kl": 0.0,
|
| 282 |
+
"learning_rate": 9e-07,
|
| 283 |
+
"loss": 0.0,
|
| 284 |
+
"num_tokens": 31989.0,
|
| 285 |
+
"reward": 0.0,
|
| 286 |
+
"reward_std": 0.0,
|
| 287 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/mean": 0.0,
|
| 288 |
+
"rewards/combined_reward(combined_reward(reward_tool_used+reward_correct_answer))/std": 0.0,
|
| 289 |
+
"step": 10,
|
| 290 |
+
"step_time": 34.46745977900002
|
| 291 |
+
}
|
| 292 |
+
],
|
| 293 |
+
"logging_steps": 1,
|
| 294 |
+
"max_steps": 10,
|
| 295 |
+
"num_input_tokens_seen": 31989,
|
| 296 |
+
"num_train_epochs": 1,
|
| 297 |
+
"save_steps": 500,
|
| 298 |
+
"stateful_callbacks": {
|
| 299 |
+
"TrainerControl": {
|
| 300 |
+
"args": {
|
| 301 |
+
"should_epoch_stop": false,
|
| 302 |
+
"should_evaluate": false,
|
| 303 |
+
"should_log": false,
|
| 304 |
+
"should_save": true,
|
| 305 |
+
"should_training_stop": true
|
| 306 |
+
},
|
| 307 |
+
"attributes": {}
|
| 308 |
+
}
|
| 309 |
+
},
|
| 310 |
+
"total_flos": 0.0,
|
| 311 |
+
"train_batch_size": 2,
|
| 312 |
+
"trial_name": null,
|
| 313 |
+
"trial_params": null
|
| 314 |
+
}
|
checkpoint-10/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4a253c8fac0fdd4b86b5dd61c44520e3784cc33008c69a33470013a65117a5a
|
| 3 |
+
size 7377
|
completions/completions_00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6346dca19758a57bc747f9804c2937f7beaa939cafad3fe0cae804f73881255d
|
| 3 |
+
size 11024
|
completions/completions_00002.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a7710393bcc0c5eb952675e125a5a598f6db781a78553fa4d4546ced8c7ef9d
|
| 3 |
+
size 9730
|
completions/completions_00003.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05602fad114abfd81ab9d50739cec76ab30f1e217ea990578fdd11d696bdc983
|
| 3 |
+
size 10759
|
completions/completions_00004.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4884ddf62fbe97cbf4a84fa42dc19b487a3787f7acdd161efe99bb1e6e3782a
|
| 3 |
+
size 11324
|
completions/completions_00005.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4228ff73b7cb8e302bacce16d8f91e1d7cc3b2ab6a03285f4ccb41395cce4e6
|
| 3 |
+
size 10697
|
completions/completions_00006.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b6675c7770ce0a03e435a19c1e1a19352d403c897852f8379c92b07382858d1
|
| 3 |
+
size 11053
|
completions/completions_00007.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f46a7a7d95f8fe5322d1fadbef5bdf13d32351515b50d909c9e147af93c68cc
|
| 3 |
+
size 11404
|
completions/completions_00008.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7266793241a4038d8d7f5d6ddc720b9ce3eb212291ac5c0593411b1a8f0aa11
|
| 3 |
+
size 10763
|
completions/completions_00009.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0af4c94f1dda9bfb2f7f384b0d4f69993e31a18631b73fe44bd115718892c9a
|
| 3 |
+
size 11188
|
completions/completions_00010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11f20abc37084be930a4315028e09b094d33f4c2da0e21da747d94a2c2ac2240
|
| 3 |
+
size 11474
|
grpo_training_config.yaml
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
accelerator_config:
|
| 2 |
+
dispatch_batches: null
|
| 3 |
+
even_batches: true
|
| 4 |
+
gradient_accumulation_kwargs: null
|
| 5 |
+
non_blocking: false
|
| 6 |
+
split_batches: false
|
| 7 |
+
use_seedable_sampler: true
|
| 8 |
+
adam_beta1: 0.9
|
| 9 |
+
adam_beta2: 0.999
|
| 10 |
+
adam_epsilon: 1.0e-08
|
| 11 |
+
auto_find_batch_size: false
|
| 12 |
+
average_tokens_across_devices: true
|
| 13 |
+
batch_eval_metrics: false
|
| 14 |
+
beta: 0.04
|
| 15 |
+
bf16: true
|
| 16 |
+
bf16_full_eval: false
|
| 17 |
+
cache_implementation: null
|
| 18 |
+
cast_lm_head_to_fp32: false
|
| 19 |
+
chat_template_kwargs:
|
| 20 |
+
enable_thinking: false
|
| 21 |
+
data_seed: 42
|
| 22 |
+
dataloader_drop_last: false
|
| 23 |
+
dataloader_in_order: true
|
| 24 |
+
dataloader_multiprocessing_context: null
|
| 25 |
+
dataloader_num_workers: 0
|
| 26 |
+
dataloader_persistent_workers: false
|
| 27 |
+
dataloader_pin_memory: true
|
| 28 |
+
dataloader_prefetch_factor: null
|
| 29 |
+
ddp_backend: null
|
| 30 |
+
ddp_broadcast_buffers: null
|
| 31 |
+
ddp_bucket_cap_mb: null
|
| 32 |
+
ddp_find_unused_parameters: null
|
| 33 |
+
ddp_static_graph: null
|
| 34 |
+
ddp_timeout: 1800
|
| 35 |
+
debug: []
|
| 36 |
+
deepspeed: null
|
| 37 |
+
delta: null
|
| 38 |
+
disable_dropout: false
|
| 39 |
+
disable_tqdm: false
|
| 40 |
+
do_eval: false
|
| 41 |
+
do_predict: false
|
| 42 |
+
do_train: false
|
| 43 |
+
ds3_gather_for_generation: true
|
| 44 |
+
enable_jit_checkpoint: false
|
| 45 |
+
epsilon: 0.2
|
| 46 |
+
epsilon_high: null
|
| 47 |
+
eval_accumulation_steps: null
|
| 48 |
+
eval_delay: 0
|
| 49 |
+
eval_do_concat_batches: true
|
| 50 |
+
eval_on_start: false
|
| 51 |
+
eval_steps: null
|
| 52 |
+
eval_strategy: 'no'
|
| 53 |
+
eval_use_gather_object: false
|
| 54 |
+
fp16: false
|
| 55 |
+
fp16_full_eval: false
|
| 56 |
+
fsdp: null
|
| 57 |
+
fsdp_config: null
|
| 58 |
+
full_determinism: false
|
| 59 |
+
generation_batch_size: 8
|
| 60 |
+
generation_kwargs: null
|
| 61 |
+
gradient_accumulation_steps: 4
|
| 62 |
+
gradient_checkpointing: true
|
| 63 |
+
gradient_checkpointing_kwargs: null
|
| 64 |
+
greater_is_better: null
|
| 65 |
+
hub_always_push: false
|
| 66 |
+
hub_model_id: null
|
| 67 |
+
hub_private_repo: null
|
| 68 |
+
hub_revision: null
|
| 69 |
+
hub_strategy: every_save
|
| 70 |
+
hub_token: <HUB_TOKEN>
|
| 71 |
+
ignore_data_skip: false
|
| 72 |
+
importance_sampling_level: token
|
| 73 |
+
include_for_metrics: []
|
| 74 |
+
include_num_input_tokens_seen: 'no'
|
| 75 |
+
label_names: null
|
| 76 |
+
label_smoothing_factor: 0.0
|
| 77 |
+
learning_rate: 1.0e-06
|
| 78 |
+
length_column_name: length
|
| 79 |
+
liger_kernel_config: null
|
| 80 |
+
load_best_model_at_end: false
|
| 81 |
+
local_rank: -1
|
| 82 |
+
log_completions: true
|
| 83 |
+
log_completions_hub_repo: null
|
| 84 |
+
log_level: passive
|
| 85 |
+
log_level_replica: warning
|
| 86 |
+
log_on_each_node: true
|
| 87 |
+
log_unique_prompts: false
|
| 88 |
+
logging_first_step: false
|
| 89 |
+
logging_nan_inf_filter: true
|
| 90 |
+
logging_steps: 1
|
| 91 |
+
logging_strategy: steps
|
| 92 |
+
loss_type: dapo
|
| 93 |
+
lr_scheduler_kwargs: null
|
| 94 |
+
lr_scheduler_type: linear
|
| 95 |
+
mask_truncated_completions: false
|
| 96 |
+
max_completion_length: 128
|
| 97 |
+
max_grad_norm: 1.0
|
| 98 |
+
max_steps: -1
|
| 99 |
+
max_tool_calling_iterations: null
|
| 100 |
+
metric_for_best_model: null
|
| 101 |
+
min_p: null
|
| 102 |
+
model_init_kwargs: null
|
| 103 |
+
multi_objective_aggregation: sum_then_normalize
|
| 104 |
+
neftune_noise_alpha: null
|
| 105 |
+
num_completions_to_print: null
|
| 106 |
+
num_generations: 2
|
| 107 |
+
num_generations_eval: null
|
| 108 |
+
num_iterations: 1
|
| 109 |
+
num_train_epochs: 1
|
| 110 |
+
off_policy_mask_threshold: null
|
| 111 |
+
optim: adamw_torch
|
| 112 |
+
optim_args: null
|
| 113 |
+
optim_target_modules: null
|
| 114 |
+
output_dir: ./out_service
|
| 115 |
+
pad_to_multiple_of: null
|
| 116 |
+
parallelism_config: null
|
| 117 |
+
per_device_eval_batch_size: 8
|
| 118 |
+
per_device_train_batch_size: 2
|
| 119 |
+
prediction_loss_only: false
|
| 120 |
+
project: huggingface
|
| 121 |
+
push_to_hub: false
|
| 122 |
+
ref_model_mixup_alpha: 0.6
|
| 123 |
+
ref_model_sync_steps: 512
|
| 124 |
+
remove_unused_columns: false
|
| 125 |
+
repetition_penalty: 1.0
|
| 126 |
+
report_to: []
|
| 127 |
+
restore_callback_states_from_checkpoint: false
|
| 128 |
+
resume_from_checkpoint: null
|
| 129 |
+
reward_weights: null
|
| 130 |
+
router_aux_loss_coef: 0.001
|
| 131 |
+
run_name: null
|
| 132 |
+
sapo_temperature_neg: 1.05
|
| 133 |
+
sapo_temperature_pos: 1.0
|
| 134 |
+
save_on_each_node: false
|
| 135 |
+
save_only_model: false
|
| 136 |
+
save_steps: 500
|
| 137 |
+
save_strategy: steps
|
| 138 |
+
save_total_limit: null
|
| 139 |
+
scale_rewards: group
|
| 140 |
+
seed: 42
|
| 141 |
+
shuffle_dataset: true
|
| 142 |
+
skip_memory_metrics: true
|
| 143 |
+
steps_per_generation: 4
|
| 144 |
+
sync_ref_model: false
|
| 145 |
+
temperature: 0.7
|
| 146 |
+
tf32: null
|
| 147 |
+
top_entropy_quantile: 1.0
|
| 148 |
+
top_k: 0
|
| 149 |
+
top_p: 0.95
|
| 150 |
+
torch_compile: false
|
| 151 |
+
torch_compile_backend: null
|
| 152 |
+
torch_compile_mode: null
|
| 153 |
+
torch_empty_cache_steps: null
|
| 154 |
+
trackio_bucket_id: null
|
| 155 |
+
trackio_space_id: null
|
| 156 |
+
trackio_static_space_id: null
|
| 157 |
+
train_sampling_strategy: random
|
| 158 |
+
transformers_continuous_batching_config: null
|
| 159 |
+
trust_remote_code: false
|
| 160 |
+
use_bias_correction_kl: false
|
| 161 |
+
use_cache: false
|
| 162 |
+
use_cpu: false
|
| 163 |
+
use_liger_kernel: false
|
| 164 |
+
use_transformers_continuous_batching: false
|
| 165 |
+
use_transformers_paged: false
|
| 166 |
+
use_vllm: false
|
| 167 |
+
vespo_k_neg: 3.0
|
| 168 |
+
vespo_k_pos: 2.0
|
| 169 |
+
vespo_lambda_neg: 2.0
|
| 170 |
+
vespo_lambda_pos: 3.0
|
| 171 |
+
vllm_enable_sleep_mode: false
|
| 172 |
+
vllm_gpu_memory_utilization: 0.3
|
| 173 |
+
vllm_group_port: 51216
|
| 174 |
+
vllm_importance_sampling_cap: null
|
| 175 |
+
vllm_importance_sampling_clip_max: 3.0
|
| 176 |
+
vllm_importance_sampling_clip_min: null
|
| 177 |
+
vllm_importance_sampling_correction: true
|
| 178 |
+
vllm_importance_sampling_mode: sequence_mask
|
| 179 |
+
vllm_max_model_length: null
|
| 180 |
+
vllm_mode: colocate
|
| 181 |
+
vllm_model_impl: vllm
|
| 182 |
+
vllm_server_base_url: null
|
| 183 |
+
vllm_server_host: 0.0.0.0
|
| 184 |
+
vllm_server_port: 8000
|
| 185 |
+
vllm_server_timeout: 240.0
|
| 186 |
+
vllm_structured_outputs_regex: null
|
| 187 |
+
vllm_tensor_parallel_size: 1
|
| 188 |
+
warmup_steps: 10
|
| 189 |
+
weight_decay: 0.0
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<|im_start|>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>"
|
| 11 |
+
],
|
| 12 |
+
"is_local": false,
|
| 13 |
+
"local_files_only": false,
|
| 14 |
+
"model_max_length": 8192,
|
| 15 |
+
"pad_token": "<|im_end|>",
|
| 16 |
+
"padding_side": "left",
|
| 17 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 18 |
+
"truncation_side": "left",
|
| 19 |
+
"unk_token": "<|endoftext|>",
|
| 20 |
+
"vocab_size": 49152
|
| 21 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4a253c8fac0fdd4b86b5dd61c44520e3784cc33008c69a33470013a65117a5a
|
| 3 |
+
size 7377
|
training_stats.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "HuggingFaceTB/SmolLM2-360M-Instruct",
|
| 3 |
+
"dataset_name": "unknown",
|
| 4 |
+
"output_dir": "./out_service",
|
| 5 |
+
"agentic_mode": true,
|
| 6 |
+
"tools": [
|
| 7 |
+
"query_inventory"
|
| 8 |
+
],
|
| 9 |
+
"train_size": 40,
|
| 10 |
+
"eval_size": 0,
|
| 11 |
+
"final_loss": 0.0,
|
| 12 |
+
"total_steps": 10,
|
| 13 |
+
"training_history": [],
|
| 14 |
+
"metrics": {
|
| 15 |
+
"train_runtime": 495.5221,
|
| 16 |
+
"train_samples_per_second": 0.081,
|
| 17 |
+
"train_steps_per_second": 0.02,
|
| 18 |
+
"total_flos": 0.0,
|
| 19 |
+
"train_loss": 0.0,
|
| 20 |
+
"epoch": 1.0
|
| 21 |
+
},
|
| 22 |
+
"config_kwargs": {
|
| 23 |
+
"model": "HuggingFaceTB/SmolLM2-360M-Instruct",
|
| 24 |
+
"train_dataset": "Dataset({\n features: ['prompt', 'answer'],\n num_rows: 40\n})",
|
| 25 |
+
"reward_funcs": "<callable: combined_reward(reward_tool_used+reward_correct_answer)>",
|
| 26 |
+
"tools": [
|
| 27 |
+
"<function query_inventory at 0x7cae51dec7c0>"
|
| 28 |
+
],
|
| 29 |
+
"system_prompt": "You are the Dallas DC planner. Reply with the numeric answer only.",
|
| 30 |
+
"output_dir": "./out_service",
|
| 31 |
+
"num_train_epochs": 1,
|
| 32 |
+
"per_device_train_batch_size": 2,
|
| 33 |
+
"gradient_accumulation_steps": 4,
|
| 34 |
+
"learning_rate": 1e-06,
|
| 35 |
+
"warmup_ratio": 0.03,
|
| 36 |
+
"warmup_steps": 10,
|
| 37 |
+
"weight_decay": 0.0,
|
| 38 |
+
"lr_scheduler_type": "linear",
|
| 39 |
+
"max_grad_norm": 1.0,
|
| 40 |
+
"seed": 42,
|
| 41 |
+
"data_seed": 42,
|
| 42 |
+
"optim": "adamw_torch",
|
| 43 |
+
"num_generations": 2,
|
| 44 |
+
"max_prompt_length": 256,
|
| 45 |
+
"max_completion_length": 128,
|
| 46 |
+
"temperature": 0.7,
|
| 47 |
+
"top_p": 0.95,
|
| 48 |
+
"beta": 0.04,
|
| 49 |
+
"use_vllm": false,
|
| 50 |
+
"vllm_mode": "colocate",
|
| 51 |
+
"log_completions": true,
|
| 52 |
+
"chat_template_kwargs": {
|
| 53 |
+
"enable_thinking": false
|
| 54 |
+
},
|
| 55 |
+
"max_steps_per_turn": 8,
|
| 56 |
+
"peft_config": {
|
| 57 |
+
"r": 8,
|
| 58 |
+
"lora_alpha": 16,
|
| 59 |
+
"lora_dropout": 0.0,
|
| 60 |
+
"bias": "none",
|
| 61 |
+
"task_type": "CAUSAL_LM"
|
| 62 |
+
},
|
| 63 |
+
"bf16": true,
|
| 64 |
+
"fp16": false,
|
| 65 |
+
"gradient_checkpointing": true,
|
| 66 |
+
"dataloader_num_workers": 0,
|
| 67 |
+
"logging_steps": 1,
|
| 68 |
+
"save_steps": 500,
|
| 69 |
+
"report_to": "none",
|
| 70 |
+
"push_to_hub": false,
|
| 71 |
+
"eval_strategy": "no",
|
| 72 |
+
"remove_unused_columns": false
|
| 73 |
+
}
|
| 74 |
+
}
|