Text Classification
Transformers
PyTorch
TensorBoard
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use fredymad/distilbert_Pfinal_4CLASES_2e-5_16_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fredymad/distilbert_Pfinal_4CLASES_2e-5_16_2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="fredymad/distilbert_Pfinal_4CLASES_2e-5_16_2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("fredymad/distilbert_Pfinal_4CLASES_2e-5_16_2") model = AutoModelForSequenceClassification.from_pretrained("fredymad/distilbert_Pfinal_4CLASES_2e-5_16_2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- .gitignore +1 -0
- config.json +37 -0
- pytorch_model.bin +3 -0
- runs/Jun02_08-41-39_5085565a7698/1685695303.355887/events.out.tfevents.1685695303.5085565a7698.1243.1 +3 -0
- runs/Jun02_08-41-39_5085565a7698/events.out.tfevents.1685695303.5085565a7698.1243.0 +3 -0
- runs/Jun02_08-48-31_5085565a7698/1685695713.7072651/events.out.tfevents.1685695713.5085565a7698.1243.3 +3 -0
- runs/Jun02_08-48-31_5085565a7698/events.out.tfevents.1685695713.5085565a7698.1243.2 +3 -0
- runs/Jun02_08-49-53_5085565a7698/1685695795.4990306/events.out.tfevents.1685695795.5085565a7698.1243.5 +3 -0
- runs/Jun02_08-49-53_5085565a7698/events.out.tfevents.1685695795.5085565a7698.1243.4 +3 -0
- runs/Jun02_08-53-49_5085565a7698/1685696032.183102/events.out.tfevents.1685696032.5085565a7698.1243.7 +3 -0
- runs/Jun02_08-53-49_5085565a7698/events.out.tfevents.1685696032.5085565a7698.1243.6 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
checkpoint-*/
|
config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "dccuchile/distilbert-base-spanish-uncased",
|
| 3 |
+
"activation": "gelu",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"DistilBertForSequenceClassification"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.1,
|
| 8 |
+
"dim": 768,
|
| 9 |
+
"dropout": 0.1,
|
| 10 |
+
"hidden_dim": 3072,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "NO",
|
| 13 |
+
"1": "OFP",
|
| 14 |
+
"2": "NOM",
|
| 15 |
+
"3": "OFG"
|
| 16 |
+
},
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"label2id": {
|
| 19 |
+
"NO": 0,
|
| 20 |
+
"NOM": 2,
|
| 21 |
+
"OFG": 3,
|
| 22 |
+
"OFP": 1
|
| 23 |
+
},
|
| 24 |
+
"max_position_embeddings": 512,
|
| 25 |
+
"model_type": "distilbert",
|
| 26 |
+
"n_heads": 12,
|
| 27 |
+
"n_layers": 6,
|
| 28 |
+
"pad_token_id": 0,
|
| 29 |
+
"problem_type": "single_label_classification",
|
| 30 |
+
"qa_dropout": 0.1,
|
| 31 |
+
"seq_classif_dropout": 0.2,
|
| 32 |
+
"sinusoidal_pos_embds": true,
|
| 33 |
+
"tie_weights_": true,
|
| 34 |
+
"torch_dtype": "float32",
|
| 35 |
+
"transformers_version": "4.28.0",
|
| 36 |
+
"vocab_size": 31002
|
| 37 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b94d29c7f0a5a18b8ba6c7d62915493dc7041010dbb76c0daceefe9567c519d3
|
| 3 |
+
size 269336237
|
runs/Jun02_08-41-39_5085565a7698/1685695303.355887/events.out.tfevents.1685695303.5085565a7698.1243.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ec8a83e7401f13f153754ef437e724891a21fc1a679984a093d7288cf55a251
|
| 3 |
+
size 5927
|
runs/Jun02_08-41-39_5085565a7698/events.out.tfevents.1685695303.5085565a7698.1243.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b942c130843c7a6db408671df870ec3d78463d7143e2a74a55e7cf044f0b351d
|
| 3 |
+
size 4290
|
runs/Jun02_08-48-31_5085565a7698/1685695713.7072651/events.out.tfevents.1685695713.5085565a7698.1243.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b72c345ed1c2aab12e9bae800236929f17bc14533aee41e523d5561aada16240
|
| 3 |
+
size 5927
|
runs/Jun02_08-48-31_5085565a7698/events.out.tfevents.1685695713.5085565a7698.1243.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4f157a5f7674260696f1fd06a0e5717229f1ec5b775850fcc33f69fcfc78e2a
|
| 3 |
+
size 4339
|
runs/Jun02_08-49-53_5085565a7698/1685695795.4990306/events.out.tfevents.1685695795.5085565a7698.1243.5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4101ac9622dbd6525f2a967d0651804ad1d2454b1ce42024e46e0d0cb3d14815
|
| 3 |
+
size 5927
|
runs/Jun02_08-49-53_5085565a7698/events.out.tfevents.1685695795.5085565a7698.1243.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c04fb6a15b46ab506ea27692b21ed1518a0e1cdc840b2a606e23c6bb637260e5
|
| 3 |
+
size 4290
|
runs/Jun02_08-53-49_5085565a7698/1685696032.183102/events.out.tfevents.1685696032.5085565a7698.1243.7
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8ff007f3fdf92dc8b86852c006b4da335622031cc2477a40774ec160abcaabc
|
| 3 |
+
size 5927
|
runs/Jun02_08-53-49_5085565a7698/events.out.tfevents.1685696032.5085565a7698.1243.6
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b83ec0662ea64c0e2899ec83d17bf81edab7411918270d85dcc4495cf197763
|
| 3 |
+
size 4662
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": "[CLS]",
|
| 3 |
+
"mask_token": "[MASK]",
|
| 4 |
+
"pad_token": "[PAD]",
|
| 5 |
+
"sep_token": "[SEP]",
|
| 6 |
+
"unk_token": "[UNK]"
|
| 7 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"clean_up_tokenization_spaces": true,
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_basic_tokenize": true,
|
| 5 |
+
"do_lower_case": true,
|
| 6 |
+
"mask_token": "[MASK]",
|
| 7 |
+
"model_max_length": 512,
|
| 8 |
+
"never_split": null,
|
| 9 |
+
"pad_token": "[PAD]",
|
| 10 |
+
"sep_token": "[SEP]",
|
| 11 |
+
"strip_accents": false,
|
| 12 |
+
"tokenize_chinese_chars": true,
|
| 13 |
+
"tokenizer_class": "DistilBertTokenizer",
|
| 14 |
+
"unk_token": "[UNK]"
|
| 15 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b53b2ec55ebc631e63bbb438ff74880fa072e7c03ea610c5e8d5cc7e0970d1a5
|
| 3 |
+
size 3643
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|