Text Classification
Transformers
Safetensors
distilbert
imdb
ml-intern-api-example
ml-intern
text-embeddings-inference
Instructions to use abidlabs/ml-intern-api-imdb-distilbert-20260613-020123 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use abidlabs/ml-intern-api-imdb-distilbert-20260613-020123 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="abidlabs/ml-intern-api-imdb-distilbert-20260613-020123")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("abidlabs/ml-intern-api-imdb-distilbert-20260613-020123") model = AutoModelForSequenceClassification.from_pretrained("abidlabs/ml-intern-api-imdb-distilbert-20260613-020123") - Notebooks
- Google Colab
- Kaggle
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.
- Try ML Intern: https://smolagents-ml-intern.hf.space
- Source code: https://github.com/huggingface/ml-intern
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
Model tree for abidlabs/ml-intern-api-imdb-distilbert-20260613-020123
Base model
distilbert/distilbert-base-uncased