Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
adhinojosa
/
don_Simon
like
0
Paused
App
Files
Files
Community
1654876
don_Simon
/
model.py
adhinojosa
Create model.py
1654876
verified
9 months ago
raw
Copy download link
history
blame
Safe
195 Bytes
from
ctransformers
import
AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained(
"TheBloke/Mistral-7B-OpenOrca-GGUF"
, model_file=
"mistral-7b-openorca.Q2_K.gguf"
, model_type=
"mistral"
)