Run this model with HF Jobs
Run hynky/codellama-7b-sft-lora-func-names-java-4bit 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/hynky/codellama-7b-sft-lora-func-names-java-4bit. 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/hynky/codellama-7b-sft-lora-func-names-java-4bit 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 hynky/codellama-7b-sft-lora-func-names-java-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use hynky/codellama-7b-sft-lora-func-names-java-4bit with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf") model = PeftModel.from_pretrained(base_model, "hynky/codellama-7b-sft-lora-func-names-java-4bit") - Notebooks
- Google Colab
- Kaggle
Adding usage example.
#1
by palashsharma15 - opened
No description provided.
Thank you very much for the contribution, hopefuly I will find a time today to finish up the rest of the card :)
hynky changed pull request status to merged
Thank you very much for the contribution, hopefuly I will find a time today to finish up the rest of the card :)
Glad it helped. Thanks, this is the only CodeLlama model solely focused on JAVA. Looking forward to the model card.