KennethTM commited on
Commit
f80fed5
1 Parent(s): 7a2fcf2

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +47 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "danish-bert-review-sentiment",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "\u2b50",
15
+ "1": "\u2b50\u2b50",
16
+ "2": "\u2b50\u2b50\u2b50",
17
+ "3": "\u2b50\u2b50\u2b50\u2b50",
18
+ "4": "\u2b50\u2b50\u2b50\u2b50\u2b50"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "\u2b50": 0,
24
+ "\u2b50\u2b50": 1,
25
+ "\u2b50\u2b50\u2b50": 2,
26
+ "\u2b50\u2b50\u2b50\u2b50": 3,
27
+ "\u2b50\u2b50\u2b50\u2b50\u2b50": 4
28
+ },
29
+ "layer_norm_eps": 1e-12,
30
+ "max_position_embeddings": 512,
31
+ "model_type": "bert",
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 12,
34
+ "pad_token_id": 0,
35
+ "pooler_fc_size": 768,
36
+ "pooler_num_attention_heads": 12,
37
+ "pooler_num_fc_layers": 3,
38
+ "pooler_size_per_head": 128,
39
+ "pooler_type": "first_token_transform",
40
+ "position_embedding_type": "absolute",
41
+ "problem_type": "single_label_classification",
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.31.0.dev0",
44
+ "type_vocab_size": 2,
45
+ "use_cache": true,
46
+ "vocab_size": 32000
47
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3bceb7a38f00436dd3e030899907ed9c5f3da698e75bcc450dee30467469a55
3
+ size 442554741