Databricks Certified Generative AI Engineer Associate — Question 65
A Generative AI Engineer is asked to build an LLM application that would excel at code generation. They need to select a model that has been specifically trained to generate code.
Which model would likely produce the best results out of the box?
Answer options
- A. CodeLlama-34b-Instruct-hf
- B. Mixtral-8x7B-v0.1
- C. Llama-2-70b-hf
- D. mpt-7b-8k-instruct
Correct answer: A
Explanation
The model CodeLlama-34b-Instruct-hf is specifically designed for code generation, making it the best choice for this task. The other options, while capable, are not primarily focused on code generation and may not perform as well in this specific area.