Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
projects-jeru
/
test-B
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
1db0767
test-B
/
t5.py
projects-jeru
Duplicate from projects-jeru/container-test
134505f
almost 2 years ago
raw
Copy download link
history
blame
Wrap lines
152 Bytes
from
transformers
import
pipeline
pipe_flan = pipeline(model=
"bigscience/bloom-560m"
)
def
t5
(
input
):
output = pipe_flan(
input
)
return
output