Instructions to use Maaac/CodeLLaMA-Linux-BugFix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Maaac/CodeLLaMA-Linux-BugFix with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
| from transformers import AutoTokenizer, AutoModelForCausalLM | |
| model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-Instruct-hf") | |
| tokenizer = AutoTokenizer.from_pretrained("codellama/CodeLlama-7b-Instruct-hf") | |
| print("✅ Download complete.") | |