chad-brouze
commited on
Commit
•
81e6f20
1
Parent(s):
8579c16
End of training
Browse files- README.md +8 -2
- all_results.json +5 -0
- config.json +54 -0
- eval_results.json +8 -0
README.md
CHANGED
@@ -1,10 +1,16 @@
|
|
1 |
---
|
2 |
base_model: meta-llama/Meta-Llama-3.1-8B-Instruct
|
3 |
datasets:
|
4 |
-
-
|
|
|
|
|
|
|
|
|
|
|
5 |
library_name: peft
|
6 |
license: llama3.1
|
7 |
tags:
|
|
|
8 |
- trl
|
9 |
- sft
|
10 |
- generated_from_trainer
|
@@ -18,7 +24,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
# llama-8b-south-africa
|
20 |
|
21 |
-
This model is a fine-tuned version of [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct) on the
|
22 |
It achieves the following results on the evaluation set:
|
23 |
- Loss: 1.0571
|
24 |
|
|
|
1 |
---
|
2 |
base_model: meta-llama/Meta-Llama-3.1-8B-Instruct
|
3 |
datasets:
|
4 |
+
- africa-intelligence/yahma-alpaca-cleaned-tn
|
5 |
+
- africa-intelligence/yahma-alpaca-cleaned-xh
|
6 |
+
- africa-intelligence/yahma-alpaca-cleaned-zu
|
7 |
+
- africa-intelligence/yahma-alpaca-cleaned-af
|
8 |
+
- africa-intelligence/yahma-alpaca-cleaned-en
|
9 |
+
- africa-intelligence/yahma-alpaca-cleaned-nso
|
10 |
library_name: peft
|
11 |
license: llama3.1
|
12 |
tags:
|
13 |
+
- alignment-handbook
|
14 |
- trl
|
15 |
- sft
|
16 |
- generated_from_trainer
|
|
|
24 |
|
25 |
# llama-8b-south-africa
|
26 |
|
27 |
+
This model is a fine-tuned version of [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct) on the africa-intelligence/yahma-alpaca-cleaned-tn, the africa-intelligence/yahma-alpaca-cleaned-xh, the africa-intelligence/yahma-alpaca-cleaned-zu, the africa-intelligence/yahma-alpaca-cleaned-af, the africa-intelligence/yahma-alpaca-cleaned-en and the africa-intelligence/yahma-alpaca-cleaned-nso datasets.
|
28 |
It achieves the following results on the evaluation set:
|
29 |
- Loss: 1.0571
|
30 |
|
all_results.json
CHANGED
@@ -1,5 +1,10 @@
|
|
1 |
{
|
2 |
"epoch": 0.9999106584472438,
|
|
|
|
|
|
|
|
|
|
|
3 |
"total_flos": 4.151601388859687e+18,
|
4 |
"train_loss": 1.2674157931559251,
|
5 |
"train_runtime": 31909.1388,
|
|
|
1 |
{
|
2 |
"epoch": 0.9999106584472438,
|
3 |
+
"eval_loss": 1.0571058988571167,
|
4 |
+
"eval_runtime": 871.0794,
|
5 |
+
"eval_samples": 31055,
|
6 |
+
"eval_samples_per_second": 5.121,
|
7 |
+
"eval_steps_per_second": 0.641,
|
8 |
"total_flos": 4.151601388859687e+18,
|
9 |
"train_loss": 1.2674157931559251,
|
10 |
"train_runtime": 31909.1388,
|
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "meta-llama/Meta-Llama-3.1-8B-Instruct",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 128000,
|
9 |
+
"eos_token_id": [
|
10 |
+
128001,
|
11 |
+
128008,
|
12 |
+
128009
|
13 |
+
],
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"hidden_size": 4096,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 14336,
|
18 |
+
"max_position_embeddings": 131072,
|
19 |
+
"mlp_bias": false,
|
20 |
+
"model_type": "llama",
|
21 |
+
"num_attention_heads": 32,
|
22 |
+
"num_hidden_layers": 32,
|
23 |
+
"num_key_value_heads": 8,
|
24 |
+
"pretraining_tp": 1,
|
25 |
+
"quantization_config": {
|
26 |
+
"_load_in_4bit": true,
|
27 |
+
"_load_in_8bit": false,
|
28 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
29 |
+
"bnb_4bit_quant_storage": "uint8",
|
30 |
+
"bnb_4bit_quant_type": "nf4",
|
31 |
+
"bnb_4bit_use_double_quant": false,
|
32 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
33 |
+
"llm_int8_has_fp16_weight": false,
|
34 |
+
"llm_int8_skip_modules": null,
|
35 |
+
"llm_int8_threshold": 6.0,
|
36 |
+
"load_in_4bit": true,
|
37 |
+
"load_in_8bit": false,
|
38 |
+
"quant_method": "bitsandbytes"
|
39 |
+
},
|
40 |
+
"rms_norm_eps": 1e-05,
|
41 |
+
"rope_scaling": {
|
42 |
+
"factor": 8.0,
|
43 |
+
"high_freq_factor": 4.0,
|
44 |
+
"low_freq_factor": 1.0,
|
45 |
+
"original_max_position_embeddings": 8192,
|
46 |
+
"rope_type": "llama3"
|
47 |
+
},
|
48 |
+
"rope_theta": 500000.0,
|
49 |
+
"tie_word_embeddings": false,
|
50 |
+
"torch_dtype": "bfloat16",
|
51 |
+
"transformers_version": "4.44.2",
|
52 |
+
"use_cache": true,
|
53 |
+
"vocab_size": 128256
|
54 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9999106584472438,
|
3 |
+
"eval_loss": 1.0571058988571167,
|
4 |
+
"eval_runtime": 871.0794,
|
5 |
+
"eval_samples": 31055,
|
6 |
+
"eval_samples_per_second": 5.121,
|
7 |
+
"eval_steps_per_second": 0.641
|
8 |
+
}
|