pbaoo2705 commited on
Commit
2e96703
1 Parent(s): c86427d

AdaLora applied #2

Browse files
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ybelkada/falcon-7b-sharded-bf16
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: falcon-7b-sharded-qlora
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-qlora
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: 2
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
+ ### Training results
46
+
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.33.2
52
+ - Pytorch 2.0.1+cu118
53
+ - Datasets 2.14.5
54
+ - Tokenizers 0.13.3
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "ybelkada/falcon-7b-sharded-bf16",
5
+ "beta1": 0.85,
6
+ "beta2": 0.85,
7
+ "bias": "none",
8
+ "deltaT": 10,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "init_r": 12,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "lora_alpha": 32,
16
+ "lora_dropout": 0.1,
17
+ "modules_to_save": null,
18
+ "orth_reg_weight": 0.5,
19
+ "peft_type": "ADALORA",
20
+ "r": 8,
21
+ "rank_pattern": null,
22
+ "revision": null,
23
+ "target_modules": [
24
+ "query_key_value",
25
+ "dense",
26
+ "dense_h_to_4h",
27
+ "dense_4h_to_h"
28
+ ],
29
+ "target_r": 8,
30
+ "task_type": "CAUSAL_LM",
31
+ "tfinal": 1000,
32
+ "tinit": 200,
33
+ "total_step": null
34
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c76e12333a01e95fa24b0e2238c3df1dfb613fd6e8706fa89bee9fd3a7941fed
3
+ size 98048461
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:05affc715a4251a28ca850ed23b9a4573187399e32a14d3e9a534cef01cd79e8
3
+ size 4091