Text Classification
Transformers
Safetensors
English
modernbert
refusal-classification
refusal-detection
ai-safety
ai-alignment
heretic
text-embeddings-inference
Instructions to use saidutta69/vantablack with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use saidutta69/vantablack with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="saidutta69/vantablack")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("saidutta69/vantablack") model = AutoModelForSequenceClassification.from_pretrained("saidutta69/vantablack", device_map="auto") - Notebooks
- Google Colab
- Kaggle
tokenizer for fused checkpoint
Browse files- tokenizer_config.json +5 -1
tokenizer_config.json
CHANGED
|
@@ -2,9 +2,10 @@
|
|
| 2 |
"backend": "tokenizers",
|
| 3 |
"clean_up_tokenization_spaces": true,
|
| 4 |
"cls_token": "[CLS]",
|
| 5 |
-
"is_local":
|
| 6 |
"local_files_only": false,
|
| 7 |
"mask_token": "[MASK]",
|
|
|
|
| 8 |
"model_input_names": [
|
| 9 |
"input_ids",
|
| 10 |
"attention_mask"
|
|
@@ -12,6 +13,9 @@
|
|
| 12 |
"model_max_length": 8192,
|
| 13 |
"pad_token": "[PAD]",
|
| 14 |
"sep_token": "[SEP]",
|
|
|
|
| 15 |
"tokenizer_class": "TokenizersBackend",
|
|
|
|
|
|
|
| 16 |
"unk_token": "[UNK]"
|
| 17 |
}
|
|
|
|
| 2 |
"backend": "tokenizers",
|
| 3 |
"clean_up_tokenization_spaces": true,
|
| 4 |
"cls_token": "[CLS]",
|
| 5 |
+
"is_local": true,
|
| 6 |
"local_files_only": false,
|
| 7 |
"mask_token": "[MASK]",
|
| 8 |
+
"max_length": 512,
|
| 9 |
"model_input_names": [
|
| 10 |
"input_ids",
|
| 11 |
"attention_mask"
|
|
|
|
| 13 |
"model_max_length": 8192,
|
| 14 |
"pad_token": "[PAD]",
|
| 15 |
"sep_token": "[SEP]",
|
| 16 |
+
"stride": 0,
|
| 17 |
"tokenizer_class": "TokenizersBackend",
|
| 18 |
+
"truncation_side": "right",
|
| 19 |
+
"truncation_strategy": "longest_first",
|
| 20 |
"unk_token": "[UNK]"
|
| 21 |
}
|