Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
moriire/OpenGenAI
moriire
/
MedAI
like
1
Build error
App
Files
Files
Community
014870a
MedAI
/
app
/
hello.py
moriire
auth added
014870a
8 months ago
raw
Copy download link
history
blame
220 Bytes
import
llama_cpp
model = llama_cpp.Llama(
model_path=
"/home/mo/Desktop/web/oGBackend/qwen1_5-0_5b-chat-q2_k.gguf"
,
chat_format=
"llama-2"
,
)
x = model.create_completion(
"Write a story about robotics?"
)
print
(x)