Dillon Pulliam
commited on
Commit
·
b22ecd1
1
Parent(s):
26a8fce
Update README.md
Browse files
README.md
CHANGED
@@ -5,7 +5,7 @@ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingf
|
|
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/distilbert-base-uncased-sst2")
|
10 |
model = AutoModelForSequenceClassification.from_pretrained("assemblyai/distilbert-base-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/distilbert-base-uncased-sst2")
|
10 |
model = AutoModelForSequenceClassification.from_pretrained("assemblyai/distilbert-base-uncased-sst2")
|
11 |
|