emajoch1 commited on
Commit
b531be1
1 Parent(s): eaf438b

Updated README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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 AutoModel
21
- model = AutoModel.from_pretrained("multilingual-pruning/<model name>")
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
  ```