artificialguybr commited on
Commit
452f1b7
·
1 Parent(s): 4b04f09

Add description and instructions for CodeLLAMA 34B chatbot

Browse files
Files changed (1) hide show
  1. app.py +19 -0
app.py CHANGED
@@ -69,6 +69,25 @@ with gr.Blocks() as demo:
69
  with gr.Row():
70
  with gr.Column():
71
  gr.Markdown("CodeLLAMA 34B Free Demo")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  chatbot = gr.Chatbot()
73
  message = gr.Textbox(label="What do you want to chat about?", placeholder="Ask me anything.", lines=3)
74
  submit = gr.Button(value="Send message")
 
69
  with gr.Row():
70
  with gr.Column():
71
  gr.Markdown("CodeLLAMA 34B Free Demo")
72
+ description="""
73
+ <div style="text-align: center; font-size: 1.5em; margin-bottom: 20px;">
74
+ <strong>Explore the Capabilities of CodeLLAMA 34B</strong>
75
+ </div>
76
+ <p>Code Llama is an LLM capable of generating code, and natural language about code, from both code and natural language prompts.
77
+ </p>
78
+ <p> <strong>How to Use:</strong></p>
79
+ <ol>
80
+ <li>Enter your <strong>message</strong> in the textbox to start a conversation or ask a question.</li>
81
+ <li>Adjust the <strong>Temperature</strong> and <strong>Top P</strong> sliders to control the creativity and diversity of the responses.</li>
82
+ <li>Set the <strong>Max Tokens</strong> slider to determine the length of the response.</li>
83
+ <li>Use the <strong>System Message</strong> textbox if you wish to provide a specific context or instruction for the AI.</li>
84
+ <li>Click <strong>Send message</strong> to submit your query and receive a response from CodeLLAMA 34B.</li>
85
+ <li>Press <strong>New topic</strong> to clear the chat history and start a new conversation thread.</li>
86
+ </ol>
87
+ <p> <strong>Powered by NVIDIA's cutting-edge AI API, CodeLLAMA 34B offers an unparalleled opportunity to interact with an AI model of exceptional conversational ability, accessible to everyone at no cost.</strong></p>
88
+ <p> <strong>HF Created by:</strong> @artificialguybr (<a href="https://twitter.com/artificialguybr">Twitter</a>)</p>
89
+ <p> <strong>Discover more:</strong> <a href="https://artificialguy.com">artificialguy.com</a></p>
90
+ """
91
  chatbot = gr.Chatbot()
92
  message = gr.Textbox(label="What do you want to chat about?", placeholder="Ask me anything.", lines=3)
93
  submit = gr.Button(value="Send message")