Spaces:
Running
Running
Updated README.md
Browse files
README.md
CHANGED
|
@@ -7,4 +7,16 @@ sdk: static
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
+
## Description
|
| 11 |
+
A collection of pruned models on different pruning methods, sparsity types and ratios, calibration sets as well as calibration languages. All of the model names are in the format:
|
| 12 |
+
```
|
| 13 |
+
pruned-<original model name>-<pruning method>-<sparsity ratio>-<sparsity type>-<calibration dataset>-<calibration languages>
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
+
## Usage
|
| 17 |
+
Load the model using the `transformers` library, which can be installed using `pip install transformers`:
|
| 18 |
+
```python
|
| 19 |
+
# main.py
|
| 20 |
+
from transformers import AutoModel
|
| 21 |
+
model = AutoModel.from_pretrained("multilingual-pruning/<model name>")
|
| 22 |
+
```
|