add qwen
Browse filesFiles changed (2)
- app.py+25-10
- requirements.txt+1
11 unmodified lines12131415161718276 unmodified lines2952962972972982982993003013023033043053063073083093003103113123133143153163073173183193203213223233143243253263274 unmodified lines33233333432532632732832933533633733833934034134234334434534634711 unmodified linesimport groq_gradioimport together_gradioimport nvidia_gradioimport dashscope_gradio
276 unmodified lines with gr.Row(): qwen_model = gr.Dropdown( choices=[ 'Qwen/Qwen2.5-72B-Instruct', 'Qwen/Qwen2.5-Coder-32B-Instruct' # Proprietary Qwen Models 'qwen-turbo-latest', 'qwen-turbo', 'qwen-plus', 'qwen-max', # Open Source Qwen Models 'qwen1.5-110b-chat', 'qwen1.5-72b-chat', 'qwen1.5-32b-chat', 'qwen1.5-14b-chat', 'qwen1.5-7b-chat' ], value='Qwen/Qwen2.5-72B-Instruct', value='qwen-turbo-latest', # Default to the latest turbo model label="Select Qwen Model", interactive=True ) qwen_interface = gr.load( name=qwen_model.value, src=hyperbolic_gradio.registry, src=dashscope_gradio.registry, fill_height=True ) def update_qwen_model(new_model): return gr.load( name=new_model, src=hyperbolic_gradio.registry, src=dashscope_gradio.registry, fill_height=True ) 4 unmodified lines ) gr.Markdown(""" <div> <img src="https://storage.googleapis.com/public-arena-asset/hyperbolic_logo.png" alt="Hyperbolic Logo" style="height: 50px; margin-right: 10px;"> </div> **Note:** This model is supported by Hyperbolic. Build your AI apps at [Hyperbolic](https://app.hyperbolic.xyz/). **Note:** You need a DashScope API key to use these models. Get one at [DashScope](https://dashscope.aliyun.com/). Models available in two categories: - **Proprietary Models**: - Qwen Turbo: Fast responses for general tasks - Qwen Plus: Balanced performance and quality - Qwen Max: Highest quality responses - **Open Source Models**: - Available in various sizes from 7B to 110B parameters - Based on the Qwen 1.5 architecture """) with gr.Tab("Perplexity"): with gr.Row():10 unmodified lines1112131410 unmodified linesgroq-gradiotogether-gradiogit+https://github.com/AK391/nvidia-gradio.gitgit+https://github.com/AK391/dashscope-gradio.gitapp.py+25-10
requirements.txt+1