Run this model with HF Jobs
Run smangrul/codellama-hugcoder-v2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/smangrul/codellama-hugcoder-v2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/smangrul/codellama-hugcoder-v2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
|