Text Classification
Transformers
Safetensors
Laya
MLX
English
layared
guardrails
prompt-injection
hard-negatives
indirect-prompt-injection
trojan-cloaking
jailbreak-detection
ai-safety
modernbert
apple-silicon
Eval Results (legacy)
Instructions to use iamvaar/LAYARED with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iamvaar/LAYARED with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="iamvaar/LAYARED")# pip install -U transformers accelerate # Load model directly from transformers import LayaTypedDecisions model = LayaTypedDecisions.from_pretrained("iamvaar/LAYARED", device_map="auto") - Laya
How to use iamvaar/LAYARED 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
- MLX
How to use iamvaar/LAYARED with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download iamvaar/LAYARED --local-dir LAYARED
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download tokenizer/tokenizer_config.json from iamvaar/LAYARED: direct link, hf CLI and curl.
- Browser
- Download file 337 Bytes
-
https://huggingface.co/iamvaar/LAYARED/resolve/main/tokenizer/tokenizer_config.json
- Command line
-
hf download hf://iamvaar/LAYARED/tokenizer/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/iamvaar/LAYARED/resolve/main/tokenizer/tokenizer_config.json
337 Bytes
| { | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "[CLS]", | |
| "local_files_only": false, | |
| "mask_token": "[MASK]", | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 8192, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "tokenizer_class": "PreTrainedTokenizerFast", | |
| "unk_token": "[UNK]" | |
| } |