yichunkuo commited on
Commit
7c87ce2
1 Parent(s): 5cc1da9

Upload FalconForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +63 -0
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 1,
19
+ "eos_token_id": 2,
20
+ "hidden_dropout": 0.0,
21
+ "hidden_size": 2048,
22
+ "initializer_range": 0.02,
23
+ "layer_norm_epsilon": 1e-05,
24
+ "max_position_embeddings": 2048,
25
+ "model_type": "falcon",
26
+ "multi_query": false,
27
+ "new_decoder_architecture": false,
28
+ "num_attention_heads": 32,
29
+ "num_hidden_layers": 24,
30
+ "num_kv_heads": 32,
31
+ "parallel_attn": false,
32
+ "quantization_config": {
33
+ "batch_size": 1,
34
+ "bits": 8,
35
+ "block_name_to_quantize": "transformer.h",
36
+ "cache_block_outputs": true,
37
+ "damp_percent": 0.1,
38
+ "dataset": "c4",
39
+ "desc_act": false,
40
+ "exllama_config": {
41
+ "version": 1
42
+ },
43
+ "group_size": -1,
44
+ "max_input_length": null,
45
+ "model_seqlen": 2048,
46
+ "module_name_preceding_first_block": [
47
+ "transformer.word_embeddings"
48
+ ],
49
+ "pad_token_id": null,
50
+ "quant_method": "gptq",
51
+ "sym": true,
52
+ "tokenizer": null,
53
+ "true_sequential": true,
54
+ "use_cuda_fp16": true,
55
+ "use_exllama": true
56
+ },
57
+ "rope_scaling": null,
58
+ "rope_theta": 10000.0,
59
+ "torch_dtype": "float16",
60
+ "transformers_version": "4.35.2",
61
+ "use_cache": true,
62
+ "vocab_size": 50304
63
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.35.2"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4aa75092cf729a9809e839b31d07daf78eb7347d0717b9076d9abf4ab5397692
3
+ size 1418062088