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
Download tokenizer.json from captainfiz/python-code-generator: direct link, hf CLI and curl.
- Browser
- Download file 9.09 MB
-
https://huggingface.co/captainfiz/python-code-generator/resolve/main/tokenizer.json
- Command line
-
hf download hf://captainfiz/python-code-generator/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/captainfiz/python-code-generator/resolve/main/tokenizer.json
9.09 MB
File too large to display, you can check the raw version instead.