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

Model: ibm-granite/granite-20b-code-instruct-8k
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-05 21:42:13 +08:00
commit b88f274238
18 changed files with 99519 additions and 0 deletions

28
config.json Normal file
View File

@@ -0,0 +1,28 @@
{
"activation_function": "gelu",
"architectures": [
"GPTBigCodeForCausalLM"
],
"attention_softmax_in_fp32": true,
"attn_pdrop": 0.1,
"bos_token_id": 0,
"embd_pdrop": 0.1,
"eos_token_id": 0,
"initializer_range": 0.02,
"layer_norm_epsilon": 1e-05,
"model_type": "gpt_bigcode",
"multi_query": true,
"n_embd": 6144,
"n_head": 48,
"n_inner": 24576,
"n_layer": 52,
"n_positions": 8192,
"pad_token_id": 0,
"resid_pdrop": 0.1,
"scale_attention_softmax_in_fp32": true,
"scale_attn_weights": true,
"torch_dtype": "bfloat16",
"transformers_version": "4.41.2",
"use_cache": false,
"vocab_size": 49152
}