End of training
Browse files- README.md +6 -2
- all_results.json +5 -0
- config.json +42 -0
- eval_results.json +8 -0
README.md
CHANGED
@@ -2,12 +2,16 @@
|
|
2 |
license: other
|
3 |
library_name: peft
|
4 |
tags:
|
|
|
|
|
|
|
|
|
5 |
- trl
|
6 |
- sft
|
7 |
- generated_from_trainer
|
8 |
base_model: google/gemma-7b
|
9 |
datasets:
|
10 |
-
-
|
11 |
model-index:
|
12 |
- name: gemma-sft-qlora
|
13 |
results: []
|
@@ -18,7 +22,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
# gemma-sft-qlora
|
20 |
|
21 |
-
This model is a fine-tuned version of [google/gemma-7b](https://huggingface.co/google/gemma-7b) on the
|
22 |
It achieves the following results on the evaluation set:
|
23 |
- Loss: 0.6385
|
24 |
|
|
|
2 |
license: other
|
3 |
library_name: peft
|
4 |
tags:
|
5 |
+
- alignment-handbook
|
6 |
+
- trl
|
7 |
+
- sft
|
8 |
+
- generated_from_trainer
|
9 |
- trl
|
10 |
- sft
|
11 |
- generated_from_trainer
|
12 |
base_model: google/gemma-7b
|
13 |
datasets:
|
14 |
+
- satpalsr/hindi-sample
|
15 |
model-index:
|
16 |
- name: gemma-sft-qlora
|
17 |
results: []
|
|
|
22 |
|
23 |
# gemma-sft-qlora
|
24 |
|
25 |
+
This model is a fine-tuned version of [google/gemma-7b](https://huggingface.co/google/gemma-7b) on the satpalsr/hindi-sample dataset.
|
26 |
It achieves the following results on the evaluation set:
|
27 |
- Loss: 0.6385
|
28 |
|
all_results.json
CHANGED
@@ -1,5 +1,10 @@
|
|
1 |
{
|
2 |
"epoch": 3.96,
|
|
|
|
|
|
|
|
|
|
|
3 |
"train_loss": 1.1451922758938151,
|
4 |
"train_runtime": 4455.6354,
|
5 |
"train_samples": 19966,
|
|
|
1 |
{
|
2 |
"epoch": 3.96,
|
3 |
+
"eval_loss": 0.6385390162467957,
|
4 |
+
"eval_runtime": 16.4181,
|
5 |
+
"eval_samples": 1000,
|
6 |
+
"eval_samples_per_second": 17.359,
|
7 |
+
"eval_steps_per_second": 2.193,
|
8 |
"train_loss": 1.1451922758938151,
|
9 |
"train_runtime": 4455.6354,
|
10 |
"train_samples": 19966,
|
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/gemma-7b",
|
3 |
+
"architectures": [
|
4 |
+
"GemmaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 2,
|
9 |
+
"eos_token_id": 1,
|
10 |
+
"head_dim": 256,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_size": 3072,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 24576,
|
15 |
+
"max_position_embeddings": 8192,
|
16 |
+
"model_type": "gemma",
|
17 |
+
"num_attention_heads": 16,
|
18 |
+
"num_hidden_layers": 28,
|
19 |
+
"num_key_value_heads": 16,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"quantization_config": {
|
22 |
+
"_load_in_4bit": true,
|
23 |
+
"_load_in_8bit": false,
|
24 |
+
"bnb_4bit_compute_dtype": "float16",
|
25 |
+
"bnb_4bit_quant_type": "nf4",
|
26 |
+
"bnb_4bit_use_double_quant": false,
|
27 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
28 |
+
"llm_int8_has_fp16_weight": false,
|
29 |
+
"llm_int8_skip_modules": null,
|
30 |
+
"llm_int8_threshold": 6.0,
|
31 |
+
"load_in_4bit": true,
|
32 |
+
"load_in_8bit": false,
|
33 |
+
"quant_method": "bitsandbytes"
|
34 |
+
},
|
35 |
+
"rms_norm_eps": 1e-06,
|
36 |
+
"rope_scaling": null,
|
37 |
+
"rope_theta": 10000.0,
|
38 |
+
"torch_dtype": "float16",
|
39 |
+
"transformers_version": "4.38.2",
|
40 |
+
"use_cache": true,
|
41 |
+
"vocab_size": 256000
|
42 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.96,
|
3 |
+
"eval_loss": 0.6385390162467957,
|
4 |
+
"eval_runtime": 16.4181,
|
5 |
+
"eval_samples": 1000,
|
6 |
+
"eval_samples_per_second": 17.359,
|
7 |
+
"eval_steps_per_second": 2.193
|
8 |
+
}
|