Views
No views yet
1>>> from transformers import pipeline
2>>> clm = pipeline('text-generation', model='panigrah/winberto-gpt2')
3>>> clm("California Cabernet is", max_length=30, num_return_sequences=3)
4
5[{'generated_text': 'California Pinot is a dark golden color. black plum and cherry aromas and flavors show their aromatic flair amidst ripe black fruit, cola and'},
6 {'generated_text': 'California Pinot is a wine made from a grape that was aged in large oak tanks. the fruit is balanced by acidity and a crisp'},
7 {'generated_text': 'California Pinot is a great surprise at all levels of age, but this delivers a soft, supple and luscious feel on the palate.'}]```
8