Dillon Pulliam
commited on
Commit
·
c062c23
1
Parent(s):
c9f8ec8
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ This model is a fine-tuned version of [bert-large-uncased](https://huggingface.c
|
|
| 5 |
To download and utilize this model for sentiment analysis please execute the following:
|
| 6 |
```python
|
| 7 |
import torch.nn.functional as F
|
| 8 |
-
from transformers import
|
| 9 |
tokenizer = AutoTokenizer.from_pretrained("assemblyai/bert-large-uncased-sst2")
|
| 10 |
model = AutoModelForSequenceClassification.from_pretrained("assemblyai/bert-large-uncased-sst2")
|
| 11 |
|
|
|
|
| 5 |
To download and utilize this model for sentiment analysis please execute the following:
|
| 6 |
```python
|
| 7 |
import torch.nn.functional as F
|
| 8 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 9 |
tokenizer = AutoTokenizer.from_pretrained("assemblyai/bert-large-uncased-sst2")
|
| 10 |
model = AutoModelForSequenceClassification.from_pretrained("assemblyai/bert-large-uncased-sst2")
|
| 11 |
|