[Update 10/10/23]
The model has been retrained on a larger part of the dataset with an improvement on the loss, f1 score and accuracy. It achieves the following results on the evaluation set:
Loss: 0.116
Accuracy: 0.961
F1_score: 0.960
Model description
This sentiment classifier has been trained on 360_000 samples for the training set, 40_000 samples for the validation set and 40_000 samples for the test set.
Intended uses & limitations
from transformers import pipeline
# Create the pipeline
sentiment_classifier = pipeline('text-classification', model='AdamCodd/distilbert-base-uncased-finetuned-sentiment-amazon')
# Now you can use the pipeline to get the sentiment
result = sentiment_classifier("This product doesn't fit me at all.")
print(result)
#[{'label': 'negative', 'score': 0.9994848966598511}]
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
learning_rate: 3e-05
train_batch_size: 32
eval_batch_size: 32
seed: 1270
optimizer: AdamW with betas=(0.9,0.999) and epsilon=1e-08
lr_scheduler_type: linear
lr_scheduler_warmup_steps: 150
num_epochs: 2
weight_decay: 0.01
Training results
(Previous results before retraining from the model evaluator)
distilbert-base-uncased-finetuned-sentiment-amazon huggingface.co is an AI model on huggingface.co that provides distilbert-base-uncased-finetuned-sentiment-amazon's model effect (), which can be used instantly with this AdamCodd distilbert-base-uncased-finetuned-sentiment-amazon model. huggingface.co supports a free trial of the distilbert-base-uncased-finetuned-sentiment-amazon model, and also provides paid use of the distilbert-base-uncased-finetuned-sentiment-amazon. Support call distilbert-base-uncased-finetuned-sentiment-amazon model through api, including Node.js, Python, http.
distilbert-base-uncased-finetuned-sentiment-amazon huggingface.co is an online trial and call api platform, which integrates distilbert-base-uncased-finetuned-sentiment-amazon's modeling effects, including api services, and provides a free online trial of distilbert-base-uncased-finetuned-sentiment-amazon, you can try distilbert-base-uncased-finetuned-sentiment-amazon online for free by clicking the link below.
AdamCodd distilbert-base-uncased-finetuned-sentiment-amazon online free url in huggingface.co:
distilbert-base-uncased-finetuned-sentiment-amazon is an open source model from GitHub that offers a free installation service, and any user can find distilbert-base-uncased-finetuned-sentiment-amazon on GitHub to install. At the same time, huggingface.co provides the effect of distilbert-base-uncased-finetuned-sentiment-amazon install, users can directly use distilbert-base-uncased-finetuned-sentiment-amazon installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
distilbert-base-uncased-finetuned-sentiment-amazon install url in huggingface.co: