Run this model with HF Jobs
Run basharatwali/CodeLlama-Instruct-Python-7b 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/basharatwali/CodeLlama-Instruct-Python-7b. 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/basharatwali/CodeLlama-Instruct-Python-7b 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 basharatwali/CodeLlama-Instruct-Python-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use basharatwali/CodeLlama-Instruct-Python-7b with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("basharatwali/CodeLlama-Instruct-Python-7b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files6 unmodified lines7891011121314151617181920216 unmodified lines- trl- sft- CodeLlamalicence: license---# Model Card for CodeLlamaInstruct_finetuned_2This model is also finetuned on DataBench, which is publicly available on Hugging Face.It is specifically designed to generate a single line of Python code in response to questions from the dataset.The finetuning process ensures it follows instructions for producing the required Python code accurately.This model is a fine-tuned version of [meta-llama/CodeLlama-7b-Instruct-hf](https://huggingface.co/meta-llama/CodeLlama-7b-Instruct-hf).It has been trained using [TRL](https://github.com/huggingface/trl).## Quick start6 unmodified lines7891011121314151617181920212223246 unmodified lines- trl- sft- CodeLlama- Pythonlicence: licensedatasets:- cardiffnlp/databench---# Model Card for CodeLlamaInstruct_finetuned_2This model is a fine-tuned version of [meta-llama/CodeLlama-7b-Instruct-hf](https://huggingface.co/meta-llama/CodeLlama-7b-Instruct-hf).Finetuned on DataBench [cardiffnlp/databench](https://huggingface.co/datasets/cardiffnlp/databench), which is publicly available on Hugging Face.It is specifically designed to generate a single line of Python code in response to questions from the dataset.The finetuning process ensures it follows instructions for producing the required Python code accurately.It has been trained using [TRL](https://github.com/huggingface/trl).## Quick start
README.md+6-3