End of training
Browse files- README.md +4 -1
- all_results.json +5 -0
- config.json +55 -0
- eval_results.json +7 -0
README.md
CHANGED
@@ -1,9 +1,12 @@
|
|
1 |
---
|
2 |
base_model: HuggingFaceTB/SmolLM2-135M-Instruct
|
|
|
|
|
3 |
library_name: transformers
|
4 |
model_name: smollm2-135m-sft-qlora-test
|
5 |
tags:
|
6 |
- generated_from_trainer
|
|
|
7 |
- trl
|
8 |
- sft
|
9 |
licence: license
|
@@ -11,7 +14,7 @@ licence: license
|
|
11 |
|
12 |
# Model Card for smollm2-135m-sft-qlora-test
|
13 |
|
14 |
-
This model is a fine-tuned version of [HuggingFaceTB/SmolLM2-135M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct).
|
15 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
|
17 |
## Quick start
|
|
|
1 |
---
|
2 |
base_model: HuggingFaceTB/SmolLM2-135M-Instruct
|
3 |
+
datasets:
|
4 |
+
- HuggingFaceH4/ultrachat_200k
|
5 |
library_name: transformers
|
6 |
model_name: smollm2-135m-sft-qlora-test
|
7 |
tags:
|
8 |
- generated_from_trainer
|
9 |
+
- alignment-handbook
|
10 |
- trl
|
11 |
- sft
|
12 |
licence: license
|
|
|
14 |
|
15 |
# Model Card for smollm2-135m-sft-qlora-test
|
16 |
|
17 |
+
This model is a fine-tuned version of [HuggingFaceTB/SmolLM2-135M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct) on the [['HuggingFaceH4/ultrachat_200k']](https://huggingface.co/datasets/['HuggingFaceH4/ultrachat_200k']) dataset.
|
18 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
19 |
|
20 |
## Quick start
|
all_results.json
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
2 |
"total_flos": 2381129238708224.0,
|
3 |
"train_loss": 0.0,
|
4 |
"train_runtime": 0.6875,
|
|
|
1 |
{
|
2 |
+
"eval_loss": 1.6983668804168701,
|
3 |
+
"eval_runtime": 14.6688,
|
4 |
+
"eval_samples": 232,
|
5 |
+
"eval_samples_per_second": 15.816,
|
6 |
+
"eval_steps_per_second": 1.977,
|
7 |
"total_flos": 2381129238708224.0,
|
8 |
"train_loss": 0.0,
|
9 |
"train_runtime": 0.6875,
|
config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "HuggingFaceTB/SmolLM2-135M-Instruct",
|
4 |
+
"architectures": [
|
5 |
+
"LlamaForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_bias": false,
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"head_dim": 64,
|
12 |
+
"hidden_act": "silu",
|
13 |
+
"hidden_size": 576,
|
14 |
+
"initializer_range": 0.041666666666666664,
|
15 |
+
"intermediate_size": 1536,
|
16 |
+
"is_llama_config": true,
|
17 |
+
"max_position_embeddings": 8192,
|
18 |
+
"mlp_bias": false,
|
19 |
+
"model_type": "llama",
|
20 |
+
"num_attention_heads": 9,
|
21 |
+
"num_hidden_layers": 30,
|
22 |
+
"num_key_value_heads": 3,
|
23 |
+
"pad_token_id": 2,
|
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_interleaved": false,
|
42 |
+
"rope_scaling": null,
|
43 |
+
"rope_theta": 100000,
|
44 |
+
"tie_word_embeddings": true,
|
45 |
+
"torch_dtype": "bfloat16",
|
46 |
+
"transformers.js_config": {
|
47 |
+
"kv_cache_dtype": {
|
48 |
+
"fp16": "float16",
|
49 |
+
"q4f16": "float16"
|
50 |
+
}
|
51 |
+
},
|
52 |
+
"transformers_version": "4.49.0",
|
53 |
+
"use_cache": true,
|
54 |
+
"vocab_size": 49152
|
55 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eval_loss": 1.6983668804168701,
|
3 |
+
"eval_runtime": 14.6688,
|
4 |
+
"eval_samples": 232,
|
5 |
+
"eval_samples_per_second": 15.816,
|
6 |
+
"eval_steps_per_second": 1.977
|
7 |
+
}
|