migueldeguzmandev commited on
Commit
7fbcfdd
·
verified ·
1 Parent(s): 81f6321

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import GPT2Tokenizer, GPT2LMHeadModel
3
 
4
  # Load the model and tokenizer
5
- model_name = "migueldeguzmandev/fitness_ai"
6
  tokenizer = GPT2Tokenizer.from_pretrained(model_name)
7
  model = GPT2LMHeadModel.from_pretrained(model_name)
8
 
@@ -49,10 +49,10 @@ interface = gr.Interface(
49
  gr.Slider(minimum=0.00000000000000000000001, maximum=1.0, value=0.7, step=0.1, label="Temperature"),
50
  ],
51
  outputs=gr.Textbox(label="Model Response"),
52
- title="Hello, I'm Fitness AI!",
53
  description=(
54
  """
55
- (Fitness AI is trained with fitness, nutrition and training themed responses to random questions.)
56
  """
57
  ),
58
  # examples=examples,
 
2
  from transformers import GPT2Tokenizer, GPT2LMHeadModel
3
 
4
  # Load the model and tokenizer
5
+ model_name = "migueldeguzmandev/leilan_v1"
6
  tokenizer = GPT2Tokenizer.from_pretrained(model_name)
7
  model = GPT2LMHeadModel.from_pretrained(model_name)
8
 
 
49
  gr.Slider(minimum=0.00000000000000000000001, maximum=1.0, value=0.7, step=0.1, label="Temperature"),
50
  ],
51
  outputs=gr.Textbox(label="Model Response"),
52
+ title="Leilan, Version 1",
53
  description=(
54
  """
55
+ (This is somewhat a fascinating build, let's see....original inspiration? see this [lesswrong post](https://www.lesswrong.com/posts/grY9uSDoLBuen9py4/petertodd-s-last-stand-the-final-days-of-open-gpt-3-research#The___Leilan__dataset) by Matthew Watkins!)
56
  """
57
  ),
58
  # examples=examples,