fayetitchenal
commited on
Commit
•
4f4eb00
1
Parent(s):
9b2a8a9
End of training
Browse files- README.md +17 -9
- adapter_config.json +6 -6
- adapter_model.safetensors +2 -2
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +0 -0
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1 |
---
|
2 |
base_model: mistralai/Mistral-7B-Instruct-v0.3
|
|
|
|
|
3 |
library_name: peft
|
4 |
license: apache-2.0
|
5 |
tags:
|
|
|
|
|
6 |
- generated_from_trainer
|
7 |
model-index:
|
8 |
- name: mistral-mistralinstruct_climate_finetune
|
@@ -12,12 +16,12 @@ model-index:
|
|
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 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/fayetitchenal-university-of-california-berkeley/mistralinstruct_climate_finetune/runs/
|
16 |
# mistral-mistralinstruct_climate_finetune
|
17 |
|
18 |
-
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3) on
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss:
|
21 |
|
22 |
## Model description
|
23 |
|
@@ -36,26 +40,30 @@ More information needed
|
|
36 |
### Training hyperparameters
|
37 |
|
38 |
The following hyperparameters were used during training:
|
39 |
-
- learning_rate:
|
40 |
- train_batch_size: 8
|
41 |
- eval_batch_size: 8
|
42 |
- seed: 42
|
|
|
|
|
43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
- lr_scheduler_type: constant
|
45 |
- lr_scheduler_warmup_ratio: 0.03
|
46 |
-
- num_epochs:
|
47 |
|
48 |
### Training results
|
49 |
|
50 |
-
| Training Loss | Epoch
|
51 |
-
|
52 |
-
| 1.
|
|
|
|
|
53 |
|
54 |
|
55 |
### Framework versions
|
56 |
|
57 |
- PEFT 0.11.1
|
58 |
- Transformers 4.42.4
|
59 |
-
- Pytorch 2.3.
|
60 |
- Datasets 2.20.0
|
61 |
- Tokenizers 0.19.1
|
|
|
1 |
---
|
2 |
base_model: mistralai/Mistral-7B-Instruct-v0.3
|
3 |
+
datasets:
|
4 |
+
- generator
|
5 |
library_name: peft
|
6 |
license: apache-2.0
|
7 |
tags:
|
8 |
+
- trl
|
9 |
+
- sft
|
10 |
- generated_from_trainer
|
11 |
model-index:
|
12 |
- name: mistral-mistralinstruct_climate_finetune
|
|
|
16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
should probably proofread and complete it, then remove this comment. -->
|
18 |
|
19 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/fayetitchenal-university-of-california-berkeley/mistralinstruct_climate_finetune/runs/9qdupr57)
|
20 |
# mistral-mistralinstruct_climate_finetune
|
21 |
|
22 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3) on the generator dataset.
|
23 |
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.6394
|
25 |
|
26 |
## Model description
|
27 |
|
|
|
40 |
### Training hyperparameters
|
41 |
|
42 |
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 0.0002
|
44 |
- train_batch_size: 8
|
45 |
- eval_batch_size: 8
|
46 |
- seed: 42
|
47 |
+
- gradient_accumulation_steps: 2
|
48 |
+
- total_train_batch_size: 16
|
49 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
- lr_scheduler_type: constant
|
51 |
- lr_scheduler_warmup_ratio: 0.03
|
52 |
+
- num_epochs: 3
|
53 |
|
54 |
### Training results
|
55 |
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
57 |
+
|:-------------:|:------:|:----:|:---------------:|
|
58 |
+
| 1.632 | 0.9811 | 26 | 1.3186 |
|
59 |
+
| 1.0175 | 2.0 | 53 | 0.8842 |
|
60 |
+
| 0.555 | 2.9434 | 78 | 0.6394 |
|
61 |
|
62 |
|
63 |
### Framework versions
|
64 |
|
65 |
- PEFT 0.11.1
|
66 |
- Transformers 4.42.4
|
67 |
+
- Pytorch 2.3.1+cu121
|
68 |
- Datasets 2.20.0
|
69 |
- Tokenizers 0.19.1
|
adapter_config.json
CHANGED
@@ -10,24 +10,24 @@
|
|
10 |
"layers_pattern": null,
|
11 |
"layers_to_transform": null,
|
12 |
"loftq_config": {},
|
13 |
-
"lora_alpha":
|
14 |
"lora_dropout": 0.1,
|
15 |
"megatron_config": null,
|
16 |
"megatron_core": "megatron.core",
|
17 |
"modules_to_save": null,
|
18 |
"peft_type": "LORA",
|
19 |
-
"r":
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
"down_proj",
|
|
|
24 |
"up_proj",
|
25 |
"k_proj",
|
26 |
-
"
|
27 |
"v_proj",
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"o_proj"
|
31 |
],
|
32 |
"task_type": "CAUSAL_LM",
|
33 |
"use_dora": false,
|
|
|
10 |
"layers_pattern": null,
|
11 |
"layers_to_transform": null,
|
12 |
"loftq_config": {},
|
13 |
+
"lora_alpha": 32,
|
14 |
"lora_dropout": 0.1,
|
15 |
"megatron_config": null,
|
16 |
"megatron_core": "megatron.core",
|
17 |
"modules_to_save": null,
|
18 |
"peft_type": "LORA",
|
19 |
+
"r": 16,
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
"down_proj",
|
24 |
+
"gate_proj",
|
25 |
"up_proj",
|
26 |
"k_proj",
|
27 |
+
"o_proj",
|
28 |
"v_proj",
|
29 |
+
"q_proj",
|
30 |
+
"lm_head"
|
|
|
31 |
],
|
32 |
"task_type": "CAUSAL_LM",
|
33 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15c5f87436c262db9d8832cb20053866733212d51d14af88d265cedc21c4ab07
|
3 |
+
size 707063376
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "</s>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
|
3 |
+
size 587404
|
tokenizer_config.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fac0d1b77b547b8ccf7ea91b8614e1e1551b75edbfe0b7ae34f6578a7bc080f3
|
3 |
+
size 5496
|