Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
---
|
2 |
tags:
|
3 |
-
- autotrain
|
4 |
- text-classification
|
5 |
base_model: cross-encoder/nli-roberta-base
|
6 |
widget:
|
@@ -14,10 +13,10 @@ pipeline_tag: zero-shot-classification
|
|
14 |
library_name: transformers
|
15 |
---
|
16 |
|
17 |
-
# LogicSpine/
|
18 |
|
19 |
## Model Description
|
20 |
-
`LogicSpine/
|
21 |
|
22 |
## Model Usage
|
23 |
|
@@ -38,7 +37,7 @@ from transformers import pipeline
|
|
38 |
|
39 |
# Load the zero-shot classification pipeline with the custom model
|
40 |
classifier = pipeline("zero-shot-classification",
|
41 |
-
model="LogicSpine/
|
42 |
|
43 |
# Define your input text and candidate labels
|
44 |
text = "Delhi, India"
|
|
|
1 |
---
|
2 |
tags:
|
|
|
3 |
- text-classification
|
4 |
base_model: cross-encoder/nli-roberta-base
|
5 |
widget:
|
|
|
13 |
library_name: transformers
|
14 |
---
|
15 |
|
16 |
+
# LogicSpine/address-base-text-classifier
|
17 |
|
18 |
## Model Description
|
19 |
+
`LogicSpine/address-base-text-classifier` is a fine-tuned version of the `cross-encoder/nli-roberta-base` model, specifically designed for address classification tasks using zero-shot learning. It allows you to classify text related to addresses and locations without the need for direct training on every possible label.
|
20 |
|
21 |
## Model Usage
|
22 |
|
|
|
37 |
|
38 |
# Load the zero-shot classification pipeline with the custom model
|
39 |
classifier = pipeline("zero-shot-classification",
|
40 |
+
model="LogicSpine/address-base-text-classifier")
|
41 |
|
42 |
# Define your input text and candidate labels
|
43 |
text = "Delhi, India"
|