Text Classification
Transformers
PyTorch
Core ML
Safetensors
English
distilbert
text-embeddings-inference
Instructions to use Falconsai/intent_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Falconsai/intent_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Falconsai/intent_classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Falconsai/intent_classification") model = AutoModelForSequenceClassification.from_pretrained("Falconsai/intent_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
7512541
1
Parent(s): 400b5e4
Upload DistilBertForSequenceClassification
Browse files- config.json +2 -1
- pytorch_model.bin +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
|
@@ -38,6 +38,7 @@
|
|
| 38 |
"26": "track refund"
|
| 39 |
},
|
| 40 |
"initializer_range": 0.02,
|
|
|
|
| 41 |
"max_position_embeddings": 512,
|
| 42 |
"model_type": "distilbert",
|
| 43 |
"n_heads": 12,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "./model/",
|
| 3 |
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
|
|
|
| 38 |
"26": "track refund"
|
| 39 |
},
|
| 40 |
"initializer_range": 0.02,
|
| 41 |
+
"label2id": null,
|
| 42 |
"max_position_embeddings": 512,
|
| 43 |
"model_type": "distilbert",
|
| 44 |
"n_heads": 12,
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267930989
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf69b562018986a1c045031b485014b105f1fc9d08ae17b829a749afb3aad737
|
| 3 |
size 267930989
|