Downloads · 30 days
6
2% of all-time downloads
romainf/distilbert-base-uncased-imdb-2000
distilbert-base-uncased-imdb-2000 is a text classification model from romainf. Use it when you need a label for a piece of text. It is set up for transformers.
This model is the 2000th step checkpoint of distilbert-base-uncased fine-tuned on imdb dataset with the following training arguments :
Downloads · 30 days
6
2% of all-time downloads
All-time downloads
360
Public
Repo size
804 MB
Likes
0
Public
Click a slice to open those files.
.bin268 MB · 100%
From the Hugging Face model README
This model is the 2000th step checkpoint of distilbert-base-uncased fine-tuned on imdb dataset with the following training arguments :
training_args = TrainingArguments(
output_dir="bert_results_imdb",
learning_rate=1e-5,
per_device_train_batch_size=16,
per_device_eval_batch_size=16,
weight_decay=0.01,
warmup_ratio = 0.06,
max_steps = 5000,
optim = 'adamw_torch',
save_strategy = 'steps',
evaluation_strategy='steps',
load_best_model_at_end=True
)
trainer = Trainer(
model=model,
args=training_args,
train_dataset=tokenized_imdb["train"],
eval_dataset=tokenized_imdb["test"],
tokenizer=tokenizer,
data_collator=data_collator,
compute_metrics=compute_metrics,
)