Instructions to use adamnik/roberta-causality-self-train with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adamnik/roberta-causality-self-train with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="adamnik/roberta-causality-self-train")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("adamnik/roberta-causality-self-train") model = AutoModelForSequenceClassification.from_pretrained("adamnik/roberta-causality-self-train") - Notebooks
- Google Colab
- Kaggle
Causality detection model fine-tuned on both self-labeled data and both the training and dev sets from the Causal News Corpus (https://github.com/tanfiona/CausalNewsCorpus/tree/master/data).
- Downloads last month
- 4