stanfordnlp/imdb
Viewer β’ Updated β’ 100k β’ 153k β’ 551
Run julien-c/distilbert-sagemaker-1609802168 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:
Use HF Jobs to fine-tune https://huggingface.co/julien-c/distilbert-sagemaker-1609802168. 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.
Use HF Jobs to run batch inference with https://huggingface.co/julien-c/distilbert-sagemaker-1609802168 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.
How to use julien-c/distilbert-sagemaker-1609802168 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="julien-c/distilbert-sagemaker-1609802168") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("julien-c/distilbert-sagemaker-1609802168")
model = AutoModelForSequenceClassification.from_pretrained("julien-c/distilbert-sagemaker-1609802168", device_map="auto")Trained from SageMaker HuggingFace extension.
Fine-tuned from distilbert-base-uncased on imdb π₯
| key | value |
|---|---|
| eval_loss | 0.19187863171100616 |
| eval_accuracy | 0.9259 |
| eval_f1 | 0.9272173656811707 |
| eval_precision | 0.9147286821705426 |
| eval_recall | 0.9400517825134436 |
| epoch | 1.0 |