Views
No views yet
llama-cpp-python
1from llama_cpp import Llama 2 3llm = Llama(model_path="psychologistv2-8.0B-Q4_0.gguf") 4response = llm("Hi, I'm feeling stressed lately.") 5print(response["choices"][0]["text"])