|
import gradio as gr |
|
title = "GPT-J-6B" |
|
description = "What's up Karl?" |
|
article = "<p style='text-align: center'><a href='https://github.com/kingoflolz/mesh-transformer-jax' target='_blank'>GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model</a></p>" |
|
examples = [ |
|
['Karl is writing some amazing software'], |
|
["Cubby is also working on software but it is not a lot of natural language processing"], |
|
["Now they are going to work together on NLP as osteopathic physicians combining their powers"] |
|
] |
|
gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch() |