Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Kazilsky
/
Petal
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
Petal
/
app.py
Kazilsky
Update app.py
4b6f272
verified
3 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
152 Bytes
# Use a pipeline as a high-level helper
from
transformers
import
pipeline
pipe = pipeline(
"text-generation"
, model=
"microsoft/bitnet-b1.58-2B-4T-gguf"
)