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
Download train/download_codellama_model.py from Maaac/CodeLLaMA-Linux-BugFix: direct link, hf CLI and curl.
- Browser
- Download file 264 Bytes
-
https://huggingface.co/Maaac/CodeLLaMA-Linux-BugFix/resolve/main/train/download_codellama_model.py
- Command line
-
hf download hf://Maaac/CodeLLaMA-Linux-BugFix/train/download_codellama_model.py
-
curl -L -o download_codellama_model.py https://huggingface.co/Maaac/CodeLLaMA-Linux-BugFix/resolve/main/train/download_codellama_model.py
264 Bytes
| 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.") | |