jhangmez commited on
Commit
dbf38e5
1 Parent(s): bdc9c07

Se agrego el pipline en el paquete y se modifico texto aca ene l app.py

Browse files
Files changed (2) hide show
  1. app.py +3 -3
  2. requirements.txt +1 -2
app.py CHANGED
@@ -34,13 +34,13 @@ def respond(message, history, system_message, max_tokens, temperature, top_p):
34
  demo = gr.ChatInterface(
35
  respond,
36
  additional_inputs=[
37
- gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
38
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
39
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
40
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
41
  ],
42
- title="Meta Llama 3.1 8B Chatbot",
43
- description="A chatbot powered by Meta Llama 3.1 8B model."
44
  )
45
 
46
  if __name__ == "__main__":
 
34
  demo = gr.ChatInterface(
35
  respond,
36
  additional_inputs=[
37
+ gr.Textbox(value="You are a helpful AI assistant.", label="System message"),
38
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
39
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
40
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
41
  ],
42
+ title="CHATPRG v0.2.1 powered by Meta Llama 3.1 8B Chatbot",
43
+ description="Pre-trained model to make known to students and external people the regulations of the Pedro Ruiz Gallo National University of Lambayeque, Peru."
44
  )
45
 
46
  if __name__ == "__main__":
requirements.txt CHANGED
@@ -1,2 +1 @@
1
- huggingface_hub==0.22.2
2
- minijinja
 
1
+ huggingface_hub==0.22.2