ML Intern API IMDb DistilBERT Example

This model was produced by a public ML Intern API example run.

  • Base model: distilbert-base-uncased
  • Dataset: imdb
  • Train subset: 1,000 examples
  • Eval subset: 200 examples
  • Training: 60 Trainer steps, batch size 16, learning rate 5e-5
  • Eval metrics: {"epoch": 0.9523809523809523, "eval_accuracy": 0.815, "eval_loss": 0.4811082184314728, "eval_runtime": 24.2035, "eval_samples_per_second": 8.263, "eval_steps_per_second": 0.289}

Generated by ML Intern

This model repository was generated by ML Intern, an agent for machine learning research and development on the Hugging Face Hub.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = 'abidlabs/ml-intern-api-imdb-distilbert-20260613-020123'
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)

For non-causal architectures, replace AutoModelForCausalLM with the appropriate AutoModel class.

Downloads last month
42
Safetensors
Model size
67M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for abidlabs/ml-intern-api-imdb-distilbert-20260613-020123

Finetuned
(11834)
this model

Space using abidlabs/ml-intern-api-imdb-distilbert-20260613-020123 1