Instructions to use smangrul/codellama-hugcoder-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use smangrul/codellama-hugcoder-v2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-Instruct-hf") model = PeftModel.from_pretrained(base_model, "smangrul/codellama-hugcoder-v2") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
d5d7ed5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b27de96491bed12be43d8e429fa172d180cea478a55ca37516cef63199aefd25
size 4728
|