shaileshp commited on
Commit
b68ca46
1 Parent(s): 88af8d1

Upload RWForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +40 -0
  2. generation_config.json +9 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/trained-model-1-merged-new",
3
+ "alibi": true,
4
+ "apply_residual_connection_post_layernorm": false,
5
+ "architectures": [
6
+ "RWForCausalLM"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auto_map": {
10
+ "AutoConfig": "tiiuae/falcon-rw-1b--configuration_RW.RWConfig",
11
+ "AutoModelForCausalLM": "tiiuae/falcon-rw-1b--modelling_RW.RWForCausalLM"
12
+ },
13
+ "bias": true,
14
+ "bos_token_id": 1,
15
+ "eos_token_id": 2,
16
+ "hidden_dropout": 0.0,
17
+ "hidden_size": 2048,
18
+ "initializer_range": 0.02,
19
+ "layer_norm_epsilon": 1e-05,
20
+ "model_type": "RefinedWebModel",
21
+ "multi_query": false,
22
+ "n_head": 32,
23
+ "n_layer": 24,
24
+ "parallel_attn": false,
25
+ "quantization_config": {
26
+ "bnb_4bit_compute_dtype": "float32",
27
+ "bnb_4bit_quant_type": "fp4",
28
+ "bnb_4bit_use_double_quant": false,
29
+ "llm_int8_enable_fp32_cpu_offload": false,
30
+ "llm_int8_has_fp16_weight": false,
31
+ "llm_int8_skip_modules": null,
32
+ "llm_int8_threshold": 6.0,
33
+ "load_in_4bit": false,
34
+ "load_in_8bit": true
35
+ },
36
+ "torch_dtype": "float16",
37
+ "transformers_version": "4.30.0.dev0",
38
+ "use_cache": true,
39
+ "vocab_size": 50304
40
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 50256,
5
+ "max_new_tokens": 200,
6
+ "pad_token_id": 50256,
7
+ "temperature": 0.5,
8
+ "transformers_version": "4.30.0.dev0"
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f7b14db22cc933eaaaac60df30661e2824a57049a94632029d2d31cf7572ad8
3
+ size 1417191065