Instructions to use captainfiz/python-code-generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use captainfiz/python-code-generator with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/llama-3-8b-bnb-4bit") model = PeftModel.from_pretrained(base_model, "captainfiz/python-code-generator") - Notebooks
- Google Colab
- Kaggle
Ctrl+K