DrishtiSharma
commited on
Commit
•
5ca4a67
1
Parent(s):
0ed59c5
End of training
Browse files- README.md +65 -0
- adapter_config.json +32 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
base_model: TheBloke/Llama-2-13B-fp16
|
6 |
+
model-index:
|
7 |
+
- name: llama-2-13b-fp16-english-to-hinglish-translation
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# llama-2-13b-fp16-english-to-hinglish-translation
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [TheBloke/Llama-2-13B-fp16](https://huggingface.co/TheBloke/Llama-2-13B-fp16) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.7183
|
19 |
+
- Rouge Scores: {'rouge1': 0.9211071676780294, 'rouge2': 0.8281733381382788, 'rougeL': 0.8654973199305598, 'rougeLsum': 0.921063419066345}
|
20 |
+
- Bleu Scores: [0.9430761623222732, 0.9291834498365306, 0.9116309260224186, 0.8930302852359673]
|
21 |
+
- Gen Len: 2048.0
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 0.0001
|
41 |
+
- train_batch_size: 2
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 2
|
45 |
+
- total_train_batch_size: 4
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: cosine
|
48 |
+
- num_epochs: 2
|
49 |
+
- mixed_precision_training: Native AMP
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge Scores | Bleu Scores | Gen Len |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------------------------------------------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------:|:-------:|
|
55 |
+
| 0.7634 | 1.0 | 500 | 0.7242 | {'rouge1': 0.9226356216479343, 'rouge2': 0.8298878258164286, 'rougeL': 0.8653820285905314, 'rougeLsum': 0.9225028041599788} | [0.9438235001535462, 0.9299872780706577, 0.9124966958220146, 0.8939299935025186] | 2048.0 |
|
56 |
+
| 0.5477 | 2.0 | 1000 | 0.7183 | {'rouge1': 0.9211071676780294, 'rouge2': 0.8281733381382788, 'rougeL': 0.8654973199305598, 'rougeLsum': 0.921063419066345} | [0.9430761623222732, 0.9291834498365306, 0.9116309260224186, 0.8930302852359673] | 2048.0 |
|
57 |
+
|
58 |
+
|
59 |
+
### Framework versions
|
60 |
+
|
61 |
+
- PEFT 0.8.2
|
62 |
+
- Transformers 4.38.0.dev0
|
63 |
+
- Pytorch 2.1.0+cu118
|
64 |
+
- Datasets 2.16.2.dev0
|
65 |
+
- Tokenizers 0.15.1
|
adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "TheBloke/Llama-2-13B-fp16",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 64,
|
13 |
+
"lora_dropout": 0.0,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 64,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"up_proj",
|
23 |
+
"gate_proj",
|
24 |
+
"down_proj",
|
25 |
+
"o_proj",
|
26 |
+
"v_proj",
|
27 |
+
"q_proj",
|
28 |
+
"k_proj"
|
29 |
+
],
|
30 |
+
"task_type": "CAUSAL_LM",
|
31 |
+
"use_rslora": false
|
32 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a0feb6496bcc1ac5257e177b050c05e404f2a0e1fef83acd7ff4aabfeed3f2f2
|
3 |
+
size 1001465824
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42fc9af9150e3c013da924e960f9204c15d4cb9f2fda437e293645764db33319
|
3 |
+
size 4792
|