pdelobelle
commited on
Commit
•
52ae3b8
1
Parent(s):
64e413e
Fixed vocab size in pytorch
Browse files- config.json +6 -24
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,16 +1,13 @@
|
|
1 |
{
|
|
|
2 |
"_num_labels": 9,
|
3 |
"architectures": [
|
4 |
"RobertaForTokenClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
-
"bad_words_ids": null,
|
8 |
"bos_token_id": 0,
|
9 |
-
"
|
10 |
-
"do_sample": false,
|
11 |
-
"early_stopping": false,
|
12 |
"eos_token_id": 2,
|
13 |
-
"finetuning_task": null,
|
14 |
"hidden_act": "gelu",
|
15 |
"hidden_dropout_prob": 0.1,
|
16 |
"hidden_size": 768,
|
@@ -27,8 +24,6 @@
|
|
27 |
},
|
28 |
"initializer_range": 0.02,
|
29 |
"intermediate_size": 3072,
|
30 |
-
"is_decoder": false,
|
31 |
-
"is_encoder_decoder": false,
|
32 |
"label2id": {
|
33 |
"B-LOC": 2,
|
34 |
"B-MISC": 3,
|
@@ -41,29 +36,16 @@
|
|
41 |
"O": 8
|
42 |
},
|
43 |
"layer_norm_eps": 1e-05,
|
44 |
-
"length_penalty": 1.0,
|
45 |
-
"max_length": 20,
|
46 |
"max_position_embeddings": 514,
|
47 |
-
"min_length": 0,
|
48 |
"model_type": "roberta",
|
49 |
-
"no_repeat_ngram_size": 0,
|
50 |
"num_attention_heads": 12,
|
51 |
-
"num_beams": 1,
|
52 |
"num_hidden_layers": 12,
|
53 |
-
"num_return_sequences": 1,
|
54 |
-
"output_attentions": false,
|
55 |
-
"output_hidden_states": false,
|
56 |
"output_past": true,
|
57 |
"pad_token_id": 1,
|
58 |
-
"
|
59 |
-
"
|
60 |
-
"
|
61 |
-
"task_specific_params": null,
|
62 |
-
"temperature": 1.0,
|
63 |
-
"top_k": 50,
|
64 |
-
"top_p": 1.0,
|
65 |
-
"torchscript": false,
|
66 |
"type_vocab_size": 1,
|
67 |
-
"
|
68 |
"vocab_size": 40000
|
69 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./robbert-v2-dutch-ner",
|
3 |
"_num_labels": 9,
|
4 |
"architectures": [
|
5 |
"RobertaForTokenClassification"
|
6 |
],
|
7 |
"attention_probs_dropout_prob": 0.1,
|
|
|
8 |
"bos_token_id": 0,
|
9 |
+
"classifier_dropout": null,
|
|
|
|
|
10 |
"eos_token_id": 2,
|
|
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 768,
|
|
|
24 |
},
|
25 |
"initializer_range": 0.02,
|
26 |
"intermediate_size": 3072,
|
|
|
|
|
27 |
"label2id": {
|
28 |
"B-LOC": 2,
|
29 |
"B-MISC": 3,
|
|
|
36 |
"O": 8
|
37 |
},
|
38 |
"layer_norm_eps": 1e-05,
|
|
|
|
|
39 |
"max_position_embeddings": 514,
|
|
|
40 |
"model_type": "roberta",
|
|
|
41 |
"num_attention_heads": 12,
|
|
|
42 |
"num_hidden_layers": 12,
|
|
|
|
|
|
|
43 |
"output_past": true,
|
44 |
"pad_token_id": 1,
|
45 |
+
"position_embedding_type": "absolute",
|
46 |
+
"torch_dtype": "float32",
|
47 |
+
"transformers_version": "4.21.0",
|
|
|
|
|
|
|
|
|
|
|
48 |
"type_vocab_size": 1,
|
49 |
+
"use_cache": true,
|
50 |
"vocab_size": 40000
|
51 |
}
|
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:16c1934dca9efde540d91f35669bcab52a492d1bc806cc3529afab89a2f1ab30
|
3 |
+
size 464782065
|