I haven't tried Llama for code generation yet, maybe I should give it a try now
If you have an Apple Silicon machine, combine [0] with [1] for state of the art local code completion and general Q/A.
[0] https://huggingface.co/TheBloke/WizardCoder-Python-34B-V1.0-...