Views
No views yet
[Theme: <theme1>, <theme2> ,<theme3>]
<Story goes here>1>>> from transformers import pipeline
2>>> generator = pipeline('text-generation', model='KoboldAI/GPT-Neo-2.7B-Shinen')
3>>> generator("She was staring at me", do_sample=True, min_length=50)
4[{'generated_text': 'She was staring at me with a look that said it all. She wanted me so badly tonight that I wanted'}]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}