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 size: 129 Bytes
141a2d4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:befbcf60a1d993005396d84908e4ee298cf0057a3029dd7ea372d5b741a86c43
size 4984
|