Run this model with HF Jobs
Run gplsi/Toxicity_model 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/gplsi/Toxicity_model. 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/gplsi/Toxicity_model 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 gplsi/Toxicity_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gplsi/Toxicity_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="gplsi/Toxicity_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("gplsi/Toxicity_model") model = AutoModelForSequenceClassification.from_pretrained("gplsi/Toxicity_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit 路
092644b
1
Parent(s): eb96b79
Upload config.json
Browse filesupdate config.json file
123445674 unmodified lines12131415161718151617181920212223242526232425262728293031{ "_name_or_path": "PlanTL-GOB-ES/roberta-base-bne", "architectures": [ "RobertaForSequenceClassificationFeatures" "RobertaForSequenceClassification" ], "attention_probs_dropout_prob": 0.0, "bos_token_id": 0,4 unmodified lines "hidden_dropout_prob": 0.0, "hidden_size": 768, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2", "3": "LABEL_3" "0": "No t贸xico", "1": "Ligeramente t贸xico", "2": "T贸xico", "3": "Muy t贸xico" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2, "LABEL_3": 3 "No t贸xico": 0, "Ligeramente t贸xico": 1, "T贸xico": 2, "Muy t贸xico": 3 },
"layer_norm_eps": 1e-05, "max_position_embeddings": 514, "model_type": "roberta",config.json+10-9