Instructions to use luna-code/megengine-CodeGPT-small-py-prefix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use luna-code/megengine-CodeGPT-small-py-prefix with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/CodeGPT-small-py") model = PeftModel.from_pretrained(base_model, "luna-code/megengine-CodeGPT-small-py-prefix") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 265c090f2d4a2c2dea723aceb3d788b7a98cb9c3919a674b7a49ed556bd2881f
- Size of remote file:
- 369 kB
- SHA256:
- 3f62cbe4b7694b5350a93750d35b1cc16becb49a5f82779a72cea6835de28572
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.