Instructions to use HiTZ/A2T_RoBERTa_SMFA_WikiEvents-arg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HiTZ/A2T_RoBERTa_SMFA_WikiEvents-arg with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="HiTZ/A2T_RoBERTa_SMFA_WikiEvents-arg")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("HiTZ/A2T_RoBERTa_SMFA_WikiEvents-arg") model = AutoModelForSequenceClassification.from_pretrained("HiTZ/A2T_RoBERTa_SMFA_WikiEvents-arg", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
86c92ec | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5fbb2dcf7701a2b5223d56a49d52270b2ae1b3ac519b5dd5ceaba7e8d4c9faa9
size 1421624917
|