初始化项目,由ModelHub XC社区提供模型
Model: deqing/mamba2-300M-v5-mamba2 Source: Original Platform
This commit is contained in:
44
final_model/config.json
Normal file
44
final_model/config.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"architectures": [
|
||||
"Mamba2ForCausalLM"
|
||||
],
|
||||
"bos_token_id": 128000,
|
||||
"chunk_size": 256,
|
||||
"conv_kernel": 4,
|
||||
"dtype": "float32",
|
||||
"eos_token_id": 128001,
|
||||
"expand": 2,
|
||||
"fuse_cross_entropy": true,
|
||||
"fuse_linear_cross_entropy": false,
|
||||
"fuse_norm": true,
|
||||
"head_dim": 64,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 1024,
|
||||
"initializer_range": 0.02,
|
||||
"max_position_embeddings": 1024,
|
||||
"model_type": "mamba2",
|
||||
"n_groups": 1,
|
||||
"norm_eps": 1e-05,
|
||||
"num_heads": 32,
|
||||
"num_hidden_layers": 28,
|
||||
"pad_token_id": null,
|
||||
"rescale_prenorm_residual": true,
|
||||
"residual_in_fp32": true,
|
||||
"rms_norm": true,
|
||||
"state_size": 128,
|
||||
"tie_word_embeddings": true,
|
||||
"time_step_floor": 0.0001,
|
||||
"time_step_limit": [
|
||||
0.0,
|
||||
1e+30
|
||||
],
|
||||
"time_step_max": 0.1,
|
||||
"time_step_min": 0.001,
|
||||
"time_step_rank": 128,
|
||||
"transformers_version": "5.3.0",
|
||||
"use_bias": false,
|
||||
"use_cache": false,
|
||||
"use_conv_bias": true,
|
||||
"use_l2warp": false,
|
||||
"vocab_size": 128256
|
||||
}
|
||||
11
final_model/generation_config.json
Normal file
11
final_model/generation_config.json
Normal 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.3.0",
|
||||
"use_cache": true
|
||||
}
|
||||
3
final_model/model.safetensors
Normal file
3
final_model/model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:da816ddac92f22bab3fb44c7e293aac85706fcb7dbfcee6fd1407c3ecfeeebc3
|
||||
size 1264685984
|
||||
BIN
final_model/tokenizer.json
(Stored with Git LFS)
Normal file
BIN
final_model/tokenizer.json
(Stored with Git LFS)
Normal file
Binary file not shown.
13
final_model/tokenizer_config.json
Normal file
13
final_model/tokenizer_config.json
Normal 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"
|
||||
}
|
||||
3
final_model/training_args.bin
Normal file
3
final_model/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:427c26dd9a412bc40df2fb026719945bb5202aa23ca4b0953dd3d6ed7187cd67
|
||||
size 5329
|
||||
Reference in New Issue
Block a user