Instructions to use LonlyDWolf/CodeT5p-220M-For-Code-Generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use LonlyDWolf/CodeT5p-220M-For-Code-Generation with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Salesforce/codet5p-220m") model = PeftModel.from_pretrained(base_model, "LonlyDWolf/CodeT5p-220M-For-Code-Generation") - Notebooks
- Google Colab
- Kaggle
File too large to display, you can check the raw version instead.