Run this model with HF Jobs
Run parlaval/laya-toxicity 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/parlaval/laya-toxicity. 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/parlaval/laya-toxicity 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 parlaval/laya-toxicity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Laya
How to use parlaval/laya-toxicity with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download tokenizer/tokenizer_config.json from parlaval/laya-toxicity: direct link, hf CLI and curl.
- Browser
- Download file 648 Bytes
-
https://huggingface.co/parlaval/laya-toxicity/resolve/main/tokenizer/tokenizer_config.json
- Command line
-
hf download hf://parlaval/laya-toxicity/tokenizer/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/parlaval/laya-toxicity/resolve/main/tokenizer/tokenizer_config.json
648 Bytes
| { | |
| "bos_token": "<bos>", | |
| "clean_up_tokenization_spaces": false, | |
| "cls_token": "<bos>", | |
| "eos_token": "<eos>", | |
| "extra_0": "<start_of_turn>", | |
| "extra_1": "<end_of_turn>", | |
| "local_files_only": false, | |
| "mask_token": "<mask>", | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 8192, | |
| "model_specific_special_tokens": { | |
| "extra_0": "<start_of_turn>", | |
| "extra_1": "<end_of_turn>" | |
| }, | |
| "pad_token": "<pad>", | |
| "padding_side": "right", | |
| "sep_token": "<eos>", | |
| "spaces_between_special_tokens": false, | |
| "tokenizer_class": "PreTrainedTokenizerFast", | |
| "unk_token": "<unk>" | |
| } |