初始化项目,由ModelHub XC社区提供模型

Model: h2oai/h2o-danube-1.8b-base
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-07 21:29:18 +08:00
commit 929ac398e0
9 changed files with 93618 additions and 0 deletions

26
config.json Normal file
View File

@@ -0,0 +1,26 @@
{
"_name_or_path": "h2oai/h2o-danube-1.8b-base",
"architectures": [
"MistralForCausalLM"
],
"bos_token_id": 1,
"eos_token_id": 2,
"hidden_act": "silu",
"hidden_size": 2560,
"initializer_range": 0.02,
"intermediate_size": 6912,
"max_position_embeddings": 16384,
"model_type": "mistral",
"num_attention_heads": 32,
"num_hidden_layers": 24,
"num_key_value_heads": 8,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"sliding_window": 4096,
"rope_scaling": null,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.36.1",
"use_cache": true,
"vocab_size": 32000
}