Views
No views yet
1from transformers import pipeline
2
3generator = pipeline('text-generation', model='2nji/gpt-neo-125m-finetuned-shakespeare')
4
5generator("And all that", do_sample=True, min_length=20)
6
7# [{'generated_text': "And all that in heaven is free: Thou bestow'd on God, so to my house, and in the"}]| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 1.0 | 185 | 4.1844 |
| No log | 2.0 | 370 | 4.1248 |
| 4.0892 | 3.0 | 555 | 4.1126 |