./llama-cli -m qehwa-q8_0.gguf -p "Below is an instruction in Pashto or English. Write a detailed response in Pashto.\n\n### Instruction:\nد پیښور تاریخ راته ووایه\n\n### Response:\n" -n 200
llama-cpp-python (Python)
python
1from llama_cpp import Llama
23llm = Llama(model_path="qehwa-q8_0.gguf", n_gpu_layers=-1)45output = llm(6"Below is an instruction in Pashto or English. Write a detailed response in Pashto.\n\n"7"### Instruction:\nد پیښور تاریخ راته ووایه\n\n### Response:\n",8 max_tokens=500,9 temperature=0.7,10 repeat_penalty=1.1,11 stop=["### Instruction:"],12)1314print(output["choices"][0]["text"])
💬 Prompt Format
This model uses the Alpaca prompt template:
Below is an instruction in Pashto or English. Write a detailed response in Pashto.
### Instruction:
{your prompt here}
### Response: