quarkx33 commited on
Commit
e0df6af
1 Parent(s): 08f8767

Upload model

Browse files
Files changed (3) hide show
  1. config.json +35 -0
  2. generation_config.json +8 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "h2oai/h2o-danube-1.8b-chat",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "custom_pipelines": {
9
+ "text-generation": {
10
+ "impl": "h2oai_pipeline.H2OTextGenerationPipeline",
11
+ "pt": "AutoModelForCausalLM"
12
+ }
13
+ },
14
+ "eos_token_id": 2,
15
+ "hidden_act": "silu",
16
+ "hidden_size": 2560,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 6912,
19
+ "max_position_embeddings": 16384,
20
+ "model_type": "mistral",
21
+ "num_attention_heads": 32,
22
+ "num_hidden_layers": 24,
23
+ "num_key_value_heads": 8,
24
+ "pad_token_id": 0,
25
+ "pretraining_tp": 1,
26
+ "rms_norm_eps": 1e-05,
27
+ "rope_scaling": null,
28
+ "rope_theta": 10000.0,
29
+ "sliding_window": 4096,
30
+ "tie_word_embeddings": false,
31
+ "torch_dtype": "float16",
32
+ "transformers_version": "4.36.1",
33
+ "use_cache": true,
34
+ "vocab_size": 32000
35
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "repetition_penalty": 1.1,
7
+ "transformers_version": "4.36.1"
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b601cbd16e7f86156e5f4dd76eedf427ceb8c9d7e201c5e909a83fcee3442bbf
3
+ size 3662427592