Model save
Browse files- README.md +6 -5
- config.json +15 -27
- model.safetensors +2 -2
- tokenizer.json +0 -0
- tokenizer_config.json +5 -7
- training_args.bin +1 -1
- vocab.txt +0 -0
README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
---
|
2 |
-
|
|
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
model-index:
|
@@ -12,9 +13,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
12 |
|
13 |
# my_fancy_model
|
14 |
|
15 |
-
This model is a fine-tuned version of [
|
16 |
It achieves the following results on the evaluation set:
|
17 |
-
- Loss: 0.
|
18 |
|
19 |
## Model description
|
20 |
|
@@ -45,8 +46,8 @@ The following hyperparameters were used during training:
|
|
45 |
|
46 |
| Training Loss | Epoch | Step | Validation Loss |
|
47 |
|:-------------:|:-----:|:----:|:---------------:|
|
48 |
-
| No log | 1.0 | 32 | 0.
|
49 |
-
| No log | 2.0 | 64 | 0.
|
50 |
|
51 |
|
52 |
### Framework versions
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert/distilbert-base-uncased
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
model-index:
|
|
|
13 |
|
14 |
# my_fancy_model
|
15 |
|
16 |
+
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.4597
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
46 |
|
47 |
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
|:-------------:|:-----:|:----:|:---------------:|
|
49 |
+
| No log | 1.0 | 32 | 0.4597 |
|
50 |
+
| No log | 2.0 | 64 | 0.4772 |
|
51 |
|
52 |
|
53 |
### Framework versions
|
config.json
CHANGED
@@ -1,37 +1,25 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
|
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"hidden_dropout_prob": 0.1,
|
11 |
-
"hidden_size": 768,
|
12 |
-
"id2label": {
|
13 |
-
"0": "Not FLS",
|
14 |
-
"1": "Non-specific FLS",
|
15 |
-
"2": "Specific FLS"
|
16 |
-
},
|
17 |
"initializer_range": 0.02,
|
18 |
-
"intermediate_size": 3072,
|
19 |
-
"label2id": {
|
20 |
-
"Non-specific FLS": 1,
|
21 |
-
"Not FLS": 0,
|
22 |
-
"Specific FLS": 2
|
23 |
-
},
|
24 |
-
"layer_norm_eps": 1e-12,
|
25 |
"max_position_embeddings": 512,
|
26 |
-
"model_type": "
|
27 |
-
"
|
28 |
-
"
|
29 |
"pad_token_id": 0,
|
30 |
-
"position_embedding_type": "absolute",
|
31 |
"problem_type": "single_label_classification",
|
|
|
|
|
|
|
|
|
32 |
"torch_dtype": "float32",
|
33 |
"transformers_version": "4.38.2",
|
34 |
-
"
|
35 |
-
"use_cache": true,
|
36 |
-
"vocab_size": 30873
|
37 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "distilbert/distilbert-base-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 |
"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 |
"problem_type": "single_label_classification",
|
18 |
+
"qa_dropout": 0.1,
|
19 |
+
"seq_classif_dropout": 0.2,
|
20 |
+
"sinusoidal_pos_embds": false,
|
21 |
+
"tie_weights_": true,
|
22 |
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.38.2",
|
24 |
+
"vocab_size": 30522
|
|
|
|
|
25 |
}
|
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:f0ddfa6f42b7fd1fd1cd7711f38020f3a5d1b4a11e9c4d92a89dec034c60f776
|
3 |
+
size 267832560
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
"single_word": false,
|
9 |
"special": true
|
10 |
},
|
11 |
-
"
|
12 |
"content": "[UNK]",
|
13 |
"lstrip": false,
|
14 |
"normalized": false,
|
@@ -16,7 +16,7 @@
|
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
-
"
|
20 |
"content": "[CLS]",
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
@@ -24,7 +24,7 @@
|
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
-
"
|
28 |
"content": "[SEP]",
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
@@ -32,7 +32,7 @@
|
|
32 |
"single_word": false,
|
33 |
"special": true
|
34 |
},
|
35 |
-
"
|
36 |
"content": "[MASK]",
|
37 |
"lstrip": false,
|
38 |
"normalized": false,
|
@@ -43,15 +43,13 @@
|
|
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": 1000000000000000019884624838656,
|
50 |
-
"never_split": null,
|
51 |
"pad_token": "[PAD]",
|
52 |
"sep_token": "[SEP]",
|
53 |
"strip_accents": null,
|
54 |
"tokenize_chinese_chars": true,
|
55 |
-
"tokenizer_class": "
|
56 |
"unk_token": "[UNK]"
|
57 |
}
|
|
|
8 |
"single_word": false,
|
9 |
"special": true
|
10 |
},
|
11 |
+
"100": {
|
12 |
"content": "[UNK]",
|
13 |
"lstrip": false,
|
14 |
"normalized": false,
|
|
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
+
"101": {
|
20 |
"content": "[CLS]",
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
|
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
+
"102": {
|
28 |
"content": "[SEP]",
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
|
|
32 |
"single_word": false,
|
33 |
"special": true
|
34 |
},
|
35 |
+
"103": {
|
36 |
"content": "[MASK]",
|
37 |
"lstrip": false,
|
38 |
"normalized": false,
|
|
|
43 |
},
|
44 |
"clean_up_tokenization_spaces": true,
|
45 |
"cls_token": "[CLS]",
|
|
|
46 |
"do_lower_case": true,
|
47 |
"mask_token": "[MASK]",
|
48 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
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 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4984
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99ab5c42657123c290d98ea1fca5c995694310d8e9d869ec054ccf2dbe2487e7
|
3 |
size 4984
|
vocab.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|