初始化项目,由ModelHub XC社区提供模型
Model: RyotaroOKabe/ope_mgpt_v1.1 Source: Original Platform
This commit is contained in:
97
config.json
Normal file
97
config.json
Normal file
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"_name_or_path": "Dagobert42/gpt2-finetuned-material-synthesis",
|
||||
"activation_function": "gelu_new",
|
||||
"architectures": [
|
||||
"GPT2LMHeadModel"
|
||||
],
|
||||
"attn_pdrop": 0.1,
|
||||
"bos_token_id": 50256,
|
||||
"embd_pdrop": 0.1,
|
||||
"eos_token_id": 50256,
|
||||
"id2label": {
|
||||
"0": "LABEL_0",
|
||||
"1": "LABEL_1",
|
||||
"2": "LABEL_2",
|
||||
"3": "LABEL_3",
|
||||
"4": "LABEL_4",
|
||||
"5": "LABEL_5",
|
||||
"6": "LABEL_6",
|
||||
"7": "LABEL_7",
|
||||
"8": "LABEL_8",
|
||||
"9": "LABEL_9",
|
||||
"10": "LABEL_10",
|
||||
"11": "LABEL_11",
|
||||
"12": "LABEL_12",
|
||||
"13": "LABEL_13",
|
||||
"14": "LABEL_14",
|
||||
"15": "LABEL_15",
|
||||
"16": "LABEL_16",
|
||||
"17": "LABEL_17",
|
||||
"18": "LABEL_18",
|
||||
"19": "LABEL_19",
|
||||
"20": "LABEL_20",
|
||||
"21": "LABEL_21",
|
||||
"22": "LABEL_22",
|
||||
"23": "LABEL_23",
|
||||
"24": "LABEL_24",
|
||||
"25": "LABEL_25",
|
||||
"26": "LABEL_26"
|
||||
},
|
||||
"initializer_range": 0.02,
|
||||
"label2id": {
|
||||
"LABEL_0": 0,
|
||||
"LABEL_1": 1,
|
||||
"LABEL_10": 10,
|
||||
"LABEL_11": 11,
|
||||
"LABEL_12": 12,
|
||||
"LABEL_13": 13,
|
||||
"LABEL_14": 14,
|
||||
"LABEL_15": 15,
|
||||
"LABEL_16": 16,
|
||||
"LABEL_17": 17,
|
||||
"LABEL_18": 18,
|
||||
"LABEL_19": 19,
|
||||
"LABEL_2": 2,
|
||||
"LABEL_20": 20,
|
||||
"LABEL_21": 21,
|
||||
"LABEL_22": 22,
|
||||
"LABEL_23": 23,
|
||||
"LABEL_24": 24,
|
||||
"LABEL_25": 25,
|
||||
"LABEL_26": 26,
|
||||
"LABEL_3": 3,
|
||||
"LABEL_4": 4,
|
||||
"LABEL_5": 5,
|
||||
"LABEL_6": 6,
|
||||
"LABEL_7": 7,
|
||||
"LABEL_8": 8,
|
||||
"LABEL_9": 9
|
||||
},
|
||||
"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,
|
||||
"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": 50
|
||||
}
|
||||
},
|
||||
"torch_dtype": "float32",
|
||||
"transformers_version": "4.33.2",
|
||||
"use_cache": true,
|
||||
"vocab_size": 50257
|
||||
}
|
||||
Reference in New Issue
Block a user