zjc664656505 commited on
Commit
3ff1334
1 Parent(s): c90a11b

Delete https:

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. https:/huggingface.co/zjc664656505/test_repo/README.md +0 -214
  2. https:/huggingface.co/zjc664656505/test_repo/adapter_config.json +0 -34
  3. https:/huggingface.co/zjc664656505/test_repo/adapter_model.bin +0 -3
  4. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/README.md +0 -202
  5. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/adapter_config.json +0 -34
  6. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/adapter_model.safetensors +0 -3
  7. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/optimizer.pt +0 -3
  8. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/rng_state_0.pth +0 -3
  9. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/rng_state_1.pth +0 -3
  10. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/scheduler.pt +0 -3
  11. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/special_tokens_map.json +0 -24
  12. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/tokenizer.json +0 -0
  13. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/tokenizer.model +0 -3
  14. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/tokenizer_config.json +0 -41
  15. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/trainer_state.json +0 -144
  16. https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/training_args.bin +0 -3
  17. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/README.md +0 -202
  18. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/adapter_config.json +0 -34
  19. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/adapter_model.safetensors +0 -3
  20. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/optimizer.pt +0 -3
  21. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/rng_state_0.pth +0 -3
  22. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/rng_state_1.pth +0 -3
  23. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/scheduler.pt +0 -3
  24. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/special_tokens_map.json +0 -24
  25. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/tokenizer.json +0 -0
  26. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/tokenizer.model +0 -3
  27. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/tokenizer_config.json +0 -41
  28. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/trainer_state.json +0 -160
  29. https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/training_args.bin +0 -3
  30. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/README.md +0 -202
  31. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/adapter_config.json +0 -34
  32. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/adapter_model.safetensors +0 -3
  33. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/optimizer.pt +0 -3
  34. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/rng_state_0.pth +0 -3
  35. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/rng_state_1.pth +0 -3
  36. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/scheduler.pt +0 -3
  37. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/special_tokens_map.json +0 -24
  38. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/tokenizer.json +0 -0
  39. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/tokenizer.model +0 -3
  40. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/tokenizer_config.json +0 -41
  41. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/trainer_state.json +0 -178
  42. https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/training_args.bin +0 -3
  43. https:/huggingface.co/zjc664656505/test_repo/config.json +0 -29
  44. https:/huggingface.co/zjc664656505/test_repo/special_tokens_map.json +0 -24
  45. https:/huggingface.co/zjc664656505/test_repo/tokenizer.json +0 -0
  46. https:/huggingface.co/zjc664656505/test_repo/tokenizer.model +0 -3
  47. https:/huggingface.co/zjc664656505/test_repo/tokenizer_config.json +0 -41
  48. https:/huggingface.co/zjc664656505/test_repo/tree/main/README.md +0 -214
  49. https:/huggingface.co/zjc664656505/test_repo/tree/main/adapter_config.json +0 -34
  50. https:/huggingface.co/zjc664656505/test_repo/tree/main/adapter_model.bin +0 -3
https:/huggingface.co/zjc664656505/test_repo/README.md DELETED
@@ -1,214 +0,0 @@
1
- ---
2
- library_name: peft
3
- tags:
4
- - generated_from_trainer
5
- base_model: /GenAI4HW/llama2_13b
6
- metrics:
7
- - accuracy
8
- model-index:
9
- - name: outputs/llama2-13B-lora-QuArch_0_1_1_alpaca_filtered-answer-context-test-new
10
- results: []
11
- ---
12
-
13
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
- should probably proofread and complete it, then remove this comment. -->
15
-
16
- [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
17
- <details><summary>See axolotl config</summary>
18
-
19
- axolotl version: `0.4.0`
20
- ```yaml
21
- ## General
22
- # base_model: meta-llama/Meta-Llama-3-8B-Instruct
23
- base_model: /GenAI4HW/llama2_13b
24
- # base_model: meta-llama/Llama-2-13b
25
- model_type: LlamaForCausalLM
26
- tokenizer_type: AutoTokenizer
27
- # tokenizer_type: LlamaTokenizer
28
- output_dir: ./outputs/llama2-13B-lora-QuArch_0_1_1_alpaca_filtered-answer-context-test-new
29
- seed: 42
30
-
31
- ## Data Configuration
32
- datasets:
33
- # - path: ./data/QuArch_v0_1_0_alpaca_w_context.json # With abstract
34
- # - path: ./data/QuArch_v0_1_1_alpaca_format.json # With justification
35
- # - path: ./data/QuArch_v0_1_0_alpaca_mmlu.json # Without justification
36
- - path: ./data/QuArch_v0_1_1_alpaca_filtered_context/
37
- type: alpaca
38
- data_file: train
39
-
40
- dataset_prepared_path:
41
-
42
- test_datasets:
43
- - path: ./data/QuArch_v0_1_1_alpaca_filtered_context/
44
- type: alpaca
45
- split: test
46
- data_file:
47
- - test
48
-
49
- # - path: ./data/QuArch_v0_1_1_alpaca_filtered_context/
50
- # type: alpaca
51
- # split: val
52
- # data_file:
53
- # - val
54
-
55
- ## Model Configuration
56
- load_in_8bit: false
57
- load_in_4bit: false
58
- strict: false
59
- bf16: auto
60
- fp16:
61
- tf32: false
62
- device_map: 'auto'
63
-
64
- ## LoRA Configuration
65
- adapter: lora
66
- lora_r: 32
67
- lora_alpha: 16
68
- lora_dropout: 0.05
69
- lora_target_linear: true
70
- lora_model_dir:
71
- lora_fan_in_fan_out:
72
-
73
- ## Logging Configuration
74
- logging_dir: ./logs
75
- logging_steps: 10
76
- wandb_project:
77
- wandb_entity:
78
- wandb_watch:
79
- wandb_name:
80
- wandb_log_model:
81
-
82
- do_eval: true
83
- ## Training Configuration
84
- sequence_len: 1024
85
- sample_packing: true
86
- pad_to_sequence_len: true
87
- train_on_inputs: false
88
- group_by_length: false
89
- micro_batch_size: 1
90
- gradient_accumulation_steps: 16
91
- num_epochs: 30
92
- warmup_steps: 10
93
- weight_decay: 0.01
94
- optimizer: adamw_torch
95
- lr_scheduler: linear
96
- learning_rate: 2e-5
97
- gradient_checkpointing: false
98
- saves_per_epoch: 1
99
- # save_steps: 0
100
- # save_strategy: steps
101
- save_total_limit: 30
102
- load_best_model_at_end: true
103
- greater_is_better: true
104
- early_stopping_patience:
105
- resume_from_checkpoint:
106
- remove_unused_columns: true
107
-
108
- ## Evaluation Configuration
109
- eval_sample_packing: False
110
- eval_batch_size: 1
111
- evals_per_epoch: 1
112
- # evaluation_strategy: epoch
113
- eval_max_new_tokens: 32
114
- eval_table_size:
115
- # max_new_token: 32
116
- # eval_causal_lm_metrics: sacrebleu
117
-
118
- # Others
119
- local_rank:
120
- xformers_attention:
121
- flash_attention: true
122
- s2_attention:
123
- debug:
124
- deepspeed:
125
- fsdp:
126
- fsdp_config:
127
- special_tokens:
128
- # pad_token: <|end_of_text|>
129
- ```
130
-
131
- </details><br>
132
-
133
- # outputs/llama2-13B-lora-QuArch_0_1_1_alpaca_filtered-answer-context-test-new
134
-
135
- This model was trained from scratch on the None dataset.
136
- It achieves the following results on the evaluation set:
137
- - Loss: 0.0432
138
- - Accuracy: 0.9808
139
-
140
- ## Model description
141
-
142
- More information needed
143
-
144
- ## Intended uses & limitations
145
-
146
- More information needed
147
-
148
- ## Training and evaluation data
149
-
150
- More information needed
151
-
152
- ## Training procedure
153
-
154
- ### Training hyperparameters
155
-
156
- The following hyperparameters were used during training:
157
- - learning_rate: 2e-05
158
- - train_batch_size: 1
159
- - eval_batch_size: 1
160
- - seed: 42
161
- - distributed_type: multi-GPU
162
- - num_devices: 2
163
- - gradient_accumulation_steps: 16
164
- - total_train_batch_size: 32
165
- - total_eval_batch_size: 2
166
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
167
- - lr_scheduler_type: linear
168
- - lr_scheduler_warmup_steps: 10
169
- - num_epochs: 30
170
-
171
- ### Training results
172
-
173
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
174
- |:-------------:|:-------:|:----:|:---------------:|:--------:|
175
- | No log | 0.2105 | 1 | 5.1322 | 0.6154 |
176
- | No log | 0.8421 | 4 | 5.1271 | 0.6346 |
177
- | No log | 1.6842 | 8 | 5.0601 | 0.6538 |
178
- | 5.1323 | 2.5263 | 12 | 4.7743 | 0.7885 |
179
- | 5.1323 | 3.3684 | 16 | 4.0491 | 0.9231 |
180
- | 4.2735 | 4.2105 | 20 | 2.6444 | 0.8846 |
181
- | 4.2735 | 5.0526 | 24 | 1.0551 | 0.9615 |
182
- | 4.2735 | 5.8947 | 28 | 0.4698 | 0.6923 |
183
- | 1.2232 | 6.7368 | 32 | 0.3224 | 0.6731 |
184
- | 1.2232 | 7.5789 | 36 | 0.2527 | 1.0 |
185
- | 0.3083 | 8.4211 | 40 | 0.1972 | 1.0 |
186
- | 0.3083 | 9.2632 | 44 | 0.1372 | 0.9615 |
187
- | 0.3083 | 10.1053 | 48 | 0.0803 | 1.0 |
188
- | 0.1761 | 10.9474 | 52 | 0.0575 | 0.9808 |
189
- | 0.1761 | 11.7895 | 56 | 0.0475 | 0.9808 |
190
- | 0.116 | 12.6316 | 60 | 0.0444 | 0.9808 |
191
- | 0.116 | 13.4737 | 64 | 0.0463 | 0.9808 |
192
- | 0.116 | 14.3158 | 68 | 0.0489 | 0.9808 |
193
- | 0.0814 | 15.1579 | 72 | 0.0495 | 0.9808 |
194
- | 0.0814 | 16.0 | 76 | 0.0481 | 0.9808 |
195
- | 0.0709 | 16.8421 | 80 | 0.0469 | 0.9808 |
196
- | 0.0709 | 17.6842 | 84 | 0.0457 | 0.9808 |
197
- | 0.0709 | 18.5263 | 88 | 0.0455 | 0.9808 |
198
- | 0.0632 | 19.3684 | 92 | 0.0454 | 0.9808 |
199
- | 0.0632 | 20.2105 | 96 | 0.0459 | 0.9808 |
200
- | 0.0569 | 21.0526 | 100 | 0.0458 | 0.9808 |
201
- | 0.0569 | 21.8947 | 104 | 0.0446 | 0.9808 |
202
- | 0.0569 | 22.7368 | 108 | 0.0451 | 0.9808 |
203
- | 0.055 | 23.5789 | 112 | 0.0446 | 0.9808 |
204
- | 0.055 | 24.4211 | 116 | 0.0452 | 0.9808 |
205
- | 0.0581 | 25.2632 | 120 | 0.0432 | 0.9808 |
206
-
207
-
208
- ### Framework versions
209
-
210
- - PEFT 0.10.0
211
- - Transformers 4.41.2
212
- - Pytorch 2.1.2+cu121
213
- - Datasets 2.19.1
214
- - Tokenizers 0.19.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/adapter_config.json DELETED
@@ -1,34 +0,0 @@
1
- {
2
- "alpha_pattern": {},
3
- "auto_mapping": null,
4
- "base_model_name_or_path": "/GenAI4HW/llama2_13b",
5
- "bias": "none",
6
- "fan_in_fan_out": null,
7
- "inference_mode": true,
8
- "init_lora_weights": true,
9
- "layer_replication": null,
10
- "layers_pattern": null,
11
- "layers_to_transform": null,
12
- "loftq_config": {},
13
- "lora_alpha": 16,
14
- "lora_dropout": 0.05,
15
- "megatron_config": null,
16
- "megatron_core": "megatron.core",
17
- "modules_to_save": null,
18
- "peft_type": "LORA",
19
- "r": 32,
20
- "rank_pattern": {},
21
- "revision": null,
22
- "target_modules": [
23
- "k_proj",
24
- "o_proj",
25
- "v_proj",
26
- "q_proj",
27
- "down_proj",
28
- "up_proj",
29
- "gate_proj"
30
- ],
31
- "task_type": "CAUSAL_LM",
32
- "use_dora": false,
33
- "use_rslora": false
34
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/adapter_model.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a485ccd9a97977dda43fef1b6f4ff1e9fe34488e04fb00f292e0630f23f6abda
3
- size 250550026
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/README.md DELETED
@@ -1,202 +0,0 @@
1
- ---
2
- library_name: peft
3
- base_model: /GenAI4HW/llama2_13b
4
- ---
5
-
6
- # Model Card for Model ID
7
-
8
- <!-- Provide a quick summary of what the model is/does. -->
9
-
10
-
11
-
12
- ## Model Details
13
-
14
- ### Model Description
15
-
16
- <!-- Provide a longer summary of what this model is. -->
17
-
18
-
19
-
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
-
28
- ### Model Sources [optional]
29
-
30
- <!-- Provide the basic links for the model. -->
31
-
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
-
36
- ## Uses
37
-
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
-
40
- ### Direct Use
41
-
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
-
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Evaluation
104
-
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
194
-
195
- [More Information Needed]
196
-
197
- ## Model Card Contact
198
-
199
- [More Information Needed]
200
- ### Framework versions
201
-
202
- - PEFT 0.10.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/adapter_config.json DELETED
@@ -1,34 +0,0 @@
1
- {
2
- "alpha_pattern": {},
3
- "auto_mapping": null,
4
- "base_model_name_or_path": "/GenAI4HW/llama2_13b",
5
- "bias": "none",
6
- "fan_in_fan_out": null,
7
- "inference_mode": true,
8
- "init_lora_weights": true,
9
- "layer_replication": null,
10
- "layers_pattern": null,
11
- "layers_to_transform": null,
12
- "loftq_config": {},
13
- "lora_alpha": 16,
14
- "lora_dropout": 0.05,
15
- "megatron_config": null,
16
- "megatron_core": "megatron.core",
17
- "modules_to_save": null,
18
- "peft_type": "LORA",
19
- "r": 32,
20
- "rank_pattern": {},
21
- "revision": null,
22
- "target_modules": [
23
- "k_proj",
24
- "o_proj",
25
- "v_proj",
26
- "q_proj",
27
- "down_proj",
28
- "up_proj",
29
- "gate_proj"
30
- ],
31
- "task_type": "CAUSAL_LM",
32
- "use_dora": false,
33
- "use_rslora": false
34
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/adapter_model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea8dee76326dbab5b9ee5649a9beeaff5287686a2876ca9e3b443414a34dc28a
3
- size 250423448
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/optimizer.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:053d10e6415190a1b915ee054b0719d9689ef28562ef0d0a4a600a4821726029
3
- size 501168482
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/rng_state_0.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dd79757612797b5b42a494f5a83f20505477156649867ffb774329d390242a97
3
- size 14512
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/rng_state_1.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3e616603cc235c26fad08aeffee23a01db4ef99c363993b087366dc83f309833
3
- size 14512
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/scheduler.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5661c9efd92d6c32ae5cc18c5220269fd4060e11200b05e1858a9583389f879d
3
- size 1064
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/special_tokens_map.json DELETED
@@ -1,24 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/tokenizer.json DELETED
The diff for this file is too large to render. See raw diff
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/tokenizer.model DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
- size 499723
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/tokenizer_config.json DELETED
@@ -1,41 +0,0 @@
1
- {
2
- "add_bos_token": true,
3
- "add_eos_token": false,
4
- "added_tokens_decoder": {
5
- "0": {
6
- "content": "<unk>",
7
- "lstrip": false,
8
- "normalized": false,
9
- "rstrip": false,
10
- "single_word": false,
11
- "special": true
12
- },
13
- "1": {
14
- "content": "<s>",
15
- "lstrip": false,
16
- "normalized": false,
17
- "rstrip": false,
18
- "single_word": false,
19
- "special": true
20
- },
21
- "2": {
22
- "content": "</s>",
23
- "lstrip": false,
24
- "normalized": false,
25
- "rstrip": false,
26
- "single_word": false,
27
- "special": true
28
- }
29
- },
30
- "bos_token": "<s>",
31
- "clean_up_tokenization_spaces": false,
32
- "eos_token": "</s>",
33
- "legacy": true,
34
- "model_max_length": 1000000000000000019884624838656,
35
- "pad_token": "</s>",
36
- "sp_model_kwargs": {},
37
- "spaces_between_special_tokens": false,
38
- "tokenizer_class": "LlamaTokenizer",
39
- "unk_token": "<unk>",
40
- "use_default_system_prompt": false
41
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/trainer_state.json DELETED
@@ -1,144 +0,0 @@
1
- {
2
- "best_metric": 5.127074241638184,
3
- "best_model_checkpoint": "./outputs/llama2-13B-lora-QuArch_0_1_1_alpaca_filtered-answer-context-test-new/checkpoint-4",
4
- "epoch": 7.578947368421053,
5
- "eval_steps": 4,
6
- "global_step": 36,
7
- "is_hyper_param_search": false,
8
- "is_local_process_zero": true,
9
- "is_world_process_zero": true,
10
- "log_history": [
11
- {
12
- "epoch": 0.21052631578947367,
13
- "eval_accuracy": 0.6153846153846154,
14
- "eval_loss": 5.132209300994873,
15
- "eval_runtime": 14.9638,
16
- "eval_samples_per_second": 3.475,
17
- "eval_steps_per_second": 1.738,
18
- "step": 1
19
- },
20
- {
21
- "epoch": 0.8421052631578947,
22
- "eval_accuracy": 0.6346153846153846,
23
- "eval_loss": 5.127074241638184,
24
- "eval_runtime": 15.5565,
25
- "eval_samples_per_second": 3.343,
26
- "eval_steps_per_second": 1.671,
27
- "step": 4
28
- },
29
- {
30
- "epoch": 1.6842105263157894,
31
- "eval_accuracy": 0.6538461538461539,
32
- "eval_loss": 5.060066223144531,
33
- "eval_runtime": 15.7285,
34
- "eval_samples_per_second": 3.306,
35
- "eval_steps_per_second": 1.653,
36
- "step": 8
37
- },
38
- {
39
- "epoch": 2.1052631578947367,
40
- "grad_norm": 2.453125,
41
- "learning_rate": 2e-05,
42
- "loss": 5.1323,
43
- "step": 10
44
- },
45
- {
46
- "epoch": 2.526315789473684,
47
- "eval_accuracy": 0.7884615384615384,
48
- "eval_loss": 4.774318695068359,
49
- "eval_runtime": 15.4298,
50
- "eval_samples_per_second": 3.37,
51
- "eval_steps_per_second": 1.685,
52
- "step": 12
53
- },
54
- {
55
- "epoch": 3.3684210526315788,
56
- "eval_accuracy": 0.9230769230769231,
57
- "eval_loss": 4.04908561706543,
58
- "eval_runtime": 15.16,
59
- "eval_samples_per_second": 3.43,
60
- "eval_steps_per_second": 1.715,
61
- "step": 16
62
- },
63
- {
64
- "epoch": 4.2105263157894735,
65
- "grad_norm": 6.03125,
66
- "learning_rate": 1.8181818181818182e-05,
67
- "loss": 4.2735,
68
- "step": 20
69
- },
70
- {
71
- "epoch": 4.2105263157894735,
72
- "eval_accuracy": 0.8846153846153846,
73
- "eval_loss": 2.6443593502044678,
74
- "eval_runtime": 15.6094,
75
- "eval_samples_per_second": 3.331,
76
- "eval_steps_per_second": 1.666,
77
- "step": 20
78
- },
79
- {
80
- "epoch": 5.052631578947368,
81
- "eval_accuracy": 0.9615384615384616,
82
- "eval_loss": 1.0550649166107178,
83
- "eval_runtime": 15.8572,
84
- "eval_samples_per_second": 3.279,
85
- "eval_steps_per_second": 1.64,
86
- "step": 24
87
- },
88
- {
89
- "epoch": 5.894736842105263,
90
- "eval_accuracy": 0.6923076923076923,
91
- "eval_loss": 0.4698377847671509,
92
- "eval_runtime": 15.837,
93
- "eval_samples_per_second": 3.283,
94
- "eval_steps_per_second": 1.642,
95
- "step": 28
96
- },
97
- {
98
- "epoch": 6.315789473684211,
99
- "grad_norm": 0.6875,
100
- "learning_rate": 1.6363636363636366e-05,
101
- "loss": 1.2232,
102
- "step": 30
103
- },
104
- {
105
- "epoch": 6.7368421052631575,
106
- "eval_accuracy": 0.6730769230769231,
107
- "eval_loss": 0.3224477767944336,
108
- "eval_runtime": 15.7452,
109
- "eval_samples_per_second": 3.303,
110
- "eval_steps_per_second": 1.651,
111
- "step": 32
112
- },
113
- {
114
- "epoch": 7.578947368421053,
115
- "eval_accuracy": 1.0,
116
- "eval_loss": 0.2526957392692566,
117
- "eval_runtime": 15.7721,
118
- "eval_samples_per_second": 3.297,
119
- "eval_steps_per_second": 1.648,
120
- "step": 36
121
- }
122
- ],
123
- "logging_steps": 10,
124
- "max_steps": 120,
125
- "num_input_tokens_seen": 0,
126
- "num_train_epochs": 30,
127
- "save_steps": 4,
128
- "stateful_callbacks": {
129
- "TrainerControl": {
130
- "args": {
131
- "should_epoch_stop": false,
132
- "should_evaluate": false,
133
- "should_log": false,
134
- "should_save": true,
135
- "should_training_stop": false
136
- },
137
- "attributes": {}
138
- }
139
- },
140
- "total_flos": 9.185115697997414e+16,
141
- "train_batch_size": 1,
142
- "trial_name": null,
143
- "trial_params": null
144
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-36/training_args.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:37e0924589b39a0d7454d58ec049450a3b1f1f61ba9617e2608cef4ecdefa104
3
- size 6072
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/README.md DELETED
@@ -1,202 +0,0 @@
1
- ---
2
- library_name: peft
3
- base_model: /GenAI4HW/llama2_13b
4
- ---
5
-
6
- # Model Card for Model ID
7
-
8
- <!-- Provide a quick summary of what the model is/does. -->
9
-
10
-
11
-
12
- ## Model Details
13
-
14
- ### Model Description
15
-
16
- <!-- Provide a longer summary of what this model is. -->
17
-
18
-
19
-
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
-
28
- ### Model Sources [optional]
29
-
30
- <!-- Provide the basic links for the model. -->
31
-
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
-
36
- ## Uses
37
-
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
-
40
- ### Direct Use
41
-
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
-
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Evaluation
104
-
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
194
-
195
- [More Information Needed]
196
-
197
- ## Model Card Contact
198
-
199
- [More Information Needed]
200
- ### Framework versions
201
-
202
- - PEFT 0.10.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/adapter_config.json DELETED
@@ -1,34 +0,0 @@
1
- {
2
- "alpha_pattern": {},
3
- "auto_mapping": null,
4
- "base_model_name_or_path": "/GenAI4HW/llama2_13b",
5
- "bias": "none",
6
- "fan_in_fan_out": null,
7
- "inference_mode": true,
8
- "init_lora_weights": true,
9
- "layer_replication": null,
10
- "layers_pattern": null,
11
- "layers_to_transform": null,
12
- "loftq_config": {},
13
- "lora_alpha": 16,
14
- "lora_dropout": 0.05,
15
- "megatron_config": null,
16
- "megatron_core": "megatron.core",
17
- "modules_to_save": null,
18
- "peft_type": "LORA",
19
- "r": 32,
20
- "rank_pattern": {},
21
- "revision": null,
22
- "target_modules": [
23
- "k_proj",
24
- "o_proj",
25
- "v_proj",
26
- "q_proj",
27
- "down_proj",
28
- "up_proj",
29
- "gate_proj"
30
- ],
31
- "task_type": "CAUSAL_LM",
32
- "use_dora": false,
33
- "use_rslora": false
34
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/adapter_model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e32b8020c15078084a5ba46bd10e69061f19804a3972b84b6a1f40671d6693be
3
- size 250423448
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/optimizer.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8ce876f2bfa6ece9e22e6dcd18e98f8c013b799e2891b866775af9a0c8f75fd7
3
- size 501168482
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/rng_state_0.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b85c6b836b38386cbc056a331c448d45936679624935534eefb07af96536388e
3
- size 14512
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/rng_state_1.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:14a3082c01ddd710b54d2a297e71d57153e0b26ac3750b40e611c7508669a6bf
3
- size 14512
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/scheduler.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6723962def1e1ac046512d753da0c75de4273bb8ef1e111a3f494103f9b28fdd
3
- size 1064
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/special_tokens_map.json DELETED
@@ -1,24 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/tokenizer.json DELETED
The diff for this file is too large to render. See raw diff
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/tokenizer.model DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
- size 499723
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/tokenizer_config.json DELETED
@@ -1,41 +0,0 @@
1
- {
2
- "add_bos_token": true,
3
- "add_eos_token": false,
4
- "added_tokens_decoder": {
5
- "0": {
6
- "content": "<unk>",
7
- "lstrip": false,
8
- "normalized": false,
9
- "rstrip": false,
10
- "single_word": false,
11
- "special": true
12
- },
13
- "1": {
14
- "content": "<s>",
15
- "lstrip": false,
16
- "normalized": false,
17
- "rstrip": false,
18
- "single_word": false,
19
- "special": true
20
- },
21
- "2": {
22
- "content": "</s>",
23
- "lstrip": false,
24
- "normalized": false,
25
- "rstrip": false,
26
- "single_word": false,
27
- "special": true
28
- }
29
- },
30
- "bos_token": "<s>",
31
- "clean_up_tokenization_spaces": false,
32
- "eos_token": "</s>",
33
- "legacy": true,
34
- "model_max_length": 1000000000000000019884624838656,
35
- "pad_token": "</s>",
36
- "sp_model_kwargs": {},
37
- "spaces_between_special_tokens": false,
38
- "tokenizer_class": "LlamaTokenizer",
39
- "unk_token": "<unk>",
40
- "use_default_system_prompt": false
41
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/trainer_state.json DELETED
@@ -1,160 +0,0 @@
1
- {
2
- "best_metric": 5.127074241638184,
3
- "best_model_checkpoint": "./outputs/llama2-13B-lora-QuArch_0_1_1_alpaca_filtered-answer-context-test-new/checkpoint-4",
4
- "epoch": 8.421052631578947,
5
- "eval_steps": 4,
6
- "global_step": 40,
7
- "is_hyper_param_search": false,
8
- "is_local_process_zero": true,
9
- "is_world_process_zero": true,
10
- "log_history": [
11
- {
12
- "epoch": 0.21052631578947367,
13
- "eval_accuracy": 0.6153846153846154,
14
- "eval_loss": 5.132209300994873,
15
- "eval_runtime": 14.9638,
16
- "eval_samples_per_second": 3.475,
17
- "eval_steps_per_second": 1.738,
18
- "step": 1
19
- },
20
- {
21
- "epoch": 0.8421052631578947,
22
- "eval_accuracy": 0.6346153846153846,
23
- "eval_loss": 5.127074241638184,
24
- "eval_runtime": 15.5565,
25
- "eval_samples_per_second": 3.343,
26
- "eval_steps_per_second": 1.671,
27
- "step": 4
28
- },
29
- {
30
- "epoch": 1.6842105263157894,
31
- "eval_accuracy": 0.6538461538461539,
32
- "eval_loss": 5.060066223144531,
33
- "eval_runtime": 15.7285,
34
- "eval_samples_per_second": 3.306,
35
- "eval_steps_per_second": 1.653,
36
- "step": 8
37
- },
38
- {
39
- "epoch": 2.1052631578947367,
40
- "grad_norm": 2.453125,
41
- "learning_rate": 2e-05,
42
- "loss": 5.1323,
43
- "step": 10
44
- },
45
- {
46
- "epoch": 2.526315789473684,
47
- "eval_accuracy": 0.7884615384615384,
48
- "eval_loss": 4.774318695068359,
49
- "eval_runtime": 15.4298,
50
- "eval_samples_per_second": 3.37,
51
- "eval_steps_per_second": 1.685,
52
- "step": 12
53
- },
54
- {
55
- "epoch": 3.3684210526315788,
56
- "eval_accuracy": 0.9230769230769231,
57
- "eval_loss": 4.04908561706543,
58
- "eval_runtime": 15.16,
59
- "eval_samples_per_second": 3.43,
60
- "eval_steps_per_second": 1.715,
61
- "step": 16
62
- },
63
- {
64
- "epoch": 4.2105263157894735,
65
- "grad_norm": 6.03125,
66
- "learning_rate": 1.8181818181818182e-05,
67
- "loss": 4.2735,
68
- "step": 20
69
- },
70
- {
71
- "epoch": 4.2105263157894735,
72
- "eval_accuracy": 0.8846153846153846,
73
- "eval_loss": 2.6443593502044678,
74
- "eval_runtime": 15.6094,
75
- "eval_samples_per_second": 3.331,
76
- "eval_steps_per_second": 1.666,
77
- "step": 20
78
- },
79
- {
80
- "epoch": 5.052631578947368,
81
- "eval_accuracy": 0.9615384615384616,
82
- "eval_loss": 1.0550649166107178,
83
- "eval_runtime": 15.8572,
84
- "eval_samples_per_second": 3.279,
85
- "eval_steps_per_second": 1.64,
86
- "step": 24
87
- },
88
- {
89
- "epoch": 5.894736842105263,
90
- "eval_accuracy": 0.6923076923076923,
91
- "eval_loss": 0.4698377847671509,
92
- "eval_runtime": 15.837,
93
- "eval_samples_per_second": 3.283,
94
- "eval_steps_per_second": 1.642,
95
- "step": 28
96
- },
97
- {
98
- "epoch": 6.315789473684211,
99
- "grad_norm": 0.6875,
100
- "learning_rate": 1.6363636363636366e-05,
101
- "loss": 1.2232,
102
- "step": 30
103
- },
104
- {
105
- "epoch": 6.7368421052631575,
106
- "eval_accuracy": 0.6730769230769231,
107
- "eval_loss": 0.3224477767944336,
108
- "eval_runtime": 15.7452,
109
- "eval_samples_per_second": 3.303,
110
- "eval_steps_per_second": 1.651,
111
- "step": 32
112
- },
113
- {
114
- "epoch": 7.578947368421053,
115
- "eval_accuracy": 1.0,
116
- "eval_loss": 0.2526957392692566,
117
- "eval_runtime": 15.7721,
118
- "eval_samples_per_second": 3.297,
119
- "eval_steps_per_second": 1.648,
120
- "step": 36
121
- },
122
- {
123
- "epoch": 8.421052631578947,
124
- "grad_norm": 0.388671875,
125
- "learning_rate": 1.4545454545454546e-05,
126
- "loss": 0.3083,
127
- "step": 40
128
- },
129
- {
130
- "epoch": 8.421052631578947,
131
- "eval_accuracy": 1.0,
132
- "eval_loss": 0.1972220242023468,
133
- "eval_runtime": 15.1578,
134
- "eval_samples_per_second": 3.431,
135
- "eval_steps_per_second": 1.715,
136
- "step": 40
137
- }
138
- ],
139
- "logging_steps": 10,
140
- "max_steps": 120,
141
- "num_input_tokens_seen": 0,
142
- "num_train_epochs": 30,
143
- "save_steps": 4,
144
- "stateful_callbacks": {
145
- "TrainerControl": {
146
- "args": {
147
- "should_epoch_stop": false,
148
- "should_evaluate": false,
149
- "should_log": false,
150
- "should_save": true,
151
- "should_training_stop": false
152
- },
153
- "attributes": {}
154
- }
155
- },
156
- "total_flos": 1.0205684108886016e+17,
157
- "train_batch_size": 1,
158
- "trial_name": null,
159
- "trial_params": null
160
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-40/training_args.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:37e0924589b39a0d7454d58ec049450a3b1f1f61ba9617e2608cef4ecdefa104
3
- size 6072
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/README.md DELETED
@@ -1,202 +0,0 @@
1
- ---
2
- library_name: peft
3
- base_model: /GenAI4HW/llama2_13b
4
- ---
5
-
6
- # Model Card for Model ID
7
-
8
- <!-- Provide a quick summary of what the model is/does. -->
9
-
10
-
11
-
12
- ## Model Details
13
-
14
- ### Model Description
15
-
16
- <!-- Provide a longer summary of what this model is. -->
17
-
18
-
19
-
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
-
28
- ### Model Sources [optional]
29
-
30
- <!-- Provide the basic links for the model. -->
31
-
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
-
36
- ## Uses
37
-
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
-
40
- ### Direct Use
41
-
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
-
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Evaluation
104
-
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
194
-
195
- [More Information Needed]
196
-
197
- ## Model Card Contact
198
-
199
- [More Information Needed]
200
- ### Framework versions
201
-
202
- - PEFT 0.10.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/adapter_config.json DELETED
@@ -1,34 +0,0 @@
1
- {
2
- "alpha_pattern": {},
3
- "auto_mapping": null,
4
- "base_model_name_or_path": "/GenAI4HW/llama2_13b",
5
- "bias": "none",
6
- "fan_in_fan_out": null,
7
- "inference_mode": true,
8
- "init_lora_weights": true,
9
- "layer_replication": null,
10
- "layers_pattern": null,
11
- "layers_to_transform": null,
12
- "loftq_config": {},
13
- "lora_alpha": 16,
14
- "lora_dropout": 0.05,
15
- "megatron_config": null,
16
- "megatron_core": "megatron.core",
17
- "modules_to_save": null,
18
- "peft_type": "LORA",
19
- "r": 32,
20
- "rank_pattern": {},
21
- "revision": null,
22
- "target_modules": [
23
- "k_proj",
24
- "o_proj",
25
- "v_proj",
26
- "q_proj",
27
- "down_proj",
28
- "up_proj",
29
- "gate_proj"
30
- ],
31
- "task_type": "CAUSAL_LM",
32
- "use_dora": false,
33
- "use_rslora": false
34
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/adapter_model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f068d38c4c8eaf7ea36e6b17b6a7edc318a9ab16627a7aefd126f572efda0694
3
- size 250423448
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/optimizer.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:35bebe4aa4e6ab34d8755dfeea833834723c504033e7b8c6b94ba184d94ab7b0
3
- size 501168482
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/rng_state_0.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:060ebfee1539c7373f021a32ddf42027530206ab1ecff4656863c52c3f89e675
3
- size 14512
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/rng_state_1.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f96fd12df666349373ec766d2550474efffd2cf1ab9d868377ad24118f2fd69d
3
- size 14512
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/scheduler.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c8f46711ba1b2b4ba2d6ec118bf352d80f136b6520f019fe9bbe37d2e49f62b7
3
- size 1064
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/special_tokens_map.json DELETED
@@ -1,24 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/tokenizer.json DELETED
The diff for this file is too large to render. See raw diff
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/tokenizer.model DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
- size 499723
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/tokenizer_config.json DELETED
@@ -1,41 +0,0 @@
1
- {
2
- "add_bos_token": true,
3
- "add_eos_token": false,
4
- "added_tokens_decoder": {
5
- "0": {
6
- "content": "<unk>",
7
- "lstrip": false,
8
- "normalized": false,
9
- "rstrip": false,
10
- "single_word": false,
11
- "special": true
12
- },
13
- "1": {
14
- "content": "<s>",
15
- "lstrip": false,
16
- "normalized": false,
17
- "rstrip": false,
18
- "single_word": false,
19
- "special": true
20
- },
21
- "2": {
22
- "content": "</s>",
23
- "lstrip": false,
24
- "normalized": false,
25
- "rstrip": false,
26
- "single_word": false,
27
- "special": true
28
- }
29
- },
30
- "bos_token": "<s>",
31
- "clean_up_tokenization_spaces": false,
32
- "eos_token": "</s>",
33
- "legacy": true,
34
- "model_max_length": 1000000000000000019884624838656,
35
- "pad_token": "</s>",
36
- "sp_model_kwargs": {},
37
- "spaces_between_special_tokens": false,
38
- "tokenizer_class": "LlamaTokenizer",
39
- "unk_token": "<unk>",
40
- "use_default_system_prompt": false
41
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/trainer_state.json DELETED
@@ -1,178 +0,0 @@
1
- {
2
- "best_metric": 5.127074241638184,
3
- "best_model_checkpoint": "./outputs/llama2-13B-lora-QuArch_0_1_1_alpaca_filtered-answer-context-test-new/checkpoint-4",
4
- "epoch": 10.105263157894736,
5
- "eval_steps": 4,
6
- "global_step": 48,
7
- "is_hyper_param_search": false,
8
- "is_local_process_zero": true,
9
- "is_world_process_zero": true,
10
- "log_history": [
11
- {
12
- "epoch": 0.21052631578947367,
13
- "eval_accuracy": 0.6153846153846154,
14
- "eval_loss": 5.132209300994873,
15
- "eval_runtime": 14.9638,
16
- "eval_samples_per_second": 3.475,
17
- "eval_steps_per_second": 1.738,
18
- "step": 1
19
- },
20
- {
21
- "epoch": 0.8421052631578947,
22
- "eval_accuracy": 0.6346153846153846,
23
- "eval_loss": 5.127074241638184,
24
- "eval_runtime": 15.5565,
25
- "eval_samples_per_second": 3.343,
26
- "eval_steps_per_second": 1.671,
27
- "step": 4
28
- },
29
- {
30
- "epoch": 1.6842105263157894,
31
- "eval_accuracy": 0.6538461538461539,
32
- "eval_loss": 5.060066223144531,
33
- "eval_runtime": 15.7285,
34
- "eval_samples_per_second": 3.306,
35
- "eval_steps_per_second": 1.653,
36
- "step": 8
37
- },
38
- {
39
- "epoch": 2.1052631578947367,
40
- "grad_norm": 2.453125,
41
- "learning_rate": 2e-05,
42
- "loss": 5.1323,
43
- "step": 10
44
- },
45
- {
46
- "epoch": 2.526315789473684,
47
- "eval_accuracy": 0.7884615384615384,
48
- "eval_loss": 4.774318695068359,
49
- "eval_runtime": 15.4298,
50
- "eval_samples_per_second": 3.37,
51
- "eval_steps_per_second": 1.685,
52
- "step": 12
53
- },
54
- {
55
- "epoch": 3.3684210526315788,
56
- "eval_accuracy": 0.9230769230769231,
57
- "eval_loss": 4.04908561706543,
58
- "eval_runtime": 15.16,
59
- "eval_samples_per_second": 3.43,
60
- "eval_steps_per_second": 1.715,
61
- "step": 16
62
- },
63
- {
64
- "epoch": 4.2105263157894735,
65
- "grad_norm": 6.03125,
66
- "learning_rate": 1.8181818181818182e-05,
67
- "loss": 4.2735,
68
- "step": 20
69
- },
70
- {
71
- "epoch": 4.2105263157894735,
72
- "eval_accuracy": 0.8846153846153846,
73
- "eval_loss": 2.6443593502044678,
74
- "eval_runtime": 15.6094,
75
- "eval_samples_per_second": 3.331,
76
- "eval_steps_per_second": 1.666,
77
- "step": 20
78
- },
79
- {
80
- "epoch": 5.052631578947368,
81
- "eval_accuracy": 0.9615384615384616,
82
- "eval_loss": 1.0550649166107178,
83
- "eval_runtime": 15.8572,
84
- "eval_samples_per_second": 3.279,
85
- "eval_steps_per_second": 1.64,
86
- "step": 24
87
- },
88
- {
89
- "epoch": 5.894736842105263,
90
- "eval_accuracy": 0.6923076923076923,
91
- "eval_loss": 0.4698377847671509,
92
- "eval_runtime": 15.837,
93
- "eval_samples_per_second": 3.283,
94
- "eval_steps_per_second": 1.642,
95
- "step": 28
96
- },
97
- {
98
- "epoch": 6.315789473684211,
99
- "grad_norm": 0.6875,
100
- "learning_rate": 1.6363636363636366e-05,
101
- "loss": 1.2232,
102
- "step": 30
103
- },
104
- {
105
- "epoch": 6.7368421052631575,
106
- "eval_accuracy": 0.6730769230769231,
107
- "eval_loss": 0.3224477767944336,
108
- "eval_runtime": 15.7452,
109
- "eval_samples_per_second": 3.303,
110
- "eval_steps_per_second": 1.651,
111
- "step": 32
112
- },
113
- {
114
- "epoch": 7.578947368421053,
115
- "eval_accuracy": 1.0,
116
- "eval_loss": 0.2526957392692566,
117
- "eval_runtime": 15.7721,
118
- "eval_samples_per_second": 3.297,
119
- "eval_steps_per_second": 1.648,
120
- "step": 36
121
- },
122
- {
123
- "epoch": 8.421052631578947,
124
- "grad_norm": 0.388671875,
125
- "learning_rate": 1.4545454545454546e-05,
126
- "loss": 0.3083,
127
- "step": 40
128
- },
129
- {
130
- "epoch": 8.421052631578947,
131
- "eval_accuracy": 1.0,
132
- "eval_loss": 0.1972220242023468,
133
- "eval_runtime": 15.1578,
134
- "eval_samples_per_second": 3.431,
135
- "eval_steps_per_second": 1.715,
136
- "step": 40
137
- },
138
- {
139
- "epoch": 9.263157894736842,
140
- "eval_accuracy": 0.9615384615384616,
141
- "eval_loss": 0.13723143935203552,
142
- "eval_runtime": 16.0784,
143
- "eval_samples_per_second": 3.234,
144
- "eval_steps_per_second": 1.617,
145
- "step": 44
146
- },
147
- {
148
- "epoch": 10.105263157894736,
149
- "eval_accuracy": 1.0,
150
- "eval_loss": 0.0802871510386467,
151
- "eval_runtime": 15.6064,
152
- "eval_samples_per_second": 3.332,
153
- "eval_steps_per_second": 1.666,
154
- "step": 48
155
- }
156
- ],
157
- "logging_steps": 10,
158
- "max_steps": 120,
159
- "num_input_tokens_seen": 0,
160
- "num_train_epochs": 30,
161
- "save_steps": 4,
162
- "stateful_callbacks": {
163
- "TrainerControl": {
164
- "args": {
165
- "should_epoch_stop": false,
166
- "should_evaluate": false,
167
- "should_log": false,
168
- "should_save": true,
169
- "should_training_stop": false
170
- },
171
- "attributes": {}
172
- }
173
- },
174
- "total_flos": 1.224682093066322e+17,
175
- "train_batch_size": 1,
176
- "trial_name": null,
177
- "trial_params": null
178
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/checkpoint-48/training_args.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:37e0924589b39a0d7454d58ec049450a3b1f1f61ba9617e2608cef4ecdefa104
3
- size 6072
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/config.json DELETED
@@ -1,29 +0,0 @@
1
- {
2
- "_name_or_path": "/GenAI4HW/llama2_13b",
3
- "architectures": [
4
- "LlamaForCausalLM"
5
- ],
6
- "attention_bias": false,
7
- "attention_dropout": 0.0,
8
- "bos_token_id": 1,
9
- "eos_token_id": 2,
10
- "hidden_act": "silu",
11
- "hidden_size": 5120,
12
- "initializer_range": 0.02,
13
- "intermediate_size": 13824,
14
- "max_position_embeddings": 2048,
15
- "mlp_bias": false,
16
- "model_type": "llama",
17
- "num_attention_heads": 40,
18
- "num_hidden_layers": 40,
19
- "num_key_value_heads": 40,
20
- "pretraining_tp": 1,
21
- "rms_norm_eps": 1e-05,
22
- "rope_scaling": null,
23
- "rope_theta": 10000.0,
24
- "tie_word_embeddings": false,
25
- "torch_dtype": "bfloat16",
26
- "transformers_version": "4.41.2",
27
- "use_cache": false,
28
- "vocab_size": 32000
29
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/special_tokens_map.json DELETED
@@ -1,24 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/tokenizer.json DELETED
The diff for this file is too large to render. See raw diff
 
https:/huggingface.co/zjc664656505/test_repo/tokenizer.model DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
- size 499723
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/tokenizer_config.json DELETED
@@ -1,41 +0,0 @@
1
- {
2
- "add_bos_token": true,
3
- "add_eos_token": false,
4
- "added_tokens_decoder": {
5
- "0": {
6
- "content": "<unk>",
7
- "lstrip": false,
8
- "normalized": false,
9
- "rstrip": false,
10
- "single_word": false,
11
- "special": true
12
- },
13
- "1": {
14
- "content": "<s>",
15
- "lstrip": false,
16
- "normalized": false,
17
- "rstrip": false,
18
- "single_word": false,
19
- "special": true
20
- },
21
- "2": {
22
- "content": "</s>",
23
- "lstrip": false,
24
- "normalized": false,
25
- "rstrip": false,
26
- "single_word": false,
27
- "special": true
28
- }
29
- },
30
- "bos_token": "<s>",
31
- "clean_up_tokenization_spaces": false,
32
- "eos_token": "</s>",
33
- "legacy": true,
34
- "model_max_length": 1000000000000000019884624838656,
35
- "pad_token": "</s>",
36
- "sp_model_kwargs": {},
37
- "spaces_between_special_tokens": false,
38
- "tokenizer_class": "LlamaTokenizer",
39
- "unk_token": "<unk>",
40
- "use_default_system_prompt": false
41
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/tree/main/README.md DELETED
@@ -1,214 +0,0 @@
1
- ---
2
- library_name: peft
3
- tags:
4
- - generated_from_trainer
5
- base_model: /GenAI4HW/llama2_13b
6
- metrics:
7
- - accuracy
8
- model-index:
9
- - name: outputs/llama2-13B-lora-QuArch_0_1_1_alpaca_filtered-answer-context-test-new
10
- results: []
11
- ---
12
-
13
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
- should probably proofread and complete it, then remove this comment. -->
15
-
16
- [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
17
- <details><summary>See axolotl config</summary>
18
-
19
- axolotl version: `0.4.0`
20
- ```yaml
21
- ## General
22
- # base_model: meta-llama/Meta-Llama-3-8B-Instruct
23
- base_model: /GenAI4HW/llama2_13b
24
- # base_model: meta-llama/Llama-2-13b
25
- model_type: LlamaForCausalLM
26
- tokenizer_type: AutoTokenizer
27
- # tokenizer_type: LlamaTokenizer
28
- output_dir: ./outputs/llama2-13B-lora-QuArch_0_1_1_alpaca_filtered-answer-context-test-new
29
- seed: 42
30
-
31
- ## Data Configuration
32
- datasets:
33
- # - path: ./data/QuArch_v0_1_0_alpaca_w_context.json # With abstract
34
- # - path: ./data/QuArch_v0_1_1_alpaca_format.json # With justification
35
- # - path: ./data/QuArch_v0_1_0_alpaca_mmlu.json # Without justification
36
- - path: ./data/QuArch_v0_1_1_alpaca_filtered_context/
37
- type: alpaca
38
- data_file: train
39
-
40
- dataset_prepared_path:
41
-
42
- test_datasets:
43
- - path: ./data/QuArch_v0_1_1_alpaca_filtered_context/
44
- type: alpaca
45
- split: test
46
- data_file:
47
- - test
48
-
49
- # - path: ./data/QuArch_v0_1_1_alpaca_filtered_context/
50
- # type: alpaca
51
- # split: val
52
- # data_file:
53
- # - val
54
-
55
- ## Model Configuration
56
- load_in_8bit: false
57
- load_in_4bit: false
58
- strict: false
59
- bf16: auto
60
- fp16:
61
- tf32: false
62
- device_map: 'auto'
63
-
64
- ## LoRA Configuration
65
- adapter: lora
66
- lora_r: 32
67
- lora_alpha: 16
68
- lora_dropout: 0.05
69
- lora_target_linear: true
70
- lora_model_dir:
71
- lora_fan_in_fan_out:
72
-
73
- ## Logging Configuration
74
- logging_dir: ./logs
75
- logging_steps: 10
76
- wandb_project:
77
- wandb_entity:
78
- wandb_watch:
79
- wandb_name:
80
- wandb_log_model:
81
-
82
- do_eval: true
83
- ## Training Configuration
84
- sequence_len: 1024
85
- sample_packing: true
86
- pad_to_sequence_len: true
87
- train_on_inputs: false
88
- group_by_length: false
89
- micro_batch_size: 1
90
- gradient_accumulation_steps: 16
91
- num_epochs: 30
92
- warmup_steps: 10
93
- weight_decay: 0.01
94
- optimizer: adamw_torch
95
- lr_scheduler: linear
96
- learning_rate: 2e-5
97
- gradient_checkpointing: false
98
- saves_per_epoch: 1
99
- # save_steps: 0
100
- # save_strategy: steps
101
- save_total_limit: 30
102
- load_best_model_at_end: true
103
- greater_is_better: true
104
- early_stopping_patience:
105
- resume_from_checkpoint:
106
- remove_unused_columns: true
107
-
108
- ## Evaluation Configuration
109
- eval_sample_packing: False
110
- eval_batch_size: 1
111
- evals_per_epoch: 1
112
- # evaluation_strategy: epoch
113
- eval_max_new_tokens: 32
114
- eval_table_size:
115
- # max_new_token: 32
116
- # eval_causal_lm_metrics: sacrebleu
117
-
118
- # Others
119
- local_rank:
120
- xformers_attention:
121
- flash_attention: true
122
- s2_attention:
123
- debug:
124
- deepspeed:
125
- fsdp:
126
- fsdp_config:
127
- special_tokens:
128
- # pad_token: <|end_of_text|>
129
- ```
130
-
131
- </details><br>
132
-
133
- # outputs/llama2-13B-lora-QuArch_0_1_1_alpaca_filtered-answer-context-test-new
134
-
135
- This model was trained from scratch on the None dataset.
136
- It achieves the following results on the evaluation set:
137
- - Loss: 0.0432
138
- - Accuracy: 0.9808
139
-
140
- ## Model description
141
-
142
- More information needed
143
-
144
- ## Intended uses & limitations
145
-
146
- More information needed
147
-
148
- ## Training and evaluation data
149
-
150
- More information needed
151
-
152
- ## Training procedure
153
-
154
- ### Training hyperparameters
155
-
156
- The following hyperparameters were used during training:
157
- - learning_rate: 2e-05
158
- - train_batch_size: 1
159
- - eval_batch_size: 1
160
- - seed: 42
161
- - distributed_type: multi-GPU
162
- - num_devices: 2
163
- - gradient_accumulation_steps: 16
164
- - total_train_batch_size: 32
165
- - total_eval_batch_size: 2
166
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
167
- - lr_scheduler_type: linear
168
- - lr_scheduler_warmup_steps: 10
169
- - num_epochs: 30
170
-
171
- ### Training results
172
-
173
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
174
- |:-------------:|:-------:|:----:|:---------------:|:--------:|
175
- | No log | 0.2105 | 1 | 5.1322 | 0.6154 |
176
- | No log | 0.8421 | 4 | 5.1271 | 0.6346 |
177
- | No log | 1.6842 | 8 | 5.0601 | 0.6538 |
178
- | 5.1323 | 2.5263 | 12 | 4.7743 | 0.7885 |
179
- | 5.1323 | 3.3684 | 16 | 4.0491 | 0.9231 |
180
- | 4.2735 | 4.2105 | 20 | 2.6444 | 0.8846 |
181
- | 4.2735 | 5.0526 | 24 | 1.0551 | 0.9615 |
182
- | 4.2735 | 5.8947 | 28 | 0.4698 | 0.6923 |
183
- | 1.2232 | 6.7368 | 32 | 0.3224 | 0.6731 |
184
- | 1.2232 | 7.5789 | 36 | 0.2527 | 1.0 |
185
- | 0.3083 | 8.4211 | 40 | 0.1972 | 1.0 |
186
- | 0.3083 | 9.2632 | 44 | 0.1372 | 0.9615 |
187
- | 0.3083 | 10.1053 | 48 | 0.0803 | 1.0 |
188
- | 0.1761 | 10.9474 | 52 | 0.0575 | 0.9808 |
189
- | 0.1761 | 11.7895 | 56 | 0.0475 | 0.9808 |
190
- | 0.116 | 12.6316 | 60 | 0.0444 | 0.9808 |
191
- | 0.116 | 13.4737 | 64 | 0.0463 | 0.9808 |
192
- | 0.116 | 14.3158 | 68 | 0.0489 | 0.9808 |
193
- | 0.0814 | 15.1579 | 72 | 0.0495 | 0.9808 |
194
- | 0.0814 | 16.0 | 76 | 0.0481 | 0.9808 |
195
- | 0.0709 | 16.8421 | 80 | 0.0469 | 0.9808 |
196
- | 0.0709 | 17.6842 | 84 | 0.0457 | 0.9808 |
197
- | 0.0709 | 18.5263 | 88 | 0.0455 | 0.9808 |
198
- | 0.0632 | 19.3684 | 92 | 0.0454 | 0.9808 |
199
- | 0.0632 | 20.2105 | 96 | 0.0459 | 0.9808 |
200
- | 0.0569 | 21.0526 | 100 | 0.0458 | 0.9808 |
201
- | 0.0569 | 21.8947 | 104 | 0.0446 | 0.9808 |
202
- | 0.0569 | 22.7368 | 108 | 0.0451 | 0.9808 |
203
- | 0.055 | 23.5789 | 112 | 0.0446 | 0.9808 |
204
- | 0.055 | 24.4211 | 116 | 0.0452 | 0.9808 |
205
- | 0.0581 | 25.2632 | 120 | 0.0432 | 0.9808 |
206
-
207
-
208
- ### Framework versions
209
-
210
- - PEFT 0.10.0
211
- - Transformers 4.41.2
212
- - Pytorch 2.1.2+cu121
213
- - Datasets 2.19.1
214
- - Tokenizers 0.19.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/tree/main/adapter_config.json DELETED
@@ -1,34 +0,0 @@
1
- {
2
- "alpha_pattern": {},
3
- "auto_mapping": null,
4
- "base_model_name_or_path": "/GenAI4HW/llama2_13b",
5
- "bias": "none",
6
- "fan_in_fan_out": null,
7
- "inference_mode": true,
8
- "init_lora_weights": true,
9
- "layer_replication": null,
10
- "layers_pattern": null,
11
- "layers_to_transform": null,
12
- "loftq_config": {},
13
- "lora_alpha": 16,
14
- "lora_dropout": 0.05,
15
- "megatron_config": null,
16
- "megatron_core": "megatron.core",
17
- "modules_to_save": null,
18
- "peft_type": "LORA",
19
- "r": 32,
20
- "rank_pattern": {},
21
- "revision": null,
22
- "target_modules": [
23
- "k_proj",
24
- "o_proj",
25
- "v_proj",
26
- "q_proj",
27
- "down_proj",
28
- "up_proj",
29
- "gate_proj"
30
- ],
31
- "task_type": "CAUSAL_LM",
32
- "use_dora": false,
33
- "use_rslora": false
34
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
https:/huggingface.co/zjc664656505/test_repo/tree/main/adapter_model.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a485ccd9a97977dda43fef1b6f4ff1e9fe34488e04fb00f292e0630f23f6abda
3
- size 250550026