Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use philgrey/question_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philgrey/question_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="philgrey/question_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("philgrey/question_classifier") model = AutoModelForSequenceClassification.from_pretrained("philgrey/question_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- config.json +1 -1
- model.safetensors +1 -1
- tokenizer_config.json +1 -1
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -28,6 +28,6 @@
|
|
| 28 |
"sinusoidal_pos_embds": false,
|
| 29 |
"tie_weights_": true,
|
| 30 |
"torch_dtype": "float32",
|
| 31 |
-
"transformers_version": "4.40.
|
| 32 |
"vocab_size": 30522
|
| 33 |
}
|
|
|
|
| 28 |
"sinusoidal_pos_embds": false,
|
| 29 |
"tie_weights_": true,
|
| 30 |
"torch_dtype": "float32",
|
| 31 |
+
"transformers_version": "4.40.2",
|
| 32 |
"vocab_size": 30522
|
| 33 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267832560
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:862f17fe72c6ee0c770de3fa59ac0188398226b545569d1b1de58ac48883bc0f
|
| 3 |
size 267832560
|
tokenizer_config.json
CHANGED
|
@@ -45,7 +45,7 @@
|
|
| 45 |
"cls_token": "[CLS]",
|
| 46 |
"do_lower_case": true,
|
| 47 |
"mask_token": "[MASK]",
|
| 48 |
-
"model_max_length":
|
| 49 |
"pad_token": "[PAD]",
|
| 50 |
"sep_token": "[SEP]",
|
| 51 |
"strip_accents": null,
|
|
|
|
| 45 |
"cls_token": "[CLS]",
|
| 46 |
"do_lower_case": true,
|
| 47 |
"mask_token": "[MASK]",
|
| 48 |
+
"model_max_length": 512,
|
| 49 |
"pad_token": "[PAD]",
|
| 50 |
"sep_token": "[SEP]",
|
| 51 |
"strip_accents": null,
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4984
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c45e637515f2d4be5d10b24805881f27b3e3e3a869b71e822a452ad3d7e5b2fd
|
| 3 |
size 4984
|