yosefw commited on
Commit
c44cd48
·
verified ·
1 Parent(s): 4fd4d9f

End of training

Browse files
README.md CHANGED
@@ -1,58 +1,94 @@
1
  ---
2
- base_model: rasyosef/Llama-3.2-400M-Amharic
3
  library_name: transformers
4
- model_name: Llama-3.2-400M-Amharic-Poems-Stories-V5
5
  tags:
6
- - generated_from_trainer
7
  - trl
8
  - sft
9
- licence: license
 
 
 
10
  ---
11
 
12
- # Model Card for Llama-3.2-400M-Amharic-Poems-Stories-V5
 
13
 
14
- This model is a fine-tuned version of [rasyosef/Llama-3.2-400M-Amharic](https://huggingface.co/rasyosef/Llama-3.2-400M-Amharic).
15
- It has been trained using [TRL](https://github.com/huggingface/trl).
16
 
17
- ## Quick start
 
 
 
18
 
19
- ```python
20
- from transformers import pipeline
21
 
22
- 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?"
23
- generator = pipeline("text-generation", model="yosefw/Llama-3.2-400M-Amharic-Poems-Stories-V5", device="cuda")
24
- output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
- print(output["generated_text"])
26
- ```
27
 
28
- ## Training procedure
29
 
30
-
31
 
 
32
 
33
- This model was trained with SFT.
34
 
35
- ### Framework versions
 
 
36
 
37
- - TRL: 0.15.2
38
- - Transformers: 4.49.0
39
- - Pytorch: 2.4.1+cu121
40
- - Datasets: 3.3.2
41
- - Tokenizers: 0.21.0
 
 
 
 
 
 
42
 
43
- ## Citations
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
 
46
 
47
- Cite TRL as:
48
-
49
- ```bibtex
50
- @misc{vonwerra2022trl,
51
- title = {{TRL: Transformer Reinforcement Learning}},
52
- 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},
53
- year = 2020,
54
- journal = {GitHub repository},
55
- publisher = {GitHub},
56
- howpublished = {\url{https://github.com/huggingface/trl}}
57
- }
58
- ```
 
1
  ---
 
2
  library_name: transformers
3
+ base_model: rasyosef/Llama-3.2-400M-Amharic
4
  tags:
 
5
  - trl
6
  - sft
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: Llama-3.2-400M-Amharic-Poems-Stories-V5
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
+ # Llama-3.2-400M-Amharic-Poems-Stories-V5
 
17
 
18
+ This model is a fine-tuned version of [rasyosef/Llama-3.2-400M-Amharic](https://huggingface.co/rasyosef/Llama-3.2-400M-Amharic) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.2025
21
+ - Model Preparation Time: 0.003
22
 
23
+ ## Model description
 
24
 
25
+ More information needed
 
 
 
 
26
 
27
+ ## Intended uses & limitations
28
 
29
+ More information needed
30
 
31
+ ## Training and evaluation data
32
 
33
+ More information needed
34
 
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
 
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 8e-05
41
+ - train_batch_size: 4
42
+ - eval_batch_size: 4
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_ratio: 0.1
47
+ - lr_scheduler_warmup_steps: 250
48
+ - num_epochs: 4
49
+ - mixed_precision_training: Native AMP
50
 
51
+ ### Training results
52
 
53
+ | Training Loss | Epoch | Step | Validation Loss | Model Preparation Time |
54
+ |:-------------:|:------:|:-----:|:---------------:|:----------------------:|
55
+ | 3.0159 | 0.1219 | 500 | 2.4049 | 0.003 |
56
+ | 2.0028 | 0.2437 | 1000 | 1.6978 | 0.003 |
57
+ | 1.5634 | 0.3656 | 1500 | 1.4614 | 0.003 |
58
+ | 1.4024 | 0.4874 | 2000 | 1.3237 | 0.003 |
59
+ | 1.2445 | 0.6093 | 2500 | 1.2619 | 0.003 |
60
+ | 1.3169 | 0.7312 | 3000 | 1.2383 | 0.003 |
61
+ | 1.2045 | 0.8530 | 3500 | 1.2104 | 0.003 |
62
+ | 1.2074 | 0.9749 | 4000 | 1.2025 | 0.003 |
63
+ | 0.715 | 1.0968 | 4500 | 1.3746 | 0.003 |
64
+ | 0.5526 | 1.2186 | 5000 | 1.3882 | 0.003 |
65
+ | 0.5383 | 1.3405 | 5500 | 1.3509 | 0.003 |
66
+ | 0.5541 | 1.4623 | 6000 | 1.3664 | 0.003 |
67
+ | 0.561 | 1.5842 | 6500 | 1.3486 | 0.003 |
68
+ | 0.5278 | 1.7061 | 7000 | 1.3447 | 0.003 |
69
+ | 0.5415 | 1.8279 | 7500 | 1.3282 | 0.003 |
70
+ | 0.5491 | 1.9498 | 8000 | 1.3404 | 0.003 |
71
+ | 0.3309 | 2.0717 | 8500 | 1.5191 | 0.003 |
72
+ | 0.1989 | 2.1935 | 9000 | 1.5328 | 0.003 |
73
+ | 0.2018 | 2.3154 | 9500 | 1.5266 | 0.003 |
74
+ | 0.1954 | 2.4372 | 10000 | 1.5309 | 0.003 |
75
+ | 0.1957 | 2.5591 | 10500 | 1.5363 | 0.003 |
76
+ | 0.1983 | 2.6810 | 11000 | 1.5228 | 0.003 |
77
+ | 0.1962 | 2.8028 | 11500 | 1.5295 | 0.003 |
78
+ | 0.1934 | 2.9247 | 12000 | 1.5303 | 0.003 |
79
+ | 0.1566 | 3.0466 | 12500 | 1.5726 | 0.003 |
80
+ | 0.1045 | 3.1684 | 13000 | 1.5975 | 0.003 |
81
+ | 0.1071 | 3.2903 | 13500 | 1.5947 | 0.003 |
82
+ | 0.1076 | 3.4121 | 14000 | 1.5920 | 0.003 |
83
+ | 0.1068 | 3.5340 | 14500 | 1.5922 | 0.003 |
84
+ | 0.1052 | 3.6559 | 15000 | 1.5921 | 0.003 |
85
+ | 0.1074 | 3.7777 | 15500 | 1.5922 | 0.003 |
86
+ | 0.1084 | 3.8996 | 16000 | 1.5923 | 0.003 |
87
 
88
 
89
+ ### Framework versions
90
+
91
+ - Transformers 4.45.0
92
+ - Pytorch 2.4.1+cu121
93
+ - Datasets 3.3.2
94
+ - Tokenizers 0.20.3
 
 
 
 
 
 
generation_config.json CHANGED
@@ -3,5 +3,5 @@
3
  "bos_token_id": 32000,
4
  "eos_token_id": 32001,
5
  "pad_token_id": 32001,
6
- "transformers_version": "4.49.0"
7
  }
 
3
  "bos_token_id": 32000,
4
  "eos_token_id": 32001,
5
  "pad_token_id": 32001,
6
+ "transformers_version": "4.45.0"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5e37d3a117ec26042e36376d69a21f61585bc3085c3453bdc9ceb9d03e12529d
3
  size 1650139320
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a572a6aa947befb28a93f47a9ab2d91427f5f65d7a516807c17730896a7898f0
3
  size 1650139320
runs/Mar01_11-18-35_8a02e0a9a63c/events.out.tfevents.1740827938.8a02e0a9a63c.21.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:93d9df8db6102b083b4a91014e745501b68eae4e269f5bd6060f118ca8af5a51
3
- size 23239
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4355007e998626c628dc41f479bf6a1320f149fff46163a3b79a33f53123412
3
+ size 23599
runs/Mar01_11-18-35_8a02e0a9a63c/events.out.tfevents.1740836494.8a02e0a9a63c.21.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cf7cd8bb1f3ebbfad4e89057657b2a7e8804dd8c28b981d3d593be8a1b38634
3
+ size 431