PROMPT_TUNING_GPT2 / adapter_config.json
vvn214's picture
Upload model
1d39867
raw
history blame contribute delete
No virus
443 Bytes
{
"auto_mapping": null,
"base_model_name_or_path": "gpt2",
"inference_mode": true,
"num_attention_heads": 12,
"num_layers": 12,
"num_transformer_submodules": 1,
"num_virtual_tokens": 8,
"peft_type": "PROMPT_TUNING",
"prompt_tuning_init": "TEXT",
"prompt_tuning_init_text": "Classify the polarity of the news headline",
"revision": null,
"task_type": "CAUSAL_LM",
"token_dim": 768,
"tokenizer_name_or_path": "gpt2"
}