smrynrz20 commited on
Commit
6de4aba
·
verified ·
1 Parent(s): 55ed9a1

Model save

Browse files
Files changed (1) hide show
  1. README.md +78 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: genaitraining/llama-2-7b-domain-tuned
3
+ tags:
4
+ - trl
5
+ - sft
6
+ - generated_from_trainer
7
+ datasets:
8
+ - generator
9
+ model-index:
10
+ - name: llama2-7b-tuned-qna
11
+ results: []
12
+ library_name: peft
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # llama2-7b-tuned-qna
19
+
20
+ This model is a fine-tuned version of [genaitraining/llama-2-7b-domain-tuned](https://huggingface.co/genaitraining/llama-2-7b-domain-tuned) on the generator dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.7823
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+
39
+ The following `bitsandbytes` quantization config was used during training:
40
+ - quant_method: bitsandbytes
41
+ - _load_in_8bit: False
42
+ - _load_in_4bit: True
43
+ - llm_int8_threshold: 6.0
44
+ - llm_int8_skip_modules: None
45
+ - llm_int8_enable_fp32_cpu_offload: False
46
+ - llm_int8_has_fp16_weight: False
47
+ - bnb_4bit_quant_type: nf4
48
+ - bnb_4bit_use_double_quant: False
49
+ - bnb_4bit_compute_dtype: float16
50
+ - bnb_4bit_quant_storage: uint8
51
+ - load_in_4bit: True
52
+ - load_in_8bit: False
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 0.0002
57
+ - train_batch_size: 1
58
+ - eval_batch_size: 1
59
+ - seed: 42
60
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
61
+ - lr_scheduler_type: linear
62
+ - num_epochs: 1
63
+ - mixed_precision_training: Native AMP
64
+
65
+ ### Training results
66
+
67
+ | Training Loss | Epoch | Step | Validation Loss |
68
+ |:-------------:|:-----:|:----:|:---------------:|
69
+ | 0.821 | 1.0 | 8859 | 0.7823 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - PEFT 0.4.0
75
+ - Transformers 4.40.2
76
+ - Pytorch 2.2.1+cu121
77
+ - Datasets 2.13.0
78
+ - Tokenizers 0.19.1