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

Model: Borjan/finki-gpt-140M
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-12 20:03:17 +08:00
commit d429c6a6bc
8 changed files with 141 additions and 0 deletions

26
config.json Normal file
View File

@@ -0,0 +1,26 @@
{
"architectures": [
"LlamaForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 1,
"eos_token_id": 2,
"hidden_act": "silu",
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 2048,
"max_position_embeddings": 1024,
"model_type": "llama",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"num_key_value_heads": 4,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": null,
"rope_theta": 10000.0,
"tie_word_embeddings": true,
"transformers_version": "4.38.2",
"use_cache": true,
"vocab_size": 45000
}