mdasdsad / README.md
E87127038w's picture
Update README.md
c8b055c verified
|
Raw History Blame Contribute Delete
140 Bytes

Use a pipeline as a high-level helper

from transformers import pipeline

pipe = pipeline("text-generation", model="distilbert/distilgpt2")