Text Classification
Transformers
PyTorch
Safetensors
English
distilbert
Generated from Trainer
finance
intent-classification
text-embeddings-inference
Instructions to use lxyuan/banking-intent-distilbert-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lxyuan/banking-intent-distilbert-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lxyuan/banking-intent-distilbert-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lxyuan/banking-intent-distilbert-classifier") model = AutoModelForSequenceClassification.from_pretrained("lxyuan/banking-intent-distilbert-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#2
by librarian-bot - opened
README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
|
@@ -6,14 +8,13 @@ tags:
|
|
| 6 |
- intent-classification
|
| 7 |
datasets:
|
| 8 |
- banking77
|
| 9 |
-
model-index:
|
| 10 |
-
- name: banking-intent-distilbert-classifier
|
| 11 |
-
results: []
|
| 12 |
-
language:
|
| 13 |
-
- en
|
| 14 |
metrics:
|
| 15 |
- accuracy
|
| 16 |
pipeline_tag: text-classification
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
license: apache-2.0
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
|
|
|
| 8 |
- intent-classification
|
| 9 |
datasets:
|
| 10 |
- banking77
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
metrics:
|
| 12 |
- accuracy
|
| 13 |
pipeline_tag: text-classification
|
| 14 |
+
base_model: distilbert-base-uncased
|
| 15 |
+
model-index:
|
| 16 |
+
- name: banking-intent-distilbert-classifier
|
| 17 |
+
results: []
|
| 18 |
---
|
| 19 |
|
| 20 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|