Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
ml-intern
text-embeddings-inference
Run this model with HF Jobs
Run frankwong2001/distilbert-imdb-tiny-cpu on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/frankwong2001/distilbert-imdb-tiny-cpu. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/frankwong2001/distilbert-imdb-tiny-cpu on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use frankwong2001/distilbert-imdb-tiny-cpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use frankwong2001/distilbert-imdb-tiny-cpu with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="frankwong2001/distilbert-imdb-tiny-cpu")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("frankwong2001/distilbert-imdb-tiny-cpu") model = AutoModelForSequenceClassification.from_pretrained("frankwong2001/distilbert-imdb-tiny-cpu", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update ML Intern artifact metadata
Browse files3 unmodified lines4567891046 unmodified lines57585960616263646566676869707172737475767778793 unmodified linesbase_model: distilbert/distilbert-base-uncasedtags:- generated_from_trainer- ml-internmodel-index:- name: distilbert-imdb-tiny-cpu results: []46 unmodified lines- Pytorch 2.11.0+cu130- Datasets 4.8.5- Tokenizers 0.22.2
<!-- ml-intern-provenance -->## Generated by ML Intern
This model repository was generated by [ML Intern](https://github.com/huggingface/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
```pythonfrom transformers import AutoModelForCausalLM, AutoTokenizer
model_id = 'frankwong2001/distilbert-imdb-tiny-cpu'tokenizer = AutoTokenizer.from_pretrained(model_id)model = AutoModelForCausalLM.from_pretrained(model_id)```
For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.README.md+21