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