Text Generation
PEFT
Safetensors
English
terraform
terraform-configuration
infrastructure-as-code
iac
hashicorp
codellama
lora
qlora
code-generation
devops
cloud
automation
configuration-management
Instructions to use rafiaa/terraform-codellama-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rafiaa/terraform-codellama-7b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-Instruct-hf") model = PeftModel.from_pretrained(base_model, "rafiaa/terraform-codellama-7b") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from rafiaa/terraform-codellama-7b: direct link, hf CLI and curl.
- Browser
- Download file 1.84 MB
-
https://huggingface.co/rafiaa/terraform-codellama-7b/resolve/main/tokenizer.json
- Command line
-
hf download hf://rafiaa/terraform-codellama-7b/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/rafiaa/terraform-codellama-7b/resolve/main/tokenizer.json
1.84 MB
File too large to display, you can check the raw version instead.