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

Model: deqing/llama-300M-v2-text_only
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-20 18:00:32 +08:00
commit 9edc056c3c
15 changed files with 310 additions and 0 deletions

32
final_model/config.json Normal file
View File

@@ -0,0 +1,32 @@
{
"architectures": [
"LlamaForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 128000,
"dtype": "float32",
"eos_token_id": 128001,
"head_dim": 64,
"hidden_act": "silu",
"hidden_size": 1024,
"initializer_range": 0.02,
"intermediate_size": 4096,
"max_position_embeddings": 1024,
"mlp_bias": false,
"model_type": "llama",
"num_attention_heads": 16,
"num_hidden_layers": 12,
"num_key_value_heads": 8,
"pad_token_id": null,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_parameters": {
"rope_theta": 500000.0,
"rope_type": "default"
},
"tie_word_embeddings": true,
"transformers_version": "5.1.0",
"use_cache": false,
"vocab_size": 128256
}

View File

@@ -0,0 +1,11 @@
{
"_from_model_config": true,
"bos_token_id": 128000,
"eos_token_id": [
128001
],
"output_attentions": false,
"output_hidden_states": false,
"transformers_version": "5.1.0",
"use_cache": true
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3011bc7c4d1b72b256181034251321429b4ed7755e21f94621deec67dfc8d89d
size 1280426144

BIN
final_model/tokenizer.json (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -0,0 +1,13 @@
{
"backend": "tokenizers",
"bos_token": "<|begin_of_text|>",
"clean_up_tokenization_spaces": true,
"eos_token": "<|end_of_text|>",
"is_local": false,
"model_input_names": [
"input_ids",
"attention_mask"
],
"model_max_length": 131072,
"tokenizer_class": "TokenizersBackend"
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72b917dc03b5aedb075147d3425c74eb24a73314f1f0e9ee21445fef38db5415
size 5329