gabrielmbmb HF staff commited on
Commit
ab610d7
1 Parent(s): 7deebed

End of training

Browse files
README.md CHANGED
@@ -2,9 +2,12 @@
2
  library_name: peft
3
  base_model: HuggingFaceTB/smollm2-1.7B-8k-mix7-ep2-v2
4
  tags:
 
5
  - trl
6
  - dpo
7
  - generated_from_trainer
 
 
8
  model-index:
9
  - name: smollm2-1.7B-8k-mix7-ep2-v2-qlora-r16-a16-lr3e4-mix1-dpo
10
  results: []
@@ -15,17 +18,17 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # smollm2-1.7B-8k-mix7-ep2-v2-qlora-r16-a16-lr3e4-mix1-dpo
17
 
18
- This model is a fine-tuned version of [HuggingFaceTB/smollm2-1.7B-8k-mix7-ep2-v2](https://huggingface.co/HuggingFaceTB/smollm2-1.7B-8k-mix7-ep2-v2) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.5157
21
- - Rewards/chosen: -4.3456
22
- - Rewards/rejected: -5.3593
23
- - Rewards/accuracies: 0.7695
24
- - Rewards/margins: 1.0137
25
- - Logps/rejected: -842.1772
26
- - Logps/chosen: -747.2964
27
- - Logits/rejected: -1.2109
28
- - Logits/chosen: -1.1871
29
 
30
  ## Model description
31
 
 
2
  library_name: peft
3
  base_model: HuggingFaceTB/smollm2-1.7B-8k-mix7-ep2-v2
4
  tags:
5
+ - alignment-handbook
6
  - trl
7
  - dpo
8
  - generated_from_trainer
9
+ datasets:
10
+ - HuggingFaceH4/ultrafeedback_binarized
11
  model-index:
12
  - name: smollm2-1.7B-8k-mix7-ep2-v2-qlora-r16-a16-lr3e4-mix1-dpo
13
  results: []
 
18
 
19
  # smollm2-1.7B-8k-mix7-ep2-v2-qlora-r16-a16-lr3e4-mix1-dpo
20
 
21
+ This model is a fine-tuned version of [gabrielmbmb/smollm2-1.7B-8k-mix7-ep2-v2-qlora-r16-a16-lr3e4-mix1](https://huggingface.co/gabrielmbmb/smollm2-1.7B-8k-mix7-ep2-v2-qlora-r16-a16-lr3e4-mix1) on the HuggingFaceH4/ultrafeedback_binarized dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 0.5156
24
+ - Rewards/chosen: -4.3948
25
+ - Rewards/rejected: -5.4305
26
+ - Rewards/accuracies: 0.7656
27
+ - Rewards/margins: 1.0357
28
+ - Logps/rejected: -849.2994
29
+ - Logps/chosen: -752.2209
30
+ - Logits/rejected: -1.2614
31
+ - Logits/chosen: -1.2341
32
 
33
  ## Model description
34
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 0.9984301412872841,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.5423707397229016,
5
  "train_runtime": 2137.6738,
 
1
  {
2
  "epoch": 0.9984301412872841,
3
+ "eval_logits/chosen": -1.234063982963562,
4
+ "eval_logits/rejected": -1.2614085674285889,
5
+ "eval_logps/chosen": -752.220947265625,
6
+ "eval_logps/rejected": -849.2994384765625,
7
+ "eval_loss": 0.51555335521698,
8
+ "eval_rewards/accuracies": 0.765625,
9
+ "eval_rewards/chosen": -4.394815921783447,
10
+ "eval_rewards/margins": 1.0356953144073486,
11
+ "eval_rewards/rejected": -5.430510997772217,
12
+ "eval_runtime": 33.965,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 58.884,
15
+ "eval_steps_per_second": 0.942,
16
  "total_flos": 0.0,
17
  "train_loss": 0.5423707397229016,
18
  "train_runtime": 2137.6738,
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "HuggingFaceTB/smollm2-1.7B-8k-mix7-ep2-v2",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "head_dim": 64,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 2048,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 8192,
15
+ "max_position_embeddings": 8192,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 32,
19
+ "num_hidden_layers": 24,
20
+ "num_key_value_heads": 32,
21
+ "pad_token_id": 2,
22
+ "pretraining_tp": 1,
23
+ "quantization_config": {
24
+ "_load_in_4bit": true,
25
+ "_load_in_8bit": false,
26
+ "bnb_4bit_compute_dtype": "bfloat16",
27
+ "bnb_4bit_quant_storage": "uint8",
28
+ "bnb_4bit_quant_type": "nf4",
29
+ "bnb_4bit_use_double_quant": false,
30
+ "llm_int8_enable_fp32_cpu_offload": false,
31
+ "llm_int8_has_fp16_weight": false,
32
+ "llm_int8_skip_modules": null,
33
+ "llm_int8_threshold": 6.0,
34
+ "load_in_4bit": true,
35
+ "load_in_8bit": false,
36
+ "quant_method": "bitsandbytes"
37
+ },
38
+ "rms_norm_eps": 1e-05,
39
+ "rope_scaling": null,
40
+ "rope_theta": 130000,
41
+ "tie_word_embeddings": true,
42
+ "torch_dtype": "bfloat16",
43
+ "transformers_version": "4.45.0",
44
+ "use_cache": true,
45
+ "vocab_size": 49152
46
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9984301412872841,
3
+ "eval_logits/chosen": -1.234063982963562,
4
+ "eval_logits/rejected": -1.2614085674285889,
5
+ "eval_logps/chosen": -752.220947265625,
6
+ "eval_logps/rejected": -849.2994384765625,
7
+ "eval_loss": 0.51555335521698,
8
+ "eval_rewards/accuracies": 0.765625,
9
+ "eval_rewards/chosen": -4.394815921783447,
10
+ "eval_rewards/margins": 1.0356953144073486,
11
+ "eval_rewards/rejected": -5.430510997772217,
12
+ "eval_runtime": 33.965,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 58.884,
15
+ "eval_steps_per_second": 0.942
16
+ }
runs/Nov05_11-27-51_ip-26-0-167-175/events.out.tfevents.1730808720.ip-26-0-167-175.3215185.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e71f7643d17defc27a00307a59b700fbd2ee36f8f8770427aed90de57fc87c9
3
+ size 828