Upload model
Browse files- config.json +33 -0
- generation_config.json +8 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "h2oai/h2o-danube2-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": 8192,
|
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 |
+
"rms_norm_eps": 1e-05,
|
26 |
+
"rope_theta": 10000,
|
27 |
+
"sliding_window": null,
|
28 |
+
"tie_word_embeddings": false,
|
29 |
+
"torch_dtype": "float16",
|
30 |
+
"transformers_version": "4.38.2",
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 32000
|
33 |
+
}
|
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.38.2"
|
8 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ac7d45831f3f1ca4c7002ea1fc9aa075cf5779c5da9d5f46a08035b47329cd5
|
3 |
+
size 3662427592
|