Instructions to use nullpointer-ind/Query-Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nullpointer-ind/Query-Classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nullpointer-ind/Query-Classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nullpointer-ind/Query-Classification") model = AutoModelForSequenceClassification.from_pretrained("nullpointer-ind/Query-Classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
deduplicated reported eps and minority interest columns from the training data
Browse files- config.json +1 -1
- model.safetensors +1 -1
- tokenizer.json +6 -1
- tokenizer_config.json +1 -1
- training_args.bin +2 -2
config.json
CHANGED
|
@@ -32,6 +32,6 @@
|
|
| 32 |
"sinusoidal_pos_embds": false,
|
| 33 |
"tie_weights_": true,
|
| 34 |
"torch_dtype": "float32",
|
| 35 |
-
"transformers_version": "4.
|
| 36 |
"vocab_size": 30522
|
| 37 |
}
|
|
|
|
| 32 |
"sinusoidal_pos_embds": false,
|
| 33 |
"tie_weights_": true,
|
| 34 |
"torch_dtype": "float32",
|
| 35 |
+
"transformers_version": "4.44.0",
|
| 36 |
"vocab_size": 30522
|
| 37 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267838720
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05dba4700c69f1ae4e8588dc373210cead85529da7786f510a25316e5ee32325
|
| 3 |
size 267838720
|
tokenizer.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"padding": null,
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": {
|
| 4 |
+
"direction": "Right",
|
| 5 |
+
"max_length": 512,
|
| 6 |
+
"strategy": "LongestFirst",
|
| 7 |
+
"stride": 0
|
| 8 |
+
},
|
| 9 |
"padding": null,
|
| 10 |
"added_tokens": [
|
| 11 |
{
|
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
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24b09a84714843339c9d8fbf80e2e12a9ebdb5f62ed7b8ace7673e9ce59eb41b
|
| 3 |
+
size 5240
|