anisotropies commited on
Commit
0068ee3
·
verified ·
1 Parent(s): 2375d96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -8
app.py CHANGED
@@ -1,11 +1,7 @@
1
  import gradio as gr
2
 
3
- title = "GPT-J-6B"
4
- description = "Gradio Demo for GPT-J 6B, a transformer model trained using Ben Wang's Mesh Transformer JAX. 'GPT-J' refers to the class of model, while '6B' represents the number of trainable parameters. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
5
- 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>"
 
6
 
7
- gr.load("huggingface/EleutherAI/gpt-j-6B",
8
- theme=gr.themes.Soft(),
9
- title=title,
10
- description=description
11
- ).launch()
 
1
  import gradio as gr
2
 
3
+ gr.load("models/mistralai/Mistral-7B-Instruct-v0.2",
4
+ title="Someone's Chatty",
5
+ description="What would you like to chat about?"
6
+ ).launch()
7