ryankim0709
commited on
Commit
•
04fc18f
1
Parent(s):
8a5b730
End of training
Browse files- README.md +71 -0
- adapter_config.json +32 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
base_model: HuggingFaceM4/idefics-9b
|
7 |
+
model-index:
|
8 |
+
- name: idefics-9b-YBT-Scores
|
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 |
+
# idefics-9b-YBT-Scores
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [HuggingFaceM4/idefics-9b](https://huggingface.co/HuggingFaceM4/idefics-9b) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 2.9246
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 0.0002
|
39 |
+
- train_batch_size: 1
|
40 |
+
- eval_batch_size: 1
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 8
|
43 |
+
- total_train_batch_size: 8
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- training_steps: 100
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
53 |
+
| 2.1393 | 2.76 | 10 | 2.0003 |
|
54 |
+
| 1.4136 | 5.52 | 20 | 1.5828 |
|
55 |
+
| 1.1321 | 8.28 | 30 | 1.5916 |
|
56 |
+
| 0.8633 | 11.03 | 40 | 1.6502 |
|
57 |
+
| 0.6091 | 13.79 | 50 | 1.8128 |
|
58 |
+
| 0.406 | 16.55 | 60 | 2.0350 |
|
59 |
+
| 0.2218 | 19.31 | 70 | 2.3489 |
|
60 |
+
| 0.1255 | 22.07 | 80 | 2.6919 |
|
61 |
+
| 0.0711 | 24.83 | 90 | 2.8418 |
|
62 |
+
| 0.0606 | 27.59 | 100 | 2.9246 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- PEFT 0.9.1.dev0
|
68 |
+
- Transformers 4.38.2
|
69 |
+
- Pytorch 2.2.1+cu121
|
70 |
+
- Datasets 2.18.0
|
71 |
+
- Tokenizers 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": {
|
4 |
+
"base_model_class": "IdeficsForVisionText2Text",
|
5 |
+
"parent_library": "transformers.models.idefics.modeling_idefics"
|
6 |
+
},
|
7 |
+
"base_model_name_or_path": "HuggingFaceM4/idefics-9b",
|
8 |
+
"bias": "none",
|
9 |
+
"fan_in_fan_out": false,
|
10 |
+
"inference_mode": true,
|
11 |
+
"init_lora_weights": true,
|
12 |
+
"layers_pattern": null,
|
13 |
+
"layers_to_transform": null,
|
14 |
+
"loftq_config": {},
|
15 |
+
"lora_alpha": 32,
|
16 |
+
"lora_dropout": 0.05,
|
17 |
+
"megatron_config": null,
|
18 |
+
"megatron_core": "megatron.core",
|
19 |
+
"modules_to_save": null,
|
20 |
+
"peft_type": "LORA",
|
21 |
+
"r": 16,
|
22 |
+
"rank_pattern": {},
|
23 |
+
"revision": null,
|
24 |
+
"target_modules": [
|
25 |
+
"k_proj",
|
26 |
+
"v_proj",
|
27 |
+
"q_proj"
|
28 |
+
],
|
29 |
+
"task_type": null,
|
30 |
+
"use_dora": false,
|
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:5785903a2d34e8358252b61cf026b272d08325e5058e07a09ea449f423bccbbc
|
3 |
+
size 79071880
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5017311768b8a60d1290899f1e341910f2bab2820721b375b306b3c4f5843d31
|
3 |
+
size 4856
|