Downloads · 30 days
5
19% of all-time downloads
cordondata/distilbert_sst2_600_150_acc_89
distilbert_sst2_600_150_acc_89 is a machine learning model from cordondata. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains a fine-tuned DistilBERT model for sentiment analysis, trained on a subset of the SST-2 dataset. The model, tokenizer, and datasets are provided for educational purposes.
Downloads · 30 days
5
19% of all-time downloads
All-time downloads
27
Public
Parameters
67M
268 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This repository contains a fine-tuned DistilBERT model for sentiment analysis, trained on a subset of the SST-2 dataset. The model, tokenizer, and datasets are provided for educational purposes.
distilbert-base-uncased, which is aligned with the DistilBERT model.This repository also includes the datasets used to train and evaluate the model:
The datasets were tokenized using the DistilBERT tokenizer with the following preprocessing steps:
pytorch_model.bin: The model weights.config.json: The model configuration.tokenizer_config.json: The tokenizer configuration.vocab.txt: The tokenizer vocabulary file.train_dataset.parquet: Tokenized training dataset (600 samples) in Parquet format.test_dataset.parquet: Tokenized test dataset (150 samples) in Parquet format.The model was fine-tuned using the following hyperparameters:
The model was trained using the Hugging Face Trainer API, which provides an easy interface for training and evaluating models. The training process involved regular evaluation steps to monitor accuracy, and the best model based on validation accuracy was loaded at the end of training.
The validation accuracy was calculated on the 150 samples from the SST-2 validation set.
This model is provided for educational purposes. It may not be suitable for production use without further testing and validation on larger datasets.
transformers library and dataset access.