Training in progress, step 500
Browse files- README.md +8 -12
- config.json +15 -17
- generation_config.json +5 -0
- model.safetensors +2 -2
- tokenizer.json +0 -0
- tokenizer_config.json +2 -2
- training_args.bin +1 -1
- vocab.txt +0 -0
README.md
CHANGED
@@ -1,16 +1,12 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
-
base_model:
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
model-index:
|
8 |
- name: DistilBERT-MLM-IMDb
|
9 |
results: []
|
10 |
-
datasets:
|
11 |
-
- stanfordnlp/imdb
|
12 |
-
metrics:
|
13 |
-
- perplexity
|
14 |
---
|
15 |
|
16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -18,10 +14,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
# DistilBERT-MLM-IMDb
|
20 |
|
21 |
-
This model is a fine-tuned version of [
|
22 |
It achieves the following results on the evaluation set:
|
23 |
-
- Loss:
|
24 |
-
- Model Preparation Time: 0.
|
25 |
|
26 |
## Model description
|
27 |
|
@@ -53,9 +49,9 @@ The following hyperparameters were used during training:
|
|
53 |
|
54 |
| Training Loss | Epoch | Step | Validation Loss | Model Preparation Time |
|
55 |
|:-------------:|:-----:|:----:|:---------------:|:----------------------:|
|
56 |
-
| 2.
|
57 |
-
| 2.
|
58 |
-
| 2.
|
59 |
|
60 |
|
61 |
### Framework versions
|
@@ -63,4 +59,4 @@ The following hyperparameters were used during training:
|
|
63 |
- Transformers 4.47.1
|
64 |
- Pytorch 2.5.1+cu124
|
65 |
- Datasets 3.2.0
|
66 |
-
- Tokenizers 0.21.0
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
+
base_model: bert-base-cased
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
model-index:
|
8 |
- name: DistilBERT-MLM-IMDb
|
9 |
results: []
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
14 |
|
15 |
# DistilBERT-MLM-IMDb
|
16 |
|
17 |
+
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
|
18 |
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 1.9568
|
20 |
+
- Model Preparation Time: 0.0093
|
21 |
|
22 |
## Model description
|
23 |
|
|
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | Model Preparation Time |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|:----------------------:|
|
52 |
+
| 2.2075 | 1.0 | 985 | 2.0081 | 0.0093 |
|
53 |
+
| 2.0945 | 2.0 | 1970 | 1.9688 | 0.0093 |
|
54 |
+
| 2.0508 | 3.0 | 2955 | 1.9517 | 0.0093 |
|
55 |
|
56 |
|
57 |
### Framework versions
|
|
|
59 |
- Transformers 4.47.1
|
60 |
- Pytorch 2.5.1+cu124
|
61 |
- Datasets 3.2.0
|
62 |
+
- Tokenizers 0.21.0
|
config.json
CHANGED
@@ -1,26 +1,24 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
|
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"hidden_dropout_prob": 0.1,
|
11 |
-
"hidden_size": 768,
|
12 |
"initializer_range": 0.02,
|
13 |
-
"intermediate_size": 3072,
|
14 |
-
"layer_norm_eps": 1e-12,
|
15 |
"max_position_embeddings": 512,
|
16 |
-
"model_type": "
|
17 |
-
"
|
18 |
-
"
|
19 |
"pad_token_id": 0,
|
20 |
-
"
|
|
|
|
|
|
|
21 |
"torch_dtype": "float32",
|
22 |
"transformers_version": "4.47.1",
|
23 |
-
"
|
24 |
-
"use_cache": true,
|
25 |
-
"vocab_size": 28996
|
26 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased",
|
3 |
+
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
+
"DistilBertForMaskedLM"
|
6 |
],
|
7 |
+
"attention_dropout": 0.1,
|
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,
|
15 |
+
"n_layers": 6,
|
16 |
"pad_token_id": 0,
|
17 |
+
"qa_dropout": 0.1,
|
18 |
+
"seq_classif_dropout": 0.2,
|
19 |
+
"sinusoidal_pos_embds": false,
|
20 |
+
"tie_weights_": true,
|
21 |
"torch_dtype": "float32",
|
22 |
"transformers_version": "4.47.1",
|
23 |
+
"vocab_size": 30522
|
|
|
|
|
24 |
}
|
generation_config.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"pad_token_id": 0,
|
4 |
+
"transformers_version": "4.47.1"
|
5 |
+
}
|
model.safetensors
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:f972b5db51161cc0ff1e6f38a8f12d205016bd718ec409c58f84b4e737f770e0
|
3 |
+
size 267954768
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -43,7 +43,7 @@
|
|
43 |
},
|
44 |
"clean_up_tokenization_spaces": false,
|
45 |
"cls_token": "[CLS]",
|
46 |
-
"do_lower_case":
|
47 |
"extra_special_tokens": {},
|
48 |
"mask_token": "[MASK]",
|
49 |
"model_max_length": 512,
|
@@ -51,6 +51,6 @@
|
|
51 |
"sep_token": "[SEP]",
|
52 |
"strip_accents": null,
|
53 |
"tokenize_chinese_chars": true,
|
54 |
-
"tokenizer_class": "
|
55 |
"unk_token": "[UNK]"
|
56 |
}
|
|
|
43 |
},
|
44 |
"clean_up_tokenization_spaces": false,
|
45 |
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": true,
|
47 |
"extra_special_tokens": {},
|
48 |
"mask_token": "[MASK]",
|
49 |
"model_max_length": 512,
|
|
|
51 |
"sep_token": "[SEP]",
|
52 |
"strip_accents": null,
|
53 |
"tokenize_chinese_chars": true,
|
54 |
+
"tokenizer_class": "DistilBertTokenizer",
|
55 |
"unk_token": "[UNK]"
|
56 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5304
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:acfd9da59fe8d1cbee15f2daaebe5e95c904aee1651c0187f983b3bf6631e5d5
|
3 |
size 5304
|
vocab.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|