sankalp151
commited on
Commit
•
a174cfd
1
Parent(s):
8850784
Update README.md
Browse files
README.md
CHANGED
@@ -52,6 +52,13 @@ Model is finetuned and can directly be used.
|
|
52 |
Use the code below to get started with the model.
|
53 |
|
54 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
56 |
import spacy
|
57 |
|
|
|
52 |
Use the code below to get started with the model.
|
53 |
|
54 |
```
|
55 |
+
# If using Google Colab, login to HuggingFace is needed. Doing the following will prompt to enter the access token
|
56 |
+
# which can be obtained from Settings > AccessTokens
|
57 |
+
from huggingface_hub import notebook_login
|
58 |
+
|
59 |
+
notebook_login()
|
60 |
+
|
61 |
+
|
62 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
63 |
import spacy
|
64 |
|