Run this model with HF Jobs
Run BenjaminOcampo/task-implicit_task__model-hatebert__aug_method-gm_revised 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/BenjaminOcampo/task-implicit_task__model-hatebert__aug_method-gm_revised. 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/BenjaminOcampo/task-implicit_task__model-hatebert__aug_method-gm_revised 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 BenjaminOcampo/task-implicit_task__model-hatebert__aug_method-gm_revised with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BenjaminOcampo/task-implicit_task__model-hatebert__aug_method-gm_revised with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="BenjaminOcampo/task-implicit_task__model-hatebert__aug_method-gm_revised")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("BenjaminOcampo/task-implicit_task__model-hatebert__aug_method-gm_revised") model = AutoModelForSequenceClassification.from_pretrained("BenjaminOcampo/task-implicit_task__model-hatebert__aug_method-gm_revised", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from BenjaminOcampo/task-implicit_task__model-hatebert__aug_method-gm_revised: direct link, hf CLI and curl.
- Browser
- Download file 523 Bytes
-
https://huggingface.co/BenjaminOcampo/task-implicit_task__model-hatebert__aug_method-gm_revised/resolve/c112262b94ad342f157f87f6727f857f2e1bccbd/tokenizer_config.json
- Command line
-
hf download hf://BenjaminOcampo/task-implicit_task__model-hatebert__aug_method-gm_revised@c112262b94ad342f157f87f6727f857f2e1bccbd/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/BenjaminOcampo/task-implicit_task__model-hatebert__aug_method-gm_revised/resolve/c112262b94ad342f157f87f6727f857f2e1bccbd/tokenizer_config.json
523 Bytes
| { | |
| "cls_token": "[CLS]", | |
| "do_basic_tokenize": true, | |
| "do_lower_case": true, | |
| "mask_token": "[MASK]", | |
| "max_len": 512, | |
| "name_or_path": "GroNLP/hateBERT", | |
| "never_split": null, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "special_tokens_map_file": "/home/bocampo/.cache/huggingface/hub/models--GroNLP--hateBERT/snapshots/f56d507e4b6a64413aff29e541e1b2178ee79d67/special_tokens_map.json", | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "unk_token": "[UNK]" | |
| } | |