Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use ishwarbb23/my_awesome_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ishwarbb23/my_awesome_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ishwarbb23/my_awesome_model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ishwarbb23/my_awesome_model") model = AutoModelForSequenceClassification.from_pretrained("ishwarbb23/my_awesome_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
d726783
1
Parent(s): f9e951c
Training in progress, epoch 1
Browse files- config.json +1 -9
- pytorch_model.bin +1 -1
- tokenizer.json +1 -6
- tokenizer_config.json +4 -0
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
|
@@ -8,15 +8,7 @@
|
|
| 8 |
"dim": 768,
|
| 9 |
"dropout": 0.1,
|
| 10 |
"hidden_dim": 3072,
|
| 11 |
-
"id2label": {
|
| 12 |
-
"0": "Q1 Unanswered",
|
| 13 |
-
"1": "Q1 answered"
|
| 14 |
-
},
|
| 15 |
"initializer_range": 0.02,
|
| 16 |
-
"label2id": {
|
| 17 |
-
"Q1 Unanswered": 0,
|
| 18 |
-
"Q1 answered": 1
|
| 19 |
-
},
|
| 20 |
"max_position_embeddings": 512,
|
| 21 |
"model_type": "distilbert",
|
| 22 |
"n_heads": 12,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "stevhliu/my_awesome_model",
|
| 3 |
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
|
|
|
| 8 |
"dim": 768,
|
| 9 |
"dropout": 0.1,
|
| 10 |
"hidden_dim": 3072,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
"max_position_embeddings": 512,
|
| 13 |
"model_type": "distilbert",
|
| 14 |
"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 267855978
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62e37d3c48a997407a868c0eb0e2fbe59022e3802cc35a6246c0cb25a171202e
|
| 3 |
size 267855978
|
tokenizer.json
CHANGED
|
@@ -1,11 +1,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 |
{
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"padding": null,
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
tokenizer_config.json
CHANGED
|
@@ -45,11 +45,15 @@
|
|
| 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,
|
| 52 |
"tokenize_chinese_chars": true,
|
| 53 |
"tokenizer_class": "DistilBertTokenizer",
|
|
|
|
|
|
|
| 54 |
"unk_token": "[UNK]"
|
| 55 |
}
|
|
|
|
| 45 |
"cls_token": "[CLS]",
|
| 46 |
"do_lower_case": true,
|
| 47 |
"mask_token": "[MASK]",
|
| 48 |
+
"max_length": 512,
|
| 49 |
"model_max_length": 512,
|
| 50 |
"pad_token": "[PAD]",
|
| 51 |
"sep_token": "[SEP]",
|
| 52 |
+
"stride": 0,
|
| 53 |
"strip_accents": null,
|
| 54 |
"tokenize_chinese_chars": true,
|
| 55 |
"tokenizer_class": "DistilBertTokenizer",
|
| 56 |
+
"truncation_side": "right",
|
| 57 |
+
"truncation_strategy": "longest_first",
|
| 58 |
"unk_token": "[UNK]"
|
| 59 |
}
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4536
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c96fa1a559ddfe34e6de020e014d61399574436fe9c35adc246930f92ac41405
|
| 3 |
size 4536
|