tommaso commited on
Commit
f56d507
1 Parent(s): 5b8c97b

hateBERT model and tokenizer

Browse files
.DS_Store ADDED
Binary file (6.15 kB). View file
 
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_num_labels": 2,
3
+ "architectures": [
4
+ "BertForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bad_words_ids": null,
8
+ "bos_token_id": null,
9
+ "decoder_start_token_id": null,
10
+ "do_sample": false,
11
+ "early_stopping": false,
12
+ "eos_token_id": null,
13
+ "finetuning_task": null,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.1,
16
+ "hidden_size": 768,
17
+ "id2label": {
18
+ "0": "LABEL_0",
19
+ "1": "LABEL_1"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "is_decoder": false,
24
+ "is_encoder_decoder": false,
25
+ "label2id": {
26
+ "LABEL_0": 0,
27
+ "LABEL_1": 1
28
+ },
29
+ "layer_norm_eps": 1e-12,
30
+ "length_penalty": 1.0,
31
+ "max_length": 20,
32
+ "max_position_embeddings": 512,
33
+ "min_length": 0,
34
+ "model_type": "bert",
35
+ "no_repeat_ngram_size": 0,
36
+ "num_attention_heads": 12,
37
+ "num_beams": 1,
38
+ "num_hidden_layers": 12,
39
+ "num_return_sequences": 1,
40
+ "output_attentions": false,
41
+ "output_hidden_states": false,
42
+ "output_past": true,
43
+ "pad_token_id": 0,
44
+ "prefix": null,
45
+ "pruned_heads": {},
46
+ "repetition_penalty": 1.0,
47
+ "task_specific_params": null,
48
+ "temperature": 1.0,
49
+ "top_k": 50,
50
+ "top_p": 1.0,
51
+ "torchscript": false,
52
+ "type_vocab_size": 2,
53
+ "use_bfloat16": false,
54
+ "vocab_size": 30522
55
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ad98e273f238555cf59f6056cb42a169d8c9648f660982d94011cdedf160721
3
+ size 440468473
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "max_len": 512, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff