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
Upload model
Browse files
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 368760
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36465f66a1a5872109bdfc430d46e7e0c76563c656ffc5d142687c7e46d33a2b
|
| 3 |
size 368760
|