Instructions to use LogicSpine/address-large-text-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LogicSpine/address-large-text-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="LogicSpine/address-large-text-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("LogicSpine/address-large-text-classifier") model = AutoModelForSequenceClassification.from_pretrained("LogicSpine/address-large-text-classifier") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -81,4 +81,8 @@ print(result)
|
|
| 81 |
**recall_macro:** 0.2811753463927377
|
| 82 |
**recall_micro:** 0.4551574223406493
|
| 83 |
**recall_weighted:** 0.4551574223406493
|
| 84 |
-
**accuracy:** 0.4551574223406493
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
**recall_macro:** 0.2811753463927377
|
| 82 |
**recall_micro:** 0.4551574223406493
|
| 83 |
**recall_weighted:** 0.4551574223406493
|
| 84 |
+
**accuracy:** 0.4551574223406493
|
| 85 |
+
|
| 86 |
+
# Colab Notebook
|
| 87 |
+
|
| 88 |
+
Checkout [this](https://colab.research.google.com/drive/1-I9fm3FsfRaEoMsufLXHKmsxMPJSnpTc?usp=sharing) example of google Colab
|