Instructions to use urisoo/gptneo-125m-adalora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use urisoo/gptneo-125m-adalora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("EleutherAI/gpt-neo-125m") model = PeftModel.from_pretrained(base_model, "urisoo/gptneo-125m-adalora") - Notebooks
- Google Colab
- Kaggle
File size: 442 Bytes
6347866 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | {
"auto_mapping": null,
"base_model_name_or_path": "EleutherAI/gpt-neo-125m",
"encoder_dropout": 0.0,
"encoder_hidden_size": 768,
"encoder_num_layers": 2,
"encoder_reparameterization_type": "MLP",
"inference_mode": true,
"num_attention_heads": 12,
"num_layers": 12,
"num_transformer_submodules": 1,
"num_virtual_tokens": 30,
"peft_type": "P_TUNING",
"revision": null,
"task_type": "CAUSAL_LM",
"token_dim": 768
} |