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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rasoultilburg/uce_scibert") model = AutoModelForSequenceClassification.from_pretrained("rasoultilburg/uce_scibert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
| 1 |
-
|
| 2 |
license: gpl-3.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
language: en
|
| 2 |
license: gpl-3.0
|
| 3 |
+
widget:
|
| 4 |
+
- text: She fell because he pushed her.
|
| 5 |
+
example_title: Causal Example 1
|
| 6 |
+
- text: He pushed her, causing her to fall.
|
| 7 |
+
example_title: Causal Example 2
|
| 8 |
+
- text: She fell onto him.
|
| 9 |
+
example_title: Non-causal Example 1
|
| 10 |
+
- text: He is Billy and he pushed her.
|
| 11 |
+
example_title: Non-causal Example 2
|