Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
adhinojosa
/
don_Simon
like
0
Paused
App
Files
Files
Community
07c2c7d
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"
)