Commit ·
eb89e62
1
Parent(s): 7940d6f
Upload model
Browse files- README.md +63 -0
- adapter_config.json +24 -0
README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- generated_from_trainer
|
| 4 |
+
metrics:
|
| 5 |
+
- accuracy
|
| 6 |
+
model-index:
|
| 7 |
+
- name: falcon-7b-ift-rm-22
|
| 8 |
+
results: []
|
| 9 |
+
library_name: peft
|
| 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 |
+
# falcon-7b-ift-rm-22
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [HuggingFaceH4/falcon-7b-ift](https://huggingface.co/HuggingFaceH4/falcon-7b-ift) on the None dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.6089
|
| 20 |
+
- Accuracy: 0.6533
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 0.0001
|
| 40 |
+
- train_batch_size: 2
|
| 41 |
+
- eval_batch_size: 2
|
| 42 |
+
- seed: 42
|
| 43 |
+
- distributed_type: multi-GPU
|
| 44 |
+
- num_devices: 8
|
| 45 |
+
- total_train_batch_size: 16
|
| 46 |
+
- total_eval_batch_size: 16
|
| 47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 48 |
+
- lr_scheduler_type: linear
|
| 49 |
+
- num_epochs: 1
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 54 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 55 |
+
| 0.5935 | 1.0 | 2197 | 0.6089 | 0.6533 |
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
### Framework versions
|
| 59 |
+
|
| 60 |
+
- Transformers 4.30.1
|
| 61 |
+
- Pytorch 2.0.1+cu117
|
| 62 |
+
- Datasets 2.12.0
|
| 63 |
+
- Tokenizers 0.13.3
|
adapter_config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"base_model_name_or_path": "HuggingFaceH4/falcon-7b-ift",
|
| 3 |
+
"bias": "none",
|
| 4 |
+
"fan_in_fan_out": false,
|
| 5 |
+
"inference_mode": true,
|
| 6 |
+
"init_lora_weights": true,
|
| 7 |
+
"layers_pattern": null,
|
| 8 |
+
"layers_to_transform": null,
|
| 9 |
+
"lora_alpha": 32,
|
| 10 |
+
"lora_dropout": 0.05,
|
| 11 |
+
"modules_to_save": [
|
| 12 |
+
"score"
|
| 13 |
+
],
|
| 14 |
+
"peft_type": "LORA",
|
| 15 |
+
"r": 16,
|
| 16 |
+
"revision": null,
|
| 17 |
+
"target_modules": [
|
| 18 |
+
"query_key_value",
|
| 19 |
+
"dense",
|
| 20 |
+
"dense_h_to_4h",
|
| 21 |
+
"dense_4h_to_h"
|
| 22 |
+
],
|
| 23 |
+
"task_type": "SEQ_CLS"
|
| 24 |
+
}
|