End of training
Browse files- README.md +132 -0
- generation_config.json +8 -0
README.md
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
base_model: trl-internal-testing/tiny-random-LlamaForCausalLM
|
4 |
+
tags:
|
5 |
+
- axolotl
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- argilla/databricks-dolly-15k-curated-en
|
9 |
+
model-index:
|
10 |
+
- name: tiny-random-LlamaForCausalLM
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
18 |
+
<details><summary>See axolotl config</summary>
|
19 |
+
|
20 |
+
axolotl version: `0.6.0`
|
21 |
+
```yaml
|
22 |
+
base_model: trl-internal-testing/tiny-random-LlamaForCausalLM
|
23 |
+
batch_size: 32
|
24 |
+
bf16: true
|
25 |
+
chat_template: tokenizer_default_fallback_alpaca
|
26 |
+
datasets:
|
27 |
+
- format: custom
|
28 |
+
path: argilla/databricks-dolly-15k-curated-en
|
29 |
+
type:
|
30 |
+
field_input: original-instruction
|
31 |
+
field_instruction: original-instruction
|
32 |
+
field_output: original-response
|
33 |
+
format: '{instruction} {input}'
|
34 |
+
no_input_format: '{instruction}'
|
35 |
+
system_format: '{system}'
|
36 |
+
system_prompt: ''
|
37 |
+
device_map: auto
|
38 |
+
eval_sample_packing: false
|
39 |
+
eval_steps: 200
|
40 |
+
flash_attention: true
|
41 |
+
gpu_memory_limit: 80GiB
|
42 |
+
group_by_length: true
|
43 |
+
hub_model_id: SystemAdmin123/tiny-random-LlamaForCausalLM
|
44 |
+
hub_strategy: checkpoint
|
45 |
+
learning_rate: 0.0002
|
46 |
+
logging_steps: 10
|
47 |
+
lr_scheduler: cosine
|
48 |
+
max_steps: 2500
|
49 |
+
micro_batch_size: 4
|
50 |
+
model_type: AutoModelForCausalLM
|
51 |
+
num_epochs: 100
|
52 |
+
optimizer: adamw_bnb_8bit
|
53 |
+
output_dir: /root/.sn56/axolotl/outputs/tiny-random-LlamaForCausalLM
|
54 |
+
pad_to_sequence_len: true
|
55 |
+
resize_token_embeddings_to_32x: false
|
56 |
+
sample_packing: false
|
57 |
+
save_steps: 400
|
58 |
+
save_total_limit: 1
|
59 |
+
sequence_len: 2048
|
60 |
+
tokenizer_type: LlamaTokenizerFast
|
61 |
+
torch_dtype: bf16
|
62 |
+
trust_remote_code: true
|
63 |
+
val_set_size: 0.1
|
64 |
+
wandb_entity: ''
|
65 |
+
wandb_mode: online
|
66 |
+
wandb_name: trl-internal-testing/tiny-random-LlamaForCausalLM-argilla/databricks-dolly-15k-curated-en
|
67 |
+
wandb_project: Gradients-On-Demand
|
68 |
+
wandb_run: your_name
|
69 |
+
wandb_runid: default
|
70 |
+
warmup_ratio: 0.05
|
71 |
+
|
72 |
+
```
|
73 |
+
|
74 |
+
</details><br>
|
75 |
+
|
76 |
+
# tiny-random-LlamaForCausalLM
|
77 |
+
|
78 |
+
This model is a fine-tuned version of [trl-internal-testing/tiny-random-LlamaForCausalLM](https://huggingface.co/trl-internal-testing/tiny-random-LlamaForCausalLM) on the argilla/databricks-dolly-15k-curated-en dataset.
|
79 |
+
It achieves the following results on the evaluation set:
|
80 |
+
- Loss: 8.6989
|
81 |
+
|
82 |
+
## Model description
|
83 |
+
|
84 |
+
More information needed
|
85 |
+
|
86 |
+
## Intended uses & limitations
|
87 |
+
|
88 |
+
More information needed
|
89 |
+
|
90 |
+
## Training and evaluation data
|
91 |
+
|
92 |
+
More information needed
|
93 |
+
|
94 |
+
## Training procedure
|
95 |
+
|
96 |
+
### Training hyperparameters
|
97 |
+
|
98 |
+
The following hyperparameters were used during training:
|
99 |
+
- learning_rate: 0.0002
|
100 |
+
- train_batch_size: 4
|
101 |
+
- eval_batch_size: 4
|
102 |
+
- seed: 42
|
103 |
+
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
104 |
+
- lr_scheduler_type: cosine
|
105 |
+
- lr_scheduler_warmup_steps: 125
|
106 |
+
- training_steps: 2500
|
107 |
+
|
108 |
+
### Training results
|
109 |
+
|
110 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
111 |
+
|:-------------:|:------:|:----:|:---------------:|
|
112 |
+
| No log | 0.0003 | 1 | 10.3763 |
|
113 |
+
| 9.7054 | 0.0592 | 200 | 9.6862 |
|
114 |
+
| 8.9091 | 0.1184 | 400 | 8.9612 |
|
115 |
+
| 8.7257 | 0.1776 | 600 | 8.7627 |
|
116 |
+
| 8.7416 | 0.2368 | 800 | 8.7109 |
|
117 |
+
| 8.5944 | 0.2959 | 1000 | 8.6982 |
|
118 |
+
| 8.673 | 0.3551 | 1200 | 8.6963 |
|
119 |
+
| 8.7511 | 0.4143 | 1400 | 8.6972 |
|
120 |
+
| 8.729 | 0.4735 | 1600 | 8.6961 |
|
121 |
+
| 8.6325 | 0.5327 | 1800 | 8.6948 |
|
122 |
+
| 8.6338 | 0.5919 | 2000 | 8.6946 |
|
123 |
+
| 8.7376 | 0.6511 | 2200 | 8.6954 |
|
124 |
+
| 8.573 | 0.7103 | 2400 | 8.6989 |
|
125 |
+
|
126 |
+
|
127 |
+
### Framework versions
|
128 |
+
|
129 |
+
- Transformers 4.48.1
|
130 |
+
- Pytorch 2.4.1+cu124
|
131 |
+
- Datasets 3.2.0
|
132 |
+
- Tokenizers 0.21.0
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"do_sample": true,
|
5 |
+
"eos_token_id": 1,
|
6 |
+
"pad_token_id": 2,
|
7 |
+
"transformers_version": "4.48.1"
|
8 |
+
}
|