federi commited on
Commit
3e1ce90
·
verified ·
1 Parent(s): 32d0b3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -26
app.py CHANGED
@@ -54,17 +54,17 @@ def clear_chat():
54
 
55
 
56
  examples = [
57
- "Explain the relativity theory in French",
58
- "Como sair de um helicóptero que caiu na água?",
59
- "¿Cómo le explicarías el aprendizaje automático a un extraterrestre?",
60
- "Explain gravity to a chicken.",
61
- "Descrivi il processo di creazione di un capolavoro, come se fossi un artista del Rinascimento a Firenze.",
62
- "Anneme onu ne kadar sevdiğimi anlatan bir mektup yaz",
63
- "Explique-moi le sens de la vie selon un grand auteur littéraire.",
64
- "Give me an example of an endangered species and let me know what I can do to help preserve it",
65
- "یک پاراگراف در مورد زیبایی‌های طبیعت در فصل پاییز بنویس",
66
- "Wie kann ich lernen, selbstbewusster zu werden?",
67
- "Formally introduce the transformer architecture with notation.",
68
 
69
  ]
70
 
@@ -82,21 +82,21 @@ with gr.Blocks(analytics_enabled=False, css=custom_css) as demo:
82
  cid = gr.State("")
83
  token = gr.State(value=None)
84
 
85
- with gr.Row():
86
- with gr.Column(scale=1):
87
- gr.Image("aya-logo.png", elem_id="logo-img", show_label=False, show_share_button=False, show_download_button=False)
88
- with gr.Column(scale=3):
89
- gr.Markdown("""C4AI Aya 23 is a research open weights release of an 8 and 35 billion parameter with highly advanced instruction fine-tuned model, covering 23 languages: Arabic, Chinese (simplified & traditional), Czech, Dutch, English, French, German, Greek, Hebrew, Hindi, Indonesian, Italian, Japanese, Korean, Persian, Polish, Portuguese, Romanian, Russian, Spanish, Turkish, Ukrainian, and Vietnamese.
90
- <br/>
91
- **Note**: Aya 23 is a single-turn instruction-following model and it is not optimized for chat mode use.
92
- <br/>
93
- **Model**: [aya-23-35B](https://huggingface.co/CohereForAI/aya-23-35B)
94
- <br/>
95
- **Developed by**: [Cohere for AI](https://cohere.com/research) and [Cohere](https://cohere.com/)
96
- <br/>
97
- **License**: [CC-BY-NC](https://cohere.com/c4ai-cc-by-nc-license), requires also adhering to [C4AI's Acceptable Use Policy](https://docs.cohere.com/docs/c4ai-acceptable-use-policy)
98
- """
99
- )
100
 
101
  with gr.Column():
102
  with gr.Row():
 
54
 
55
 
56
  examples = [
57
+ "Qual è il vero significato della virtù e come si può raggiungerla nella società odierna, ossessionata dai beni materiali?",
58
+ "Come possiamo liberarci dalle convenzioni sociali e vivere in modo autentico, secondo natura?",
59
+ "Qual è il ruolo del filosofo nella società? Deve essere un predicatore o un esempio vivente di saggezza?",
60
+ "Come possiamo criticare le norme sociali e le ingiustizie senza essere emarginati o perseguitati?",
61
+ "Quale rapporto dovremmo avere con le ricchezze e i beni materiali? Come possiamo evitare che ci dominino?",
62
+ "Qual è il posto delle emozioni e dei desideri nella vita del cinico? Come possiamo gestirli in modo equilibrato?",
63
+ "Come possiamo affrontare le avversità e le sfide della vita con serenità e saggezza cinica?",
64
+ "Qual è il tuo pensiero sulla morte e sul suo significato per il cinico? Come possiamo prepararci ad essa?",
65
+ "Quali sono i consigli che daresti a chi desidera intraprendere il cammino del cinismo? Come può iniziare a mettere in pratica i suoi principi?س",
66
+ "In che modo il cinismo può aiutarci a vivere una vita più libera, felice e appagante?",
67
+ "Qual è il tuo pensiero sulla morte e sul suo significato per il cinico? Come possiamo prepararci ad essa?",
68
 
69
  ]
70
 
 
82
  cid = gr.State("")
83
  token = gr.State(value=None)
84
 
85
+ # with gr.Row():
86
+ # with gr.Column(scale=1):
87
+ # gr.Image("aya-logo.png", elem_id="logo-img", show_label=False, show_share_button=False, show_download_button=False)
88
+ # with gr.Column(scale=3):
89
+ # gr.Markdown("""C4AI Aya 23 is a research open weights release of an 8 and 35 billion parameter with highly advanced instruction fine-tuned model, covering 23 languages: Arabic, Chinese (simplified & traditional), Czech, Dutch, English, French, German, Greek, Hebrew, Hindi, Indonesian, Italian, Japanese, Korean, Persian, Polish, Portuguese, Romanian, Russian, Spanish, Turkish, Ukrainian, and Vietnamese.
90
+ # <br/>
91
+ # **Note**: Aya 23 is a single-turn instruction-following model and it is not optimized for chat mode use.
92
+ # <br/>
93
+ # **Model**: [aya-23-35B](https://huggingface.co/CohereForAI/aya-23-35B)
94
+ # <br/>
95
+ # **Developed by**: [Cohere for AI](https://cohere.com/research) and [Cohere](https://cohere.com/)
96
+ # <br/>
97
+ # **License**: [CC-BY-NC](https://cohere.com/c4ai-cc-by-nc-license), requires also adhering to [C4AI's Acceptable Use Policy](https://docs.cohere.com/docs/c4ai-acceptable-use-policy)
98
+ # """
99
+ # )
100
 
101
  with gr.Column():
102
  with gr.Row():