Text Classification
Transformers
Safetensors
multilingual
Thai
English
deberta-v2
deberta
deberta-v3
mdeberta
text-embeddings-inference
Instructions to use typhoon-ai/typhoon2-safety-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use typhoon-ai/typhoon2-safety-preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="typhoon-ai/typhoon2-safety-preview")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("typhoon-ai/typhoon2-safety-preview") model = AutoModelForSequenceClassification.from_pretrained("typhoon-ai/typhoon2-safety-preview") - Notebooks
- Google Colab
- Kaggle
Ctrl+K