DrishtiSharma
commited on
Commit
•
b082256
1
Parent(s):
9e3703c
End of training
Browse files- README.md +66 -0
- adapter_config.json +32 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
base_model: mistralai/Mixtral-8x7B-Instruct-v0.1
|
7 |
+
model-index:
|
8 |
+
- name: mixtral-8x7b-instruct-v0.1-english-to-hinglish-translation
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# mixtral-8x7b-instruct-v0.1-english-to-hinglish-translation
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [mistralai/Mixtral-8x7B-Instruct-v0.1](https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.8719
|
20 |
+
- Rouge Scores: {'rouge1': 93.54182106152926, 'rouge2': 86.05446823709033, 'rougeL': 88.96922992123118, 'rougeLsum': 93.53351107529416}
|
21 |
+
- Bleu Scores: [0.0005895581385084092, 0.0005810015690343468, 0.0005667645554887882, 0.0005509301891024064]
|
22 |
+
- Gen Len: 2047.998
|
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 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 0.0001
|
42 |
+
- train_batch_size: 2
|
43 |
+
- eval_batch_size: 8
|
44 |
+
- seed: 42
|
45 |
+
- gradient_accumulation_steps: 2
|
46 |
+
- total_train_batch_size: 4
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: cosine
|
49 |
+
- num_epochs: 2
|
50 |
+
- mixed_precision_training: Native AMP
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge Scores | Bleu Scores | Gen Len |
|
55 |
+
|:-------------:|:-----:|:----:|:---------------:|:-----------------------------------------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------------------:|:--------:|
|
56 |
+
| 0.9944 | 1.0 | 500 | 0.8572 | {'rouge1': 93.66433639177112, 'rouge2': 86.16312209617104, 'rougeL': 88.96569028246026, 'rougeLsum': 93.65082127462976} | [0.000581715028380836, 0.0005735131190908485, 0.000559640714092523, 0.0005441766968373427] | 2047.998 |
|
57 |
+
| 0.6294 | 2.0 | 1000 | 0.8719 | {'rouge1': 93.54182106152926, 'rouge2': 86.05446823709033, 'rougeL': 88.96922992123118, 'rougeLsum': 93.53351107529416} | [0.0005895581385084092, 0.0005810015690343468, 0.0005667645554887882, 0.0005509301891024064] | 2047.998 |
|
58 |
+
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- PEFT 0.8.2
|
63 |
+
- Transformers 4.38.0.dev0
|
64 |
+
- Pytorch 2.1.0+cu118
|
65 |
+
- Datasets 2.16.2.dev0
|
66 |
+
- 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": "mistralai/Mixtral-8x7B-Instruct-v0.1",
|
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 |
+
"w3",
|
23 |
+
"w1",
|
24 |
+
"q_proj",
|
25 |
+
"w2",
|
26 |
+
"o_proj",
|
27 |
+
"k_proj",
|
28 |
+
"v_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:4b60c8ba6d2d6707f72f77f8c915091af1c1ba748b36ff81fec0743b9c87da44
|
3 |
+
size 3842250744
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9c566a1daafee782e50b21ecb1973045dbb05458d1a63ce06dc6181b86d8ac0
|
3 |
+
size 4792
|