Text Classification
Transformers
Safetensors
English
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use NajafAli01/QueryCategorizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NajafAli01/QueryCategorizer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NajafAli01/QueryCategorizer")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("NajafAli01/QueryCategorizer") model = AutoModelForSequenceClassification.from_pretrained("NajafAli01/QueryCategorizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- model.safetensors +1 -1
- tokenizer.json +6 -1
- training_args.bin +1 -1
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267860252
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2d4f6c42917d57c2a5bd9fcba68ab25f6386f2072c98f28dba54b8c7bbfe3c5
|
| 3 |
size 267860252
|
tokenizer.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"padding": {
|
| 5 |
"strategy": "BatchLongest",
|
| 6 |
"direction": "Right",
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": {
|
| 4 |
+
"direction": "Right",
|
| 5 |
+
"max_length": 512,
|
| 6 |
+
"strategy": "LongestFirst",
|
| 7 |
+
"stride": 0
|
| 8 |
+
},
|
| 9 |
"padding": {
|
| 10 |
"strategy": "BatchLongest",
|
| 11 |
"direction": "Right",
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5201
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06b3b65a13ca0c638a653105c33c4ce2e54bd1125981f3af9e097e521df82f87
|
| 3 |
size 5201
|