mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-22 14:53:56 +00:00
rename the models to be more descriptive
Signed-off-by: Matt Williams <m@technovangelist.com>
This commit is contained in:
4
examples/langchain-python-simplegenerate/main.py
Normal file
4
examples/langchain-python-simplegenerate/main.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from langchain.llms import Ollama
|
||||
llm = Ollama(model="llama2")
|
||||
res = llm.predict("hello")
|
||||
print (res)
|
||||
Reference in New Issue
Block a user