prithivida
commited on
Commit
•
bdf8e22
1
Parent(s):
61ab149
Update README.md
Browse files
README.md
CHANGED
@@ -180,11 +180,14 @@ sparse_rep = expander.expand(
|
|
180 |
|
181 |
## 8. With HuggingFace
|
182 |
|
183 |
-
**NOTEBOOK
|
184 |
```
|
185 |
!huggingface-cli login
|
186 |
```
|
187 |
|
|
|
|
|
|
|
188 |
```python
|
189 |
import torch
|
190 |
from transformers import AutoModelForMaskedLM, AutoTokenizer
|
|
|
180 |
|
181 |
## 8. With HuggingFace
|
182 |
|
183 |
+
**NOTEBOOK user? Login first**
|
184 |
```
|
185 |
!huggingface-cli login
|
186 |
```
|
187 |
|
188 |
+
**Integrating in your code ?**
|
189 |
+
[Everything you need to know about using HF tokens](https://huggingface.co/docs/hub/en/security-tokens)
|
190 |
+
|
191 |
```python
|
192 |
import torch
|
193 |
from transformers import AutoModelForMaskedLM, AutoTokenizer
|