Run this model with HF Jobs
Run ankekat1000/toxic-bert-german 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/ankekat1000/toxic-bert-german. 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/ankekat1000/toxic-bert-german 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 ankekat1000/toxic-bert-german with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ankekat1000/toxic-bert-german with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ankekat1000/toxic-bert-german")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ankekat1000/toxic-bert-german") model = AutoModelForSequenceClassification.from_pretrained("ankekat1000/toxic-bert-german", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
67eaeeb
1
Parent(s): 2ab988c
Update config.json
Browse files7 unmodified lines8910111213141516171819202122237 unmodified lines"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 768,"id2label": {"0": "Not_Toxic","1": "Toxic"},"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"Not_Toxic": 0,"Toxic": 1},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,"model_type": "bert",7 unmodified lines8910111213141516177 unmodified lines"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 768,"initializer_range": 0.02,"intermediate_size": 3072,"layer_norm_eps": 1e-12,"max_position_embeddings": 512,"model_type": "bert",
config.json+2-8