Text Classification
Transformers
PyTorch
TensorBoard
distilbert
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run lewtun/results 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/lewtun/results. 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/lewtun/results 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 lewtun/results with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lewtun/results with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lewtun/results")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lewtun/results") model = AutoModelForSequenceClassification.from_pretrained("lewtun/results", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Align label mapping with emotion dataset
#1
by lewtun HF Staff - opened
8 unmodified lines910111213141516171819202122232425262728298 unmodified lines383940418 unmodified lines"dropout": 0.1,"hidden_dim": 3072,"id2label": {"0": "LABEL_0","1": "LABEL_1","2": "LABEL_2","3": "LABEL_3","4": "LABEL_4","5": "LABEL_5"},"initializer_range": 0.02,"label2id": {"LABEL_0": 0,"LABEL_1": 1,"LABEL_2": 2,"LABEL_3": 3,"LABEL_4": 4,"LABEL_5": 5},"max_position_embeddings": 512,"model_type": "distilbert",8 unmodified lines"torch_dtype": "float32","transformers_version": "4.11.3","vocab_size": 30522}8 unmodified lines910111213141516171819202122232425262728298 unmodified lines383940418 unmodified lines"dropout": 0.1,"hidden_dim": 3072,"id2label": {"0": "sadness","1": "joy","2": "love","3": "anger","4": "fear","5": "surprise"},"initializer_range": 0.02,"label2id": {"sadness": 0,"joy": 1,"love": 2,"anger": 3,"fear": 4,"surprise": 5},"max_position_embeddings": 512,"model_type": "distilbert",8 unmodified lines"torch_dtype": "float32","transformers_version": "4.11.3","vocab_size": 30522}
config.json+13-13