Run this model with HF Jobs
Run Cesar42/bert-base-uncased-emotion_v2 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/Cesar42/bert-base-uncased-emotion_v2. 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/Cesar42/bert-base-uncased-emotion_v2 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 Cesar42/bert-base-uncased-emotion_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cesar42/bert-base-uncased-emotion_v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Cesar42/bert-base-uncased-emotion_v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Cesar42/bert-base-uncased-emotion_v2") model = AutoModelForSequenceClassification.from_pretrained("Cesar42/bert-base-uncased-emotion_v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files9 unmodified lines101112131415161718131415161718192021222324252627282324252627282930319 unmodified lines "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2", "3": "LABEL_3", "4": "LABEL_4", "5": "LABEL_5" "0": "tristeza", "1": "alegria", "2": "amor", "3": "enojo", "4": "miedo", "5": "sopresa" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2, "LABEL_3": 3, "LABEL_4": 4, "LABEL_5": 5 "tristeza": 0, "alegria": 1, "amor": 2, "enojo": 3, "miedo": 4, "sopresa": 5 }, "layer_norm_eps": 1e-12, "max_position_embeddings": 512,config.json+12-12