Instructions to use ba-claim/electra with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ba-claim/electra with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ba-claim/electra")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ba-claim/electra") model = AutoModelForSequenceClassification.from_pretrained("ba-claim/electra", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
37440 There's no way they would give it up. No
|
| 4 |
-
|
| 5 |
-
37463 They're able to charge women more for the same exact procedure a man gets. Yes
|
| 6 |
-
|
| 7 |
-
---
|
| 8 |
widget:
|
| 9 |
- text: "They're able to charge women more for the same exact procedure a man gets."
|
| 10 |
example_title: "Checkworthy: YES"
|
| 11 |
- text: "There's no way they would give it up."
|
| 12 |
example_title: "Checkworthy: NO"
|
| 13 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
widget:
|
| 3 |
- text: "They're able to charge women more for the same exact procedure a man gets."
|
| 4 |
example_title: "Checkworthy: YES"
|
| 5 |
- text: "There's no way they would give it up."
|
| 6 |
example_title: "Checkworthy: NO"
|
| 7 |
---
|
| 8 |
+
|
| 9 |
+
****Examples****
|
| 10 |
+
|
| 11 |
+
37440 There's no way they would give it up. No
|
| 12 |
+
|
| 13 |
+
37463 They're able to charge women more for the same exact procedure a man gets. Yes
|
| 14 |
+
|