chnaaam commited on
Commit
bc71b4e
1 Parent(s): a30903d

update label config

Browse files
Files changed (2) hide show
  1. config.json +14 -3
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,17 +1,27 @@
1
  {
2
- "_name_or_path": "klue/roberta-base",
 
3
  "architectures": [
4
- "RobertaForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
 
8
  "eos_token_id": 2,
9
  "gradient_checkpointing": false,
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
 
 
 
 
13
  "initializer_range": 0.02,
14
  "intermediate_size": 3072,
 
 
 
 
15
  "layer_norm_eps": 1e-05,
16
  "max_position_embeddings": 514,
17
  "model_type": "roberta",
@@ -20,7 +30,8 @@
20
  "pad_token_id": 1,
21
  "position_embedding_type": "absolute",
22
  "tokenizer_class": "BertTokenizer",
23
- "transformers_version": "4.8.0",
 
24
  "type_vocab_size": 1,
25
  "use_cache": true,
26
  "vocab_size": 32000
 
1
  {
2
+ "_name_or_path": "brokorli/brokorli_sm",
3
+ "_num_labels": 2,
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
  "gradient_checkpointing": false,
12
  "hidden_act": "gelu",
13
  "hidden_dropout_prob": 0.1,
14
  "hidden_size": 768,
15
+ "id2label": {
16
+ "0": true,
17
+ "1": false
18
+ },
19
  "initializer_range": 0.02,
20
  "intermediate_size": 3072,
21
+ "label2id": {
22
+ "false": 1,
23
+ "true": 0
24
+ },
25
  "layer_norm_eps": 1e-05,
26
  "max_position_embeddings": 514,
27
  "model_type": "roberta",
 
30
  "pad_token_id": 1,
31
  "position_embedding_type": "absolute",
32
  "tokenizer_class": "BertTokenizer",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.19.2",
35
  "type_vocab_size": 1,
36
  "use_cache": true,
37
  "vocab_size": 32000
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2dac4f812afb8de1430f9afb57e2e2fe42f79168ebc91cb4894b92b21f2c4792
3
- size 442565951
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df4f1974ce90f7a66d697e4940914cbfc930e1a1f136cd29d4e6b0d5cff92e8e
3
+ size 440189623