Show HN: Talk to Transformer – Generate Text with OpenAI's Latest GPT-2 Model
61–70 of 93 posts
Re: Show HN: Talk to Transformer – Generate Text with OpenAI's Latest GPT-2 Model
#62Re: Show HN: Talk to Transformer – Generate Text with OpenAI's Latest GPT-2 Model
#63Re: Show HN: Talk to Transformer – Generate Text with OpenAI's Latest GPT-2 Model
#64Re: Show HN: Talk to Transformer – Generate Text with OpenAI's Latest GPT-2 Model
#65I fed it a small snippet of Python code, and I got this back (edited to fix syntax errors): import matplotlib.pyplot as plt ax = plt.Axes() ax.set_xlabel(name='Person ') ax.set_ylabel(name='Name ') plt.scatter([df.name, ax.x(1/2)).sum(), ax.y(1/2)) plt.col, ax.rect(name='Name') ax.show() It doesn't make total sense, but it's so cool to see that AI has seemingly learned to use the matplotlib API, save for some unbalan…
It seems pretty good at matching parens and braces for C code, although it decided it was finished before outputting the closing brace for the function (the prompt was just the signature): void send_file(int* fd) { int file_type; char *file_name; size_t name_len; FILE *fp; char *name = NULL; if(fmt::error_code != 0) return error("Could not set file type"); fp = &file->fp; size_t file_size = fprintf(fp, "%02x", fp->fn…