moodlep commited on
Commit
9f43716
·
verified ·
1 Parent(s): 65630a1

End of training

Browse files
README.md CHANGED
@@ -3,9 +3,13 @@ library_name: peft
3
  license: apache-2.0
4
  base_model: HuggingFaceTB/SmolLM2-1.7B-Instruct
5
  tags:
 
6
  - trl
7
  - dpo
8
  - generated_from_trainer
 
 
 
9
  model-index:
10
  - name: smollm2-17b-dpo-cai-v1
11
  results: []
@@ -16,17 +20,17 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # smollm2-17b-dpo-cai-v1
18
 
19
- This model is a fine-tuned version of [HuggingFaceTB/SmolLM2-1.7B-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct) on the None dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.6929
22
- - Rewards/chosen: -0.0007
23
- - Rewards/rejected: -0.0011
24
- - Rewards/accuracies: 0.4487
25
- - Rewards/margins: 0.0004
26
- - Logps/rejected: -228.6854
27
- - Logps/chosen: -245.1230
28
- - Logits/rejected: -1.2768
29
- - Logits/chosen: -1.2404
30
 
31
  ## Model description
32
 
 
3
  license: apache-2.0
4
  base_model: HuggingFaceTB/SmolLM2-1.7B-Instruct
5
  tags:
6
+ - alignment-handbook
7
  - trl
8
  - dpo
9
  - generated_from_trainer
10
+ datasets:
11
+ - HuggingFaceH4/ultrafeedback_binarized
12
+ - HuggingFaceH4/cai-conversation-harmless
13
  model-index:
14
  - name: smollm2-17b-dpo-cai-v1
15
  results: []
 
20
 
21
  # smollm2-17b-dpo-cai-v1
22
 
23
+ This model is a fine-tuned version of [moodlep/smollm2-1.7b-instr-sft-cai](https://huggingface.co/moodlep/smollm2-1.7b-instr-sft-cai) on the HuggingFaceH4/ultrafeedback_binarized and the HuggingFaceH4/cai-conversation-harmless datasets.
24
  It achieves the following results on the evaluation set:
25
+ - Loss: 0.6931
26
+ - Rewards/chosen: 0.0000
27
+ - Rewards/rejected: -0.0001
28
+ - Rewards/accuracies: 0.4339
29
+ - Rewards/margins: 0.0002
30
+ - Logps/rejected: -228.5849
31
+ - Logps/chosen: -245.0489
32
+ - Logits/rejected: -1.4322
33
+ - Logits/chosen: -1.3905
34
 
35
  ## Model description
36
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 0.9980582524271845,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.6931419428220519,
5
  "train_runtime": 4635.9681,
 
1
  {
2
  "epoch": 0.9980582524271845,
3
+ "eval_logits/chosen": -1.39054536819458,
4
+ "eval_logits/rejected": -1.4322466850280762,
5
+ "eval_logps/chosen": -245.04893493652344,
6
+ "eval_logps/rejected": -228.5849151611328,
7
+ "eval_loss": 0.6930710077285767,
8
+ "eval_rewards/accuracies": 0.43386074900627136,
9
+ "eval_rewards/chosen": 2.820852751028724e-05,
10
+ "eval_rewards/margins": 0.00016564132238272578,
11
+ "eval_rewards/rejected": -0.00013743281306233257,
12
+ "eval_runtime": 970.4456,
13
+ "eval_samples": 3156,
14
+ "eval_samples_per_second": 3.252,
15
+ "eval_steps_per_second": 0.407,
16
  "total_flos": 0.0,
17
  "train_loss": 0.6931419428220519,
18
  "train_runtime": 4635.9681,
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "HuggingFaceTB/SmolLM2-1.7B-Instruct",
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.js_config": {
44
+ "kv_cache_dtype": {
45
+ "fp16": "float16",
46
+ "q4f16": "float16"
47
+ }
48
+ },
49
+ "transformers_version": "4.45.0",
50
+ "use_cache": true,
51
+ "vocab_size": 49152
52
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9980582524271845,
3
+ "eval_logits/chosen": -1.39054536819458,
4
+ "eval_logits/rejected": -1.4322466850280762,
5
+ "eval_logps/chosen": -245.04893493652344,
6
+ "eval_logps/rejected": -228.5849151611328,
7
+ "eval_loss": 0.6930710077285767,
8
+ "eval_rewards/accuracies": 0.43386074900627136,
9
+ "eval_rewards/chosen": 2.820852751028724e-05,
10
+ "eval_rewards/margins": 0.00016564132238272578,
11
+ "eval_rewards/rejected": -0.00013743281306233257,
12
+ "eval_runtime": 970.4456,
13
+ "eval_samples": 3156,
14
+ "eval_samples_per_second": 3.252,
15
+ "eval_steps_per_second": 0.407
16
+ }
runs/Jan09_13-33-32_pkaiju/events.out.tfevents.1736435273.pkaiju.69119.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39e0e8718f5d85beba0ada8986e4ff4da9aa7df9be6fc9109e17015f8f5cdf73
3
+ size 828