How to use rasoultilburg/ssc_bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rasoultilburg/ssc_bert")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rasoultilburg/ssc_bert") model = AutoModelForSequenceClassification.from_pretrained("rasoultilburg/ssc_bert")
Binary causal sentence classification:
See the project repository here:
https://github.com/rasoulnorouzi/cessc/tree/main
Files info