Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ZackBradshaw
/
omni_bot
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
4962437
omni_bot
/
playground
/
models
/
mistral.py
WAWAA
Upload folder using huggingface_hub
4962437
over 1 year ago
raw
Copy download link
history
blame
Safe
181 Bytes
from
swarms.models
import
Mistral
model = Mistral(
device=
"cuda"
,
use_flash_attention=
True
)
prompt =
"My favourite condiment is"
result = model.run(prompt)
print
(result)