jinjieyuan
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -3,15 +3,21 @@ language: en
|
|
3 |
license: apache-2.0
|
4 |
---
|
5 |
|
6 |
-
# Shears
|
7 |
|
8 |
The heuristic adapter discovered from the [super-adapter](https://huggingface.co/IntelLabs/shears-llama-13b-50-math-super-adapter) fine-tuned on sparsified LLaMA-13B with some math reasoning datasets using Shears.
|
9 |
|
|
|
|
|
|
|
10 |
## Model Details
|
11 |
|
|
|
|
|
|
|
12 |
### Information
|
13 |
|
14 |
-
- **
|
15 |
- **Base model:** Sparsified [LLaMA-13B](https://huggingface.co/yahma/llama-13b-hf)
|
16 |
- **Sparsity:** 50%
|
17 |
- **Domain:** Math
|
@@ -130,13 +136,25 @@ print(output)
|
|
130 |
- **Repository:** [https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/Shears](https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/Shears)
|
131 |
- **Paper:** [Shears: Unstructured Sparsity with Neural Low-rank Adapter Search](https://arxiv.org/abs/2404.10934)
|
132 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
## Citation
|
134 |
|
135 |
```bash
|
136 |
-
@
|
137 |
title = {Shears: Unstructured Sparsity with Neural Low-rank Adapter Search},
|
138 |
author={J. Pablo Munoz and Jinjie Yuan and Nilesh Jain},
|
139 |
-
|
140 |
year={2024}
|
141 |
}
|
142 |
```
|
|
|
3 |
license: apache-2.0
|
4 |
---
|
5 |
|
6 |
+
# Shears Adapter Card: shears-llama-13b-50-math-heuristic-adapter
|
7 |
|
8 |
The heuristic adapter discovered from the [super-adapter](https://huggingface.co/IntelLabs/shears-llama-13b-50-math-super-adapter) fine-tuned on sparsified LLaMA-13B with some math reasoning datasets using Shears.
|
9 |
|
10 |
+
## Paper Abstract
|
11 |
+
Recently, several approaches successfully demonstrated that weight-sharing Neural Architecture Search (NAS) can effectively explore a search space of elastic low-rank adapters (LoRA), allowing the parameter-efficient fine-tuning (PEFT) and compression of large language models. In this paper, we introduce a novel approach called Shears, demonstrating how the integration of cost-effective sparsity and a proposed Neural Low-rank adapter Search (NLS) algorithm can further improve the efficiency of PEFT approaches. Results demonstrate the benefits of Shears compared to other methods, reaching high sparsity levels while improving or with little drop in accuracy, utilizing a single GPU for a pair of hours.
|
12 |
+
|
13 |
## Model Details
|
14 |
|
15 |
+
### Note
|
16 |
+
Please note, we only provide the model adapter and do not provide a copy of the base [yahma/llama-13b-hf](https://huggingface.co/yahma/llama-13b-hf) model or its sparsified one. Any use of this adapter requires a separate download of the base model and follow [this instruction](#sparsified-base-model) to sparse the base model.
|
17 |
+
|
18 |
### Information
|
19 |
|
20 |
+
- **Adapter name:** shears-llama-13b-50-math-heuristic-adapter
|
21 |
- **Base model:** Sparsified [LLaMA-13B](https://huggingface.co/yahma/llama-13b-hf)
|
22 |
- **Sparsity:** 50%
|
23 |
- **Domain:** Math
|
|
|
136 |
- **Repository:** [https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/Shears](https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/Shears)
|
137 |
- **Paper:** [Shears: Unstructured Sparsity with Neural Low-rank Adapter Search](https://arxiv.org/abs/2404.10934)
|
138 |
|
139 |
+
## Ethical Considerations
|
140 |
+
|
141 |
+
Intel is committed to respecting human rights and avoiding causing or contributing to adverse impacts on human rights. See [Intel’s Global Human Rights Principles](https://www.intel.com/content/dam/www/central-libraries/us/en/documents/policy-human-rights.pdf). Intel’s products and software are intended only to be used in applications that do not cause or contribute to adverse impacts on human rights.
|
142 |
+
|
143 |
+
| Ethical Considerations | Description |
|
144 |
+
| ----------- | ----------- |
|
145 |
+
| Data | The adapter was trained using the commonsense_15k data mixture as described above. |
|
146 |
+
| Human life | The model is not intended to inform decisions central to human life or flourishing. |
|
147 |
+
| Mitigations | No additional risk mitigation strategies were considered during model development. |
|
148 |
+
| Risks and harms | This model has not been assessed for harm or biases, and should not be used for sensitive applications where it may cause harm. |
|
149 |
+
| Use cases | - |
|
150 |
+
|
151 |
## Citation
|
152 |
|
153 |
```bash
|
154 |
+
@inproceedings{munoz2024shears,
|
155 |
title = {Shears: Unstructured Sparsity with Neural Low-rank Adapter Search},
|
156 |
author={J. Pablo Munoz and Jinjie Yuan and Nilesh Jain},
|
157 |
+
booktitle={The 2024 Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL-2024)},
|
158 |
year={2024}
|
159 |
}
|
160 |
```
|