chanchan7 commited on
Commit
54d0ef3
1 Parent(s): aef4b53

End of training

Browse files
Files changed (2) hide show
  1. README.md +5 -1
  2. config.json +40 -0
README.md CHANGED
@@ -1,9 +1,13 @@
1
  ---
2
  library_name: peft
3
  tags:
 
 
4
  - trl
5
  - dpo
6
  - generated_from_trainer
 
 
7
  base_model: meta-llama/Llama-2-7b-chat-hf
8
  model-index:
9
  - name: llama-7b-dpo-qlora
@@ -15,7 +19,7 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # llama-7b-dpo-qlora
17
 
18
- This model is a fine-tuned version of [meta-llama/Llama-2-7b-chat-hf](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
  - Loss: 0.5797
21
  - Rewards/chosen: -0.7180
 
1
  ---
2
  library_name: peft
3
  tags:
4
+ - alignment-handbook
5
+ - generated_from_trainer
6
  - trl
7
  - dpo
8
  - generated_from_trainer
9
+ datasets:
10
+ - HuggingFaceH4/ultrafeedback_binarized
11
  base_model: meta-llama/Llama-2-7b-chat-hf
12
  model-index:
13
  - name: llama-7b-dpo-qlora
 
19
 
20
  # llama-7b-dpo-qlora
21
 
22
+ This model is a fine-tuned version of [meta-llama/Llama-2-7b-chat-hf](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf) on the HuggingFaceH4/ultrafeedback_binarized dataset.
23
  It achieves the following results on the evaluation set:
24
  - Loss: 0.5797
25
  - Rewards/chosen: -0.7180
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
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
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 11008,
14
+ "max_position_embeddings": 4096,
15
+ "model_type": "llama",
16
+ "num_attention_heads": 32,
17
+ "num_hidden_layers": 32,
18
+ "num_key_value_heads": 32,
19
+ "pretraining_tp": 1,
20
+ "quantization_config": {
21
+ "bnb_4bit_compute_dtype": "bfloat16",
22
+ "bnb_4bit_quant_type": "nf4",
23
+ "bnb_4bit_use_double_quant": false,
24
+ "llm_int8_enable_fp32_cpu_offload": false,
25
+ "llm_int8_has_fp16_weight": false,
26
+ "llm_int8_skip_modules": null,
27
+ "llm_int8_threshold": 6.0,
28
+ "load_in_4bit": true,
29
+ "load_in_8bit": false,
30
+ "quant_method": "bitsandbytes"
31
+ },
32
+ "rms_norm_eps": 1e-05,
33
+ "rope_scaling": null,
34
+ "rope_theta": 10000.0,
35
+ "tie_word_embeddings": false,
36
+ "torch_dtype": "bfloat16",
37
+ "transformers_version": "4.36.2",
38
+ "use_cache": true,
39
+ "vocab_size": 32000
40
+ }