Instructions to use CMU-AIR2/code-lora-hard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use CMU-AIR2/code-lora-hard with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("deepseek-ai/deepseek-coder-1.3b-instruct") model = PeftModel.from_pretrained(base_model, "CMU-AIR2/code-lora-hard") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
6ca82ee | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:53ca37dd1e0d69c8cacb4d1b629c9e3087a8f3de78e4f8fd3a01f85a4539a1a1
size 60478036
|