almersawi commited on
Commit
905ba09
1 Parent(s): 507e957

Upload model

Browse files
Files changed (3) hide show
  1. config.json +56 -0
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "tiiuae/falcon-rw-1b",
3
+ "alibi": true,
4
+ "apply_residual_connection_post_layernorm": false,
5
+ "architectures": [
6
+ "FalconForCausalLM"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auto_map": {
10
+ "AutoConfig": "tiiuae/falcon-rw-1b--configuration_falcon.FalconConfig",
11
+ "AutoModel": "tiiuae/falcon-rw-1b--modeling_falcon.FalconModel",
12
+ "AutoModelForCausalLM": "tiiuae/falcon-rw-1b--modeling_falcon.FalconForCausalLM",
13
+ "AutoModelForQuestionAnswering": "tiiuae/falcon-rw-1b--modeling_falcon.FalconForQuestionAnswering",
14
+ "AutoModelForSequenceClassification": "tiiuae/falcon-rw-1b--modeling_falcon.FalconForSequenceClassification",
15
+ "AutoModelForTokenClassification": "tiiuae/falcon-rw-1b--modeling_falcon.FalconForTokenClassification"
16
+ },
17
+ "bias": true,
18
+ "bos_token_id": 50256,
19
+ "custom_pipelines": {
20
+ "text-generation": {
21
+ "pt": "AutoModelForCausalLM"
22
+ }
23
+ },
24
+ "eos_token_id": 50256,
25
+ "hidden_dropout": 0.0,
26
+ "hidden_size": 2048,
27
+ "id2label": {
28
+ "0": "EXPLOSIVES AND BREAKING AGENTS",
29
+ "1": "EXPLODING VESSELS UNDER PRESSURE",
30
+ "2": "TOXIC",
31
+ "3": "ENTRAPMENT",
32
+ "4": "INUNDATION",
33
+ "5": "SLIP OR FALL OF PERSON",
34
+ "6": "HANDLING OF MATERIALS",
35
+ "7": "HAULAGE",
36
+ "8": "ELECTRICAL",
37
+ "9": "FIRE/EXPLOSION"
38
+ },
39
+ "initializer_range": 0.02,
40
+ "layer_norm_epsilon": 1e-05,
41
+ "max_position_embeddings": 2048,
42
+ "model_type": "falcon",
43
+ "multi_query": false,
44
+ "new_decoder_architecture": false,
45
+ "num_attention_heads": 32,
46
+ "num_hidden_layers": 24,
47
+ "num_kv_heads": 32,
48
+ "pad_token_id": 50256,
49
+ "parallel_attn": false,
50
+ "rope_scaling": null,
51
+ "rope_theta": 10000.0,
52
+ "torch_dtype": "bfloat16",
53
+ "transformers_version": "4.39.2",
54
+ "use_cache": true,
55
+ "vocab_size": 50304
56
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "pad_token_id": 50256,
6
+ "transformers_version": "4.39.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d1e4e1eff5562bf99c99fb5a430ca8be34a53f1c9b51ed09217060ac7513db0
3
+ size 2623284688