finiteautomata
commited on
Commit
•
e0be98e
1
Parent(s):
0885da4
Update with new preprocessing
Browse files- added_tokens.json +1 -0
- config.json +11 -7
- pytorch_model.bin +2 -2
- special_tokens_map.json +1 -1
- tokenizer.json +0 -0
- tokenizer_config.json +1 -1
- vocab.txt +36 -36
added_tokens.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"[EMOJI]": 31004, "[USER]": 31002, "[HASHTAG]": 31003}
|
config.json
CHANGED
@@ -1,23 +1,24 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"BertForSequenceClassification"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
"gradient_checkpointing": false,
|
7 |
"hidden_act": "gelu",
|
8 |
-
"hidden_dropout_prob": 0.
|
9 |
"hidden_size": 768,
|
10 |
"id2label": {
|
11 |
-
"0": "
|
12 |
"1": "NEU",
|
13 |
-
"2": "
|
14 |
},
|
15 |
"initializer_range": 0.02,
|
16 |
"intermediate_size": 3072,
|
17 |
"label2id": {
|
18 |
-
"
|
19 |
"NEU": 1,
|
20 |
-
"
|
21 |
},
|
22 |
"layer_norm_eps": 1e-12,
|
23 |
"max_position_embeddings": 512,
|
@@ -26,7 +27,10 @@
|
|
26 |
"num_hidden_layers": 12,
|
27 |
"output_past": true,
|
28 |
"pad_token_id": 1,
|
29 |
-
"
|
|
|
|
|
30 |
"type_vocab_size": 2,
|
31 |
-
"
|
|
|
32 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "dccuchile/bert-base-spanish-wwm-cased",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"gradient_checkpointing": false,
|
8 |
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
+
"0": "N",
|
13 |
"1": "NEU",
|
14 |
+
"2": "P"
|
15 |
},
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
"label2id": {
|
19 |
+
"N": 0,
|
20 |
"NEU": 1,
|
21 |
+
"P": 2
|
22 |
},
|
23 |
"layer_norm_eps": 1e-12,
|
24 |
"max_position_embeddings": 512,
|
|
|
27 |
"num_hidden_layers": 12,
|
28 |
"output_past": true,
|
29 |
"pad_token_id": 1,
|
30 |
+
"position_embedding_type": "absolute",
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
+
"transformers_version": "4.6.1",
|
33 |
"type_vocab_size": 2,
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 31005
|
36 |
}
|
pytorch_model.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:ae62aae323fb95e9a89a10783c6d54565251135d6e5e3ebfbaaa1cede9b26c8d
|
3 |
+
size 439508881
|
special_tokens_map.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "additional_special_tokens": ["[USER]", "[HASHTAG]", "[EMOJI]"]}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"do_lower_case": false, "special_tokens_map_file": "/home/jmperez/.cache/
|
|
|
1 |
+
{"do_lower_case": false, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": false, "name_or_path": "dccuchile/bert-base-spanish-wwm-cased", "do_basic_tokenize": true, "never_split": null, "model_max_length": 512, "special_tokens_map_file": "/home/jmperez/.cache/huggingface/transformers/9848a00af462c42dfb4ec88ef438fbab5256330f7f6f50badc48d277f9367d49.f982506b52498d4adb4bd491f593dc92b2ef6be61bfdbe9d30f53f963f9f5b66"}
|
vocab.txt
CHANGED
@@ -939,42 +939,42 @@
|
|
939 |
[unused932]
|
940 |
[unused933]
|
941 |
[unused934]
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
[
|
961 |
-
[
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
-
|
966 |
-
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
|
971 |
-
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
-
|
976 |
-
|
977 |
-
|
978 |
##7
|
979 |
7
|
980 |
##w
|
|
|
939 |
[unused932]
|
940 |
[unused933]
|
941 |
[unused934]
|
942 |
+
##|
|
943 |
+
|
|
944 |
+
##}
|
945 |
+
}
|
946 |
+
##{
|
947 |
+
{
|
948 |
+
##_
|
949 |
+
_
|
950 |
+
##+
|
951 |
+
+
|
952 |
+
##*
|
953 |
+
*
|
954 |
+
##&
|
955 |
+
&
|
956 |
+
##$
|
957 |
+
$
|
958 |
+
##]
|
959 |
+
]
|
960 |
+
##[
|
961 |
+
[
|
962 |
+
##=
|
963 |
+
=
|
964 |
+
##>
|
965 |
+
>
|
966 |
+
##<
|
967 |
+
<
|
968 |
+
##@
|
969 |
+
@
|
970 |
+
##\
|
971 |
+
\
|
972 |
+
##/
|
973 |
+
/
|
974 |
+
##%
|
975 |
+
%
|
976 |
+
##;
|
977 |
+
;
|
978 |
##7
|
979 |
7
|
980 |
##w
|