johnatanebonilla commited on
Commit
eee17ce
·
verified ·
1 Parent(s): 9b8f9cf

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +11 -12
  2. model.safetensors +1 -1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "dccuchile/bert-base-spanish-wwm-uncased",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
@@ -10,27 +10,26 @@
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
- "0": "calificativo",
14
- "1": "despectivo",
15
- "2": "homosexual",
16
- "3": "otro",
17
- "4": "pronominal"
18
  },
19
  "initializer_range": 0.02,
20
  "intermediate_size": 3072,
21
  "label2id": {
22
- "calificativo": 0,
23
- "despectivo": 1,
24
- "homosexual": 2,
25
- "otro": 3,
26
- "pronominal": 4
27
  },
28
  "layer_norm_eps": 1e-12,
29
  "max_position_embeddings": 512,
30
  "model_type": "bert",
31
  "num_attention_heads": 12,
32
  "num_hidden_layers": 12,
33
- "output_attentions": true,
34
  "output_past": true,
35
  "pad_token_id": 1,
36
  "position_embedding_type": "absolute",
 
1
  {
2
+ "_name_or_path": "/content/drive/MyDrive/Colab_Notebooks/isabela_bert/",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
+ "0": "homosexual",
14
+ "1": "otro",
15
+ "2": "pronominal",
16
+ "3": "despectivo",
17
+ "4": "calificativo"
18
  },
19
  "initializer_range": 0.02,
20
  "intermediate_size": 3072,
21
  "label2id": {
22
+ "calificativo": 4,
23
+ "despectivo": 3,
24
+ "homosexual": 0,
25
+ "otro": 1,
26
+ "pronominal": 2
27
  },
28
  "layer_norm_eps": 1e-12,
29
  "max_position_embeddings": 512,
30
  "model_type": "bert",
31
  "num_attention_heads": 12,
32
  "num_hidden_layers": 12,
 
33
  "output_past": true,
34
  "pad_token_id": 1,
35
  "position_embedding_type": "absolute",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:18d2fdb19f70302497c65883cde5164f22b7746626ca0b5f573c9a844a5a0989
3
  size 439442436
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:680a4ea6afdc0586459d9c1172db2c88f4f648715ee999a043569231b5f59f66
3
  size 439442436