Downloads · 30 days
8
47% of all-time downloads
hskang0906/bert-base-sst-nlp
bert-base-sst-nlp is a machine learning model from hskang0906. 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
8
47% of all-time downloads
All-time downloads
17
Public
Parameters
109M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
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.