Text Classification
Transformers
Safetensors
Portuguese
English
xlm-roberta
prompt-injection
portuguese
negative-results
data-leakage
text-embeddings-inference
Instructions to use RodrigoSFaria/ptbr-injection-e5large-v3pub with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RodrigoSFaria/ptbr-injection-e5large-v3pub with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="RodrigoSFaria/ptbr-injection-e5large-v3pub")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("RodrigoSFaria/ptbr-injection-e5large-v3pub") model = AutoModelForSequenceClassification.from_pretrained("RodrigoSFaria/ptbr-injection-e5large-v3pub", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from RodrigoSFaria/ptbr-injection-e5large-v3pub: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/RodrigoSFaria/ptbr-injection-e5large-v3pub/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://RodrigoSFaria/ptbr-injection-e5large-v3pub/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/RodrigoSFaria/ptbr-injection-e5large-v3pub/resolve/main/tokenizer_config.json
383 Bytes
| { | |
| "add_prefix_space": true, | |
| "backend": "tokenizers", | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "<s>", | |
| "eos_token": "</s>", | |
| "is_local": false, | |
| "local_files_only": false, | |
| "mask_token": "<mask>", | |
| "model_max_length": 512, | |
| "pad_token": "<pad>", | |
| "sep_token": "</s>", | |
| "tokenizer_class": "XLMRobertaTokenizer", | |
| "unk_token": "<unk>" | |
| } | |