Text-to-Image
Diffusers
Safetensors
llama
stable-diffusion
lora
template:sd-lora
4-bit precision
bitsandbytes
Instructions to use aravind-kesiraju/codellama-7b-hf-sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aravind-kesiraju/codellama-7b-hf-sql with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("codellama/CodeLlama-7b-hf", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("aravind-kesiraju/codellama-7b-hf-sql") prompt = "-" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download tokenizer.json from aravind-kesiraju/codellama-7b-hf-sql: direct link, hf CLI and curl.
- Browser
- Download file 1.84 MB
-
https://huggingface.co/aravind-kesiraju/codellama-7b-hf-sql/resolve/main/tokenizer.json
- Command line
-
hf download hf://aravind-kesiraju/codellama-7b-hf-sql/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/aravind-kesiraju/codellama-7b-hf-sql/resolve/main/tokenizer.json
1.84 MB
File too large to display, you can check the raw version instead.