Spaces:
Running
Running
Updated README.md
Browse files
README.md
CHANGED
|
@@ -17,6 +17,6 @@ pruned-<original model name>-<pruning method>-<sparsity ratio>-<sparsity type>-<
|
|
| 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
|
| 21 |
-
model =
|
| 22 |
```
|
|
|
|
| 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 AutoModelForCausalLM
|
| 21 |
+
model = AutoModelForCausalLM.from_pretrained("multilingual-pruning/<model name>")
|
| 22 |
```
|