IA3 applied #2
Browse files- README.md +50 -0
- adapter_config.json +21 -0
- adapter_model.bin +3 -0
- special_tokens_map.json +17 -0
- tokenizer.json +0 -0
- tokenizer_config.json +11 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: ybelkada/falcon-7b-sharded-bf16
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: falcon-7b-sharded-2
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# falcon-7b-sharded-2
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [ybelkada/falcon-7b-sharded-bf16](https://huggingface.co/ybelkada/falcon-7b-sharded-bf16) on an unknown dataset.
|
16 |
+
|
17 |
+
## Model description
|
18 |
+
|
19 |
+
More information needed
|
20 |
+
|
21 |
+
## Intended uses & limitations
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Training and evaluation data
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training procedure
|
30 |
+
|
31 |
+
### Training hyperparameters
|
32 |
+
|
33 |
+
The following hyperparameters were used during training:
|
34 |
+
- learning_rate: 0.0002
|
35 |
+
- train_batch_size: 4
|
36 |
+
- eval_batch_size: 1
|
37 |
+
- seed: 42
|
38 |
+
- gradient_accumulation_steps: 4
|
39 |
+
- total_train_batch_size: 16
|
40 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
41 |
+
- lr_scheduler_type: constant
|
42 |
+
- lr_scheduler_warmup_ratio: 0.03
|
43 |
+
- training_steps: 500
|
44 |
+
|
45 |
+
### Framework versions
|
46 |
+
|
47 |
+
- Transformers 4.33.2
|
48 |
+
- Pytorch 2.0.1+cu118
|
49 |
+
- Datasets 2.14.5
|
50 |
+
- Tokenizers 0.13.3
|
adapter_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "ybelkada/falcon-7b-sharded-bf16",
|
4 |
+
"fan_in_fan_out": false,
|
5 |
+
"feedforward_modules": [
|
6 |
+
"dense_h_to_4h",
|
7 |
+
"dense_4h_to_h"
|
8 |
+
],
|
9 |
+
"inference_mode": true,
|
10 |
+
"init_ia3_weights": true,
|
11 |
+
"modules_to_save": null,
|
12 |
+
"peft_type": "IA3",
|
13 |
+
"revision": null,
|
14 |
+
"target_modules": [
|
15 |
+
"query_key_value",
|
16 |
+
"dense",
|
17 |
+
"dense_h_to_4h",
|
18 |
+
"dense_4h_to_h"
|
19 |
+
],
|
20 |
+
"task_type": "CAUSAL_LM"
|
21 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20f15d1f62982df1132cb520b857f18d8a74aa4a92df1cc24e96a76ad662bc91
|
3 |
+
size 4133325
|
special_tokens_map.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
">>TITLE<<",
|
4 |
+
">>ABSTRACT<<",
|
5 |
+
">>INTRODUCTION<<",
|
6 |
+
">>SUMMARY<<",
|
7 |
+
">>COMMENT<<",
|
8 |
+
">>ANSWER<<",
|
9 |
+
">>QUESTION<<",
|
10 |
+
">>DOMAIN<<",
|
11 |
+
">>PREFIX<<",
|
12 |
+
">>SUFFIX<<",
|
13 |
+
">>MIDDLE<<"
|
14 |
+
],
|
15 |
+
"eos_token": "<|endoftext|>",
|
16 |
+
"pad_token": "<|endoftext|>"
|
17 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"eos_token": "<|endoftext|>",
|
5 |
+
"max_length": 512,
|
6 |
+
"model_max_length": 2048,
|
7 |
+
"stride": 0,
|
8 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
9 |
+
"truncation_side": "right",
|
10 |
+
"truncation_strategy": "longest_first"
|
11 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c6b7ba175b20558154a790a5b0680648fe6019cf4a02aecbc63b4a8851b1d47
|
3 |
+
size 4027
|