Views
No views yet
1>>> from transformers import pipeline
2>>> generator = pipeline('text-generation', model='KoboldAI/GPT-Neo-1.3B-Adventure')
3>>> generator("> You wake up.", do_sample=True, min_length=50)
4[{'generated_text': '> You wake up"\nYou get out of bed, don your armor and get out of the door in search for new adventures.'}]1@software{gpt-neo,
2 author = {Black, Sid and
3 Leo, Gao and
4 Wang, Phil and
5 Leahy, Connor and
6 Biderman, Stella},
7 title = {{GPT-Neo: Large Scale Autoregressive Language
8 Modeling with Mesh-Tensorflow}},
9 month = mar,
10 year = 2021,
11 note = {{If you use this software, please cite it using
12 these metadata.}},
13 publisher = {Zenodo},
14 version = {1.0},
15 doi = {10.5281/zenodo.5297715},
16 url = {https://doi.org/10.5281/zenodo.5297715}
17}