femT-data commited on
Commit
fe87e65
·
verified ·
1 Parent(s): da00385

End of training

Browse files
Files changed (2) hide show
  1. README.md +151 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: NousResearch/Meta-Llama-3-8B-Instruct
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: llama-3.1-8B-instruct-GNER
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<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)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ base_model: NousResearch/Meta-Llama-3-8B-Instruct
22
+ model_type: LlamaForCausalLM
23
+ tokenizer_type: AutoTokenizer
24
+
25
+ load_in_8bit: true
26
+ load_in_4bit: false
27
+ strict: false
28
+
29
+ # chat_template: llama3
30
+ datasets:
31
+ - path: /home/ftcourse/sample_data/crossner_ai_train.jsonl
32
+ type: alpaca
33
+ # datasets:
34
+ # - path: fozziethebeat/alpaca_messages_2k_test
35
+ # type: chat_template
36
+ # field_messages: messages
37
+ # message_field_role: role
38
+ # message_field_content: content
39
+ # roles:
40
+ # user:
41
+ # - user
42
+ # assistant:
43
+ # - assistant
44
+
45
+ dataset_prepared_path:
46
+ val_set_size: 0.05
47
+ output_dir: ./outputs/lora-out
48
+ hub_model_id: femT-data/llama-3.1-8B-instruct-GNER
49
+
50
+ sequence_len: 4096
51
+ sample_packing: false
52
+ pad_to_sequence_len: true
53
+
54
+ adapter: lora
55
+ lora_model_dir:
56
+ lora_r: 32
57
+ lora_alpha: 16
58
+ lora_dropout: 0.05
59
+ lora_target_linear: true
60
+ lora_fan_in_fan_out:
61
+
62
+ gradient_accumulation_steps: 4
63
+ micro_batch_size: 2
64
+ num_epochs: 1
65
+ optimizer: adamw_bnb_8bit
66
+ lr_scheduler: cosine
67
+ learning_rate: 0.0002
68
+
69
+ train_on_inputs: false
70
+ group_by_length: false
71
+ bf16: auto
72
+ fp16:
73
+ tf32: false
74
+
75
+ gradient_checkpointing: true
76
+ early_stopping_patience:
77
+ resume_from_checkpoint:
78
+ local_rank:
79
+ logging_steps: 1
80
+ xformers_attention:
81
+ flash_attention: true
82
+ s2_attention:
83
+
84
+ warmup_steps: 10
85
+ evals_per_epoch: 4
86
+ eval_table_size:
87
+ eval_max_new_tokens: 128
88
+ saves_per_epoch: 1
89
+ debug:
90
+ deepspeed:
91
+ weight_decay: 0.0
92
+ fsdp:
93
+ fsdp_config:
94
+ special_tokens:
95
+ pad_token: <|end_of_text|>
96
+
97
+ ```
98
+
99
+ </details><br>
100
+
101
+ # llama-3.1-8B-instruct-GNER
102
+
103
+ This model is a fine-tuned version of [NousResearch/Meta-Llama-3-8B-Instruct](https://huggingface.co/NousResearch/Meta-Llama-3-8B-Instruct) on the None dataset.
104
+ It achieves the following results on the evaluation set:
105
+ - Loss: 0.0363
106
+
107
+ ## Model description
108
+
109
+ More information needed
110
+
111
+ ## Intended uses & limitations
112
+
113
+ More information needed
114
+
115
+ ## Training and evaluation data
116
+
117
+ More information needed
118
+
119
+ ## Training procedure
120
+
121
+ ### Training hyperparameters
122
+
123
+ The following hyperparameters were used during training:
124
+ - learning_rate: 0.0002
125
+ - train_batch_size: 2
126
+ - eval_batch_size: 2
127
+ - seed: 42
128
+ - gradient_accumulation_steps: 4
129
+ - total_train_batch_size: 8
130
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
131
+ - lr_scheduler_type: cosine
132
+ - lr_scheduler_warmup_steps: 10
133
+ - num_epochs: 1
134
+
135
+ ### Training results
136
+
137
+ | Training Loss | Epoch | Step | Validation Loss |
138
+ |:-------------:|:------:|:----:|:---------------:|
139
+ | 0.5951 | 0.0187 | 1 | 0.6405 |
140
+ | 0.1134 | 0.2617 | 14 | 0.0841 |
141
+ | 0.0224 | 0.5234 | 28 | 0.0434 |
142
+ | 0.0423 | 0.7850 | 42 | 0.0363 |
143
+
144
+
145
+ ### Framework versions
146
+
147
+ - PEFT 0.13.2
148
+ - Transformers 4.45.2
149
+ - Pytorch 2.3.1+cu121
150
+ - Datasets 3.0.1
151
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74a2039addbfea2c8c6b458d4f8cc0c72d111beef416c61110344dceef4fce2e
3
+ size 335706186