Text Classification
Transformers
PyTorch
Spanish
bert
Stremie commited on
Commit
13ac683
1 Parent(s): 2dacd33

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +42 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./DiagTrast-Berto",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "Trastornos de la personalidad antisocial",
14
+ "1": "Trastornos de la personalidad borderline",
15
+ "2": "Trastornos de la personalidad esquizot\u00edpica",
16
+ "3": "Trastornos de la personalidad histri\u00f3nica",
17
+ "4": "Trastornos de la personalidad narcisista"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Trastornos de la personalidad antisocial": "0",
23
+ "Trastornos de la personalidad borderline": "1",
24
+ "Trastornos de la personalidad esquizot\u00edpica": "2",
25
+ "Trastornos de la personalidad histri\u00f3nica": "3",
26
+ "Trastornos de la personalidad narcisista": "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_past": true,
34
+ "pad_token_id": 1,
35
+ "position_embedding_type": "absolute",
36
+ "problem_type": "single_label_classification",
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.28.0.dev0",
39
+ "type_vocab_size": 2,
40
+ "use_cache": true,
41
+ "vocab_size": 31002
42
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e61d5fe8d6fb4235f2e0e59bb613cfc7302817de6038512775aa6db80bdb3fca
3
+ size 439488885