Instructions to use rasoultilburg/uce_scibert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rasoultilburg/uce_scibert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rasoultilburg/uce_scibert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rasoultilburg/uce_scibert") model = AutoModelForSequenceClassification.from_pretrained("rasoultilburg/uce_scibert") - Notebooks
- Google Colab
- Kaggle
Binary causal sentence classification:
- LABEL_0 = Non-causal
- LABEL_1 = Causal
See the project repository here:
- Downloads last month
- 1