Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
XaKnee
/
LLMTWO
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
LLMTWO
/
model_loader.py
XaKnee
Update model_loader.py
4b857ac
verified
9 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
128 Bytes
from
transformers
import
pipeline
def
load_model
():
pipe = pipeline(
"text-generation"
, model=
"distilgpt2"
)
return
pipe