Text Classification
Transformers
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use georgeliu/trained_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use georgeliu/trained_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="georgeliu/trained_model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("georgeliu/trained_model") model = AutoModelForSequenceClassification.from_pretrained("georgeliu/trained_model") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 2
Browse files
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "distilbert-base-uncased
|
| 3 |
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
|
@@ -7,7 +7,6 @@
|
|
| 7 |
"attention_dropout": 0.1,
|
| 8 |
"dim": 768,
|
| 9 |
"dropout": 0.1,
|
| 10 |
-
"finetuning_task": "sst-2",
|
| 11 |
"hidden_dim": 3072,
|
| 12 |
"id2label": {
|
| 13 |
"0": "NEGATIVE",
|
|
@@ -22,7 +21,6 @@
|
|
| 22 |
"model_type": "distilbert",
|
| 23 |
"n_heads": 12,
|
| 24 |
"n_layers": 6,
|
| 25 |
-
"output_past": true,
|
| 26 |
"pad_token_id": 0,
|
| 27 |
"problem_type": "single_label_classification",
|
| 28 |
"qa_dropout": 0.1,
|
|
@@ -30,6 +28,6 @@
|
|
| 30 |
"sinusoidal_pos_embds": false,
|
| 31 |
"tie_weights_": true,
|
| 32 |
"torch_dtype": "float32",
|
| 33 |
-
"transformers_version": "4.
|
| 34 |
"vocab_size": 30522
|
| 35 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "distilbert-base-uncased",
|
| 3 |
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
|
|
|
| 7 |
"attention_dropout": 0.1,
|
| 8 |
"dim": 768,
|
| 9 |
"dropout": 0.1,
|
|
|
|
| 10 |
"hidden_dim": 3072,
|
| 11 |
"id2label": {
|
| 12 |
"0": "NEGATIVE",
|
|
|
|
| 21 |
"model_type": "distilbert",
|
| 22 |
"n_heads": 12,
|
| 23 |
"n_layers": 6,
|
|
|
|
| 24 |
"pad_token_id": 0,
|
| 25 |
"problem_type": "single_label_classification",
|
| 26 |
"qa_dropout": 0.1,
|
|
|
|
| 28 |
"sinusoidal_pos_embds": false,
|
| 29 |
"tie_weights_": true,
|
| 30 |
"torch_dtype": "float32",
|
| 31 |
+
"transformers_version": "4.38.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:c166a19869e3f4d202b683d9d88cb822bea323ef4f54da230d85f55d18f6fd97
|
| 3 |
size 267832560
|
runs/Mar23_21-17-59_a5e977a02278/events.out.tfevents.1711228680.a5e977a02278.770.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d214facbfef8cae98dc4dbd0f352c3e11671c1d91d2eb150f1da7ee5e9dd48cd
|
| 3 |
+
size 4557
|
tokenizer_config.json
CHANGED
|
@@ -43,11 +43,9 @@
|
|
| 43 |
},
|
| 44 |
"clean_up_tokenization_spaces": true,
|
| 45 |
"cls_token": "[CLS]",
|
| 46 |
-
"do_basic_tokenize": true,
|
| 47 |
"do_lower_case": true,
|
| 48 |
"mask_token": "[MASK]",
|
| 49 |
"model_max_length": 512,
|
| 50 |
-
"never_split": null,
|
| 51 |
"pad_token": "[PAD]",
|
| 52 |
"sep_token": "[SEP]",
|
| 53 |
"strip_accents": null,
|
|
|
|
| 43 |
},
|
| 44 |
"clean_up_tokenization_spaces": true,
|
| 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:5ce25bc3416838af2bad71867ffc171878cfeb5414c3f1f2e8ad9046c536c881
|
| 3 |
+
size 4856
|