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.