Text Classification
Transformers
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use dzinampini/api_endpoint_extractor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dzinampini/api_endpoint_extractor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dzinampini/api_endpoint_extractor")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dzinampini/api_endpoint_extractor") model = AutoModelForSequenceClassification.from_pretrained("dzinampini/api_endpoint_extractor") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 3
Browse files
config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation": "gelu",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"DistilBertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.1,
|
| 7 |
+
"dim": 768,
|
| 8 |
+
"dropout": 0.1,
|
| 9 |
+
"hidden_dim": 3072,
|
| 10 |
+
"id2label": {
|
| 11 |
+
"0": "/items/{item_id}",
|
| 12 |
+
"1": "/users/{user_id}",
|
| 13 |
+
"2": "/infer_bert"
|
| 14 |
+
},
|
| 15 |
+
"initializer_range": 0.02,
|
| 16 |
+
"label2id": {
|
| 17 |
+
"/infer_bert": 2,
|
| 18 |
+
"/items/{item_id}": 0,
|
| 19 |
+
"/users/{user_id}": 1
|
| 20 |
+
},
|
| 21 |
+
"max_position_embeddings": 512,
|
| 22 |
+
"model_type": "distilbert",
|
| 23 |
+
"n_heads": 12,
|
| 24 |
+
"n_layers": 6,
|
| 25 |
+
"pad_token_id": 0,
|
| 26 |
+
"problem_type": "single_label_classification",
|
| 27 |
+
"qa_dropout": 0.1,
|
| 28 |
+
"seq_classif_dropout": 0.2,
|
| 29 |
+
"sinusoidal_pos_embds": false,
|
| 30 |
+
"tie_weights_": true,
|
| 31 |
+
"torch_dtype": "float32",
|
| 32 |
+
"transformers_version": "4.53.0",
|
| 33 |
+
"vocab_size": 30522
|
| 34 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:761271cdd59d05afd39eb4c47d32097a3fc3ca61f43a9de5039e9b691c0f9368
|
| 3 |
+
size 267835644
|
runs/Jul09_09-24-59_c7a7fed6b7c2/events.out.tfevents.1752053136.c7a7fed6b7c2.320.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9d6a37c0b8969033b7cbb9f3cf2d5aae379e08eb0e236c6228b683a044cf9bf
|
| 3 |
+
size 5063
|
runs/Jul09_09-31-31_c7a7fed6b7c2/events.out.tfevents.1752053497.c7a7fed6b7c2.320.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c3d78ab283504f5e6875ec9b156ac151c61ee29f61a38ef741ee9d0c65df406
|
| 3 |
+
size 6209
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3725fe1a2a72f696c2eef52f536cfb1b0e9f8efca40e4d56dcce9e302ad72f03
|
| 3 |
+
size 5368
|