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

Model: Mattimax/DACMini-IT
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-27 22:04:38 +08:00
commit 3263f9040a
21 changed files with 358190 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
{
"<|pad|>": 30001,
"<|system|>": 30000
}

View File

@@ -0,0 +1,47 @@
{
"activation_function": "gelu_new",
"architectures": [
"GPT2LMHeadModel"
],
"attn_pdrop": 0.1,
"bos_token_id": 30000,
"dtype": "float32",
"embd_pdrop": 0.1,
"eos_token_id": 0,
"gradient_checkpointing": false,
"initializer_range": 0.02,
"layer_norm_epsilon": 1e-05,
"model_type": "gpt2",
"n_ctx": 1024,
"n_embd": 768,
"n_head": 12,
"n_inner": null,
"n_layer": 12,
"n_positions": 1024,
"pad_token_id": 30001,
"reorder_and_upcast_attn": false,
"resid_pdrop": 0.1,
"scale_attn_by_inverse_layer_idx": false,
"scale_attn_weights": true,
"summary_activation": null,
"summary_first_dropout": 0.1,
"summary_proj_to_labels": true,
"summary_type": "cls_index",
"summary_use_proj": true,
"task_specific_params": {
"text-generation": {
"do_sample": true,
"max_length": 100,
"no_repeat_ngram_size": 4,
"num_beams": 10,
"repetition_penalty": 10.0,
"temperature": 2.0,
"top_k": 20,
"top_p": 0.9
}
},
"torch_dtype": "float32",
"transformers_version": "4.55.4",
"use_cache": false,
"vocab_size": 30002
}

View File

@@ -0,0 +1,9 @@
{
"_from_model_config": true,
"bos_token_id": 30000,
"eos_token_id": [
0
],
"pad_token_id": 30001,
"transformers_version": "4.55.4"
}

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -0,0 +1,30 @@
{
"bos_token": {
"content": "<|system|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"eos_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<|pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"unk_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,46 @@
{
"add_bos_token": false,
"add_prefix_space": false,
"added_tokens_decoder": {
"0": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"30000": {
"content": "<|system|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"30001": {
"content": "<|pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
}
},
"bos_token": "<|system|>",
"clean_up_tokenization_spaces": false,
"eos_token": "<|endoftext|>",
"errors": "replace",
"extra_special_tokens": {},
"max_length": 512,
"model_max_length": 1000000000000000019884624838656,
"pad_to_multiple_of": null,
"pad_token": "<|pad|>",
"pad_token_type_id": 0,
"padding_side": "right",
"stride": 0,
"tokenizer_class": "GPT2Tokenizer",
"truncation_side": "right",
"truncation_strategy": "longest_first",
"unk_token": "<|endoftext|>"
}

File diff suppressed because one or more lines are too long