Instructions to use khalidalt/all-mpnet-base-v2-tasky-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use khalidalt/all-mpnet-base-v2-tasky-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="khalidalt/all-mpnet-base-v2-tasky-classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("khalidalt/all-mpnet-base-v2-tasky-classification") model = AutoModelForSequenceClassification.from_pretrained("khalidalt/all-mpnet-base-v2-tasky-classification") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,3 +2,4 @@
|
|
| 2 |
widget:
|
| 3 |
- text: "Given the following news headline: Satellites chart unlit territory and poverty hotspots. What a correct category this news belong to?"
|
| 4 |
---
|
|
|
|
|
|
| 2 |
widget:
|
| 3 |
- text: "Given the following news headline: Satellites chart unlit territory and poverty hotspots. What a correct category this news belong to?"
|
| 4 |
---
|
| 5 |
+
# all-mpnet-base-v2-tasky-classification
|