Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use nattkorat/trigger-event-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nattkorat/trigger-event-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nattkorat/trigger-event-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nattkorat/trigger-event-classifier") model = AutoModelForSequenceClassification.from_pretrained("nattkorat/trigger-event-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
eec3b3d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:190a2475569561ce082a6b4acea1cd8783a077bd722afa6a5828291d9088fd52
size 5713
|