File size: 1,344 Bytes
9a97de5 b771bee 9a97de5 b771bee 9a97de5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
{
"architectures": [
"openai-gpt"
],
"inference_mode": true,
"batch_size": 32,
"bias": true,
"block_size": 512,
"dim_feedforward": 3072,
"dropout": 0.1,
"ff_expansion_factor": 4,
"hidden_act": "gelu",
"hidden_size": 768,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1",
"2": "LABEL_2",
"3": "LABEL_3",
"4": "LABEL_4"
},
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1,
"LABEL_2": 2,
"LABEL_3": 3,
"LABEL_4": 4
},
"label_smoothing": 0.1,
"learning_rate": 0.0003,
"log_interval": 100,
"max_grad_norm": 1.0,
"max_position_embeddings": 512,
"model_type": "gpt2",
"n_embd": 768,
"n_head": 12,
"n_layer": 12,
"output_dir": "C:/Users/wonde/output",
"torch_dtype": "float32",
"total_steps": 10000,
"transformers_version": "4.43.3",
"vocab_size": 50257,
"warmup_steps": 1000,
"weight_decay": 0.01,
"megatron_config": null,
"megatron_core": "megatron.core",
"modules_to_save": [
"classifier",
"score"
],
"peft_type": "LORA",
"r": 16,
"rank_pattern": {},
"revision": null,
"target_modules": [
"c_proj",
"c_attn",
"c_fc",
"score"
],
"task_specific_params": {
"text-generation": {
"do_sample": true,
"max_length": 100
}
},
"task_type": "SEQ_CLS",
"use_dora": false,
"use_rslora": false
} |