Views
No views yet
1from llama_cpp import Llama 2 3llm = Llama( 4 model_path="model.gguf", 5 n_ctx=4096, 6 n_gpu_layers=0, 7) 8 9response = llm(prompt, max_tokens=256, temperature=0.0)