Instructions to use d4data/bias-detection-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d4data/bias-detection-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="d4data/bias-detection-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("d4data/bias-detection-model") model = AutoModelForSequenceClassification.from_pretrained("d4data/bias-detection-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,3 +23,12 @@ tags:
|
|
| 23 |
- Test loss : 0.9644
|
| 24 |
- Carbon emission 0.319355 Kg
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
- Test loss : 0.9644
|
| 24 |
- Carbon emission 0.319355 Kg
|
| 25 |
|
| 26 |
+
widget:
|
| 27 |
+
- text: "Is this review positive or negative? Review: Best cast iron skillet you will every buy."
|
| 28 |
+
example_title: "Sentiment analysis"
|
| 29 |
+
- text: "Barack Obama nominated Hilary Clinton as his secretary of state on Monday. He chose her because she had ..."
|
| 30 |
+
example_title: "Coreference resolution"
|
| 31 |
+
- text: "On a shelf, there are five books: a gray book, a red book, a purple book, a blue book, and a black book ..."
|
| 32 |
+
example_title: "Logic puzzles"
|
| 33 |
+
- text: "The two men running to become New York City's next mayor will face off in their first debate Wednesday night ..."
|
| 34 |
+
example_title: "Reading comprehension"
|