Upload folder using huggingface_hub
Browse files- config.json +20 -17
- model.safetensors +2 -2
- tokenizer.json +4 -2
- tokenizer_config.json +9 -4
config.json
CHANGED
@@ -1,31 +1,34 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"hidden_dropout_prob": 0.1,
|
10 |
-
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
|
|
|
|
13 |
},
|
14 |
"initializer_range": 0.02,
|
15 |
-
"intermediate_size": 3072,
|
16 |
"label2id": {
|
17 |
-
"
|
|
|
|
|
18 |
},
|
19 |
-
"layer_norm_eps": 1e-12,
|
20 |
"max_position_embeddings": 512,
|
21 |
-
"model_type": "
|
22 |
-
"
|
23 |
-
"
|
24 |
"pad_token_id": 0,
|
25 |
-
"
|
|
|
|
|
|
|
|
|
26 |
"torch_dtype": "float32",
|
27 |
"transformers_version": "4.51.3",
|
28 |
-
"type_vocab_size": 2,
|
29 |
-
"use_cache": true,
|
30 |
"vocab_size": 30522
|
31 |
}
|
|
|
1 |
{
|
2 |
+
"activation": "gelu",
|
3 |
"architectures": [
|
4 |
+
"DistilBertForSequenceClassification"
|
5 |
],
|
6 |
+
"attention_dropout": 0.1,
|
7 |
+
"dim": 768,
|
8 |
+
"dropout": 0.1,
|
9 |
+
"hidden_dim": 3072,
|
|
|
|
|
10 |
"id2label": {
|
11 |
+
"0": "generic",
|
12 |
+
"1": "recommendation",
|
13 |
+
"2": "factual"
|
14 |
},
|
15 |
"initializer_range": 0.02,
|
|
|
16 |
"label2id": {
|
17 |
+
"factual": 2,
|
18 |
+
"generic": 0,
|
19 |
+
"recommendation": 1
|
20 |
},
|
|
|
21 |
"max_position_embeddings": 512,
|
22 |
+
"model_type": "distilbert",
|
23 |
+
"n_heads": 12,
|
24 |
+
"n_layers": 6,
|
25 |
"pad_token_id": 0,
|
26 |
+
"problem_type": "single_label_classification",
|
27 |
+
"qa_dropout": 0.1,
|
28 |
+
"seq_classif_dropout": 0.2,
|
29 |
+
"sinusoidal_pos_embds": false,
|
30 |
+
"tie_weights_": true,
|
31 |
"torch_dtype": "float32",
|
32 |
"transformers_version": "4.51.3",
|
|
|
|
|
33 |
"vocab_size": 30522
|
34 |
}
|
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:a71555354da0aa2b77ce6a6f1e38596f6b24c3ee15c5edda4ced6014174df75e
|
3 |
+
size 267835644
|
tokenizer.json
CHANGED
@@ -2,12 +2,14 @@
|
|
2 |
"version": "1.0",
|
3 |
"truncation": {
|
4 |
"direction": "Right",
|
5 |
-
"max_length":
|
6 |
"strategy": "LongestFirst",
|
7 |
"stride": 0
|
8 |
},
|
9 |
"padding": {
|
10 |
-
"strategy":
|
|
|
|
|
11 |
"direction": "Right",
|
12 |
"pad_to_multiple_of": null,
|
13 |
"pad_id": 0,
|
|
|
2 |
"version": "1.0",
|
3 |
"truncation": {
|
4 |
"direction": "Right",
|
5 |
+
"max_length": 128,
|
6 |
"strategy": "LongestFirst",
|
7 |
"stride": 0
|
8 |
},
|
9 |
"padding": {
|
10 |
+
"strategy": {
|
11 |
+
"Fixed": 128
|
12 |
+
},
|
13 |
"direction": "Right",
|
14 |
"pad_to_multiple_of": null,
|
15 |
"pad_id": 0,
|
tokenizer_config.json
CHANGED
@@ -41,18 +41,23 @@
|
|
41 |
"special": true
|
42 |
}
|
43 |
},
|
44 |
-
"clean_up_tokenization_spaces":
|
45 |
"cls_token": "[CLS]",
|
46 |
-
"do_basic_tokenize": true,
|
47 |
"do_lower_case": true,
|
48 |
"extra_special_tokens": {},
|
49 |
"mask_token": "[MASK]",
|
|
|
50 |
"model_max_length": 512,
|
51 |
-
"
|
52 |
"pad_token": "[PAD]",
|
|
|
|
|
53 |
"sep_token": "[SEP]",
|
|
|
54 |
"strip_accents": null,
|
55 |
"tokenize_chinese_chars": true,
|
56 |
-
"tokenizer_class": "
|
|
|
|
|
57 |
"unk_token": "[UNK]"
|
58 |
}
|
|
|
41 |
"special": true
|
42 |
}
|
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 |
+
"max_length": 128,
|
50 |
"model_max_length": 512,
|
51 |
+
"pad_to_multiple_of": null,
|
52 |
"pad_token": "[PAD]",
|
53 |
+
"pad_token_type_id": 0,
|
54 |
+
"padding_side": "right",
|
55 |
"sep_token": "[SEP]",
|
56 |
+
"stride": 0,
|
57 |
"strip_accents": null,
|
58 |
"tokenize_chinese_chars": true,
|
59 |
+
"tokenizer_class": "DistilBertTokenizer",
|
60 |
+
"truncation_side": "right",
|
61 |
+
"truncation_strategy": "longest_first",
|
62 |
"unk_token": "[UNK]"
|
63 |
}
|