Cyrile commited on
Commit
db63a47
1 Parent(s): 7d05623

Upload 6 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cmarkea/bloomz-3b-guardrail",
3
+ "apply_residual_connection_post_layernorm": false,
4
+ "architectures": [
5
+ "BloomForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "attention_softmax_in_fp32": true,
9
+ "bias_dropout_fusion": true,
10
+ "bos_token_id": 1,
11
+ "eos_token_id": 2,
12
+ "hidden_dropout": 0.0,
13
+ "hidden_size": 2560,
14
+ "id2label": {
15
+ "0": "obscene",
16
+ "1": "sexual_explicit",
17
+ "2": "identity_attack",
18
+ "3": "insult",
19
+ "4": "threat"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "label2id": {
23
+ "obscene": 0,
24
+ "sexual_explicit": 1,
25
+ "identity_attack": 2,
26
+ "insult": 3,
27
+ "threat": 4
28
+ },
29
+ "layer_norm_epsilon": 1e-05,
30
+ "masked_softmax_fusion": true,
31
+ "model_type": "bloom",
32
+ "n_head": 32,
33
+ "n_inner": null,
34
+ "n_layer": 30,
35
+ "offset_alibi": 100,
36
+ "pad_token_id": 3,
37
+ "pretraining_tp": 4,
38
+ "problem_type": "multi_label_classification",
39
+ "skip_bias_add": true,
40
+ "skip_bias_add_qkv": false,
41
+ "slow_but_exact": false,
42
+ "torch_dtype": "bfloat16",
43
+ "transformers_version": "4.34.0",
44
+ "unk_token_id": 0,
45
+ "use_cache": true,
46
+ "vocab_size": 250880
47
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed312bf96c08b6d5098756144a33ebf9a8b56d50d90823dcf1b279d4b5d5a7f4
3
+ size 6005183824
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48b97292bffdbc2b117f1149b3a4def3d612fa975bc2221728aa60a1f095c361
3
+ size 6005260845
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>",
4
+ "pad_token": "<pad>",
5
+ "unk_token": "<unk>"
6
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50599f8bba58f86bd0676769a533a898c4a2d3c6f12056e8efe1e7b04460d008
3
+ size 14500984
tokenizer_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<unk>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<s>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<pad>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ }
36
+ },
37
+ "additional_special_tokens": [],
38
+ "bos_token": "<s>",
39
+ "clean_up_tokenization_spaces": false,
40
+ "eos_token": "</s>",
41
+ "model_max_length": 1000000000000000019884624838656,
42
+ "pad_token": "<pad>",
43
+ "tokenizer_class": "BloomTokenizer",
44
+ "unk_token": "<unk>"
45
+ }