Instructions to use hsultanbey/codegen2_350m_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use hsultanbey/codegen2_350m_lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen-350M-mono") model = PeftModel.from_pretrained(base_model, "hsultanbey/codegen2_350m_lora") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#1
by librarian-bot - opened