Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
projects-jeru
/
test-B
like
0
Sleeping
App
Files
Files
Community
b6bc90c
test-B
/
t5.py
avreymi
fix t5
10631e7
over 1 year ago
raw
Copy download link
history
blame
173 Bytes
from
transformers
import
pipeline
pipe_flan = pipeline(model=
"bigscience/bloom-560m"
)
def
t5
(
input
):
output = pipe_flan(
input
)
return
output[
0
][
"generated_text"
]