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: 129 Bytes
6ca82ee | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:8ad1f0b3a14f0a9c7c3a6415a20056a32092142b44c46b72f6a3a1e5be0f8db8
size 4920
|