Update README.md
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ pip install transformers
|
|
28 |
|
29 |
You can easily load the pre-trained model for sentiment analysis using Hugging Face's AutoModelForSequenceClassification.
|
30 |
|
31 |
-
```
|
32 |
from transformers import DistilBertForSequenceClassification, DistilBertTokenizerFast
|
33 |
|
34 |
model_name = "ongaunjie/distilbert-cloths-sentiment" # Replace with a valid model name from Hugging Face's model hub
|
|
|
28 |
|
29 |
You can easily load the pre-trained model for sentiment analysis using Hugging Face's AutoModelForSequenceClassification.
|
30 |
|
31 |
+
```bash
|
32 |
from transformers import DistilBertForSequenceClassification, DistilBertTokenizerFast
|
33 |
|
34 |
model_name = "ongaunjie/distilbert-cloths-sentiment" # Replace with a valid model name from Hugging Face's model hub
|