Downloads · 30 days
0
coreychambers/entartst
entartst is a machine learning model from coreychambers. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as openrail.
--- language: english tags: - sentiment-analysis - distilbert ---
Downloads · 30 days
0
Access
Public
Updated Jun 4, 2023
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 65%
From the Hugging Face model README
language: english tags:
This model is a fine-tuned version of DistilBert for sentiment analysis on the IMDB dataset.
This model was trained using the Hugging Face Transformers library. It was trained for 1 epoch on the IMDB dataset, with a batch size of 4 and a learning rate of 5e-5.
You can use this model for sentiment analysis. Here's an example of how to do this in Python:
from transformers import pipeline
# Load the model
classifier = pipeline('sentiment-analysis', model='your-model-name')
# Classify some text
result = classifier("I love this movie!")[0]
print(f"label: {result['label']}, with score: {result['score']:.4f}")