stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use JeyaPrakashI/distilbert-mlops-demo-ci with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased")
model = PeftModel.from_pretrained(base_model, "JeyaPrakashI/distilbert-mlops-demo-ci")How to use JeyaPrakashI/distilbert-mlops-demo-ci with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("JeyaPrakashI/distilbert-mlops-demo-ci", dtype="auto")| Run Type | Epochs | Train Samples | Eval Samples | Accuracy | Runtime |
|---|---|---|---|---|---|
| Colab GPU (manual) | 3 | ~5,000 | ~1,000 | 85.3% | ~30 mins |
| GitHub Actions (CI/CD) | 2 | Full Pipeline | ~1,000 | 86.0% | ~5 hours |
Summary:
The automated CI/CD run achieved 86.0% accuracy, proving the pipeline can autonomously produce production-ready models with reproducibility.
By using LoRA instead of full fine-tuning, compute requirements were reduced by ~90%, lowering both carbon footprint and operational costs.
Contact: Jeya Prakash I.
Project Goal: Bridging the gap between ML Research and Cloud Production.
Base model
distilbert/distilbert-base-uncased