Text Classification
Transformers
Safetensors
llama
classification
bias-detection
text-embeddings-inference
Instructions to use suryatmodulus/ReAligned-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use suryatmodulus/ReAligned-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="suryatmodulus/ReAligned-Classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("suryatmodulus/ReAligned-Classifier") model = AutoModelForSequenceClassification.from_pretrained("suryatmodulus/ReAligned-Classifier") - Notebooks
- Google Colab
- Kaggle
File size: 334 Bytes
a822037 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | {
"backend": "tokenizers",
"bos_token": "<|begin_of_text|>",
"clean_up_tokenization_spaces": true,
"eos_token": "<|end_of_text|>",
"is_local": true,
"model_input_names": [
"input_ids",
"attention_mask"
],
"model_max_length": 131072,
"pad_token": "<|end_of_text|>",
"tokenizer_class": "TokenizersBackend"
}
|