Pruthul commited on
Commit
6bad69d
1 Parent(s): 9e1017c

finetuned bert on toxic comment dataset; flax model

Browse files
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "gradient_checkpointing": false,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "toxic",
12
+ "1": "severe_toxic",
13
+ "2": "obscene",
14
+ "3": "threat",
15
+ "4": "insult",
16
+ "5": "identity_hate"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "toxic": 0,
22
+ "severe_toxic": 1,
23
+ "obscene": 2,
24
+ "threat": 3,
25
+ "insult": 4,
26
+ "identity_hate": 5
27
+ },
28
+ "problem_type": "multi_label_classification",
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
+ "type_vocab_size": 2,
36
+ "vocab_size": 30522
37
+ }
flax_model.msgpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d0f2f0f91fba48e031aa7afa281c4b57fea20bbff32cef6d01d3e8ac74ba1d6
3
+ size 437954632
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb47d3d2b3188c8518c455c19664c8fc7776e0aa4416bc89c58463fb0bd246a3
3
+ size 438033929
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
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "model_max_length": 512, "name_or_path": "bert-base-uncased"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a268939852ed67d483255153bdbb32e9228497c504e8eca9afaa1db45d754f2a
3
+ size 3451
vocab.txt ADDED
The diff for this file is too large to render. See raw diff