Downloads · 30 days
2
14% of all-time downloads
Toastmachine/bert-base-sst-nlp-2
bert-base-sst-nlp-2 is a machine learning model from Toastmachine. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of BERT-base for sentiment analysis tasks.
Downloads · 30 days
2
14% of all-time downloads
All-time downloads
14
Public
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json714 KB · 75%
From the Hugging Face model README
This model is a fine-tuned version of BERT-base for sentiment analysis tasks.
The model was trained on the Rotten Tomatoes dataset.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
model = AutoModelForSequenceClassification.from_pretrained("bert-base-uncased")
input_text = "The movie was fantastic with a gripping storyline!"
inputs = tokenizer.encode(input_text, return_tensors="pt")
outputs = model(inputs)
print(outputs.logits)
The model may generate biased or inappropriate content due to the nature of the training data. It is recommended to use the model with caution and apply necessary filters.
This model is licensed under the MIT License.