Downloads · 30 days
11
26% of all-time downloads
lgfunderburk/distilbert-truncated
distilbert-truncated is a text classification model from lgfunderburk. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of distilbert-base-uncased on the 20 Newsgroups dataset. It achieves the following results on the evaluation set:
Downloads · 30 days
11
26% of all-time downloads
All-time downloads
43
Public
Repo size
268 MB
Likes
0
Public
Click a slice to open those files.
.h5268 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-uncased on the 20 Newsgroups dataset. It achieves the following results on the evaluation set:
The data was split into training and testing: model trained on 90% of the data, and had a testing data size of 10% of the original dataset.
DistilBERT has a maximum input length of 512, so with this in mind the following was performed:
distilbert-base-uncased pretrained model to initialize an AutoTokenizer.The following hyperparameters were used during training:
EPOCHS = 3 batches_per_epoch = 636 total_train_steps = 1908
Model accuracy 0.8337758779525757
Model loss 0.568471074104309