Spaces:
Paused
Paused
Update app.py
#11
by alphaAIE - opened
32 unmodified lines3334353637383967 unmodified lines10710810911011111211332 unmodified lines""")system_prompt = "### Assistant: I am StableVicuna, a large language model created by CarperAI. I am here to chat!"system_prompt_tokens = tokenizer([f"{system_prompt}\n\n"], return_tensors="pt")max_sys_tokens = system_prompt_tokens['input_ids'].size(-1)67 unmodified lineswith gr.Blocks() as demo:gr.Markdown("# StableVicuna by CarperAI")gr.HTML("<a href='https://huggingface.co/CarperAI/stable-vicuna-13b-delta'><code>CarperAI/stable-vicuna-13b-delta</a>")gr.HTML('''<center><a href="https://huggingface.co/spaces/CarperAI/StableVicuna?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space to skip the queue and run in a private space</center>''')32 unmodified lines3334353637383967 unmodified lines10710810911011111211332 unmodified lines""")system_prompt = "### Assistant: I am Shell, a large language model created by Eusebio Company. I am here to chat!"system_prompt_tokens = tokenizer([f"{system_prompt}\n\n"], return_tensors="pt")max_sys_tokens = system_prompt_tokens['input_ids'].size(-1)67 unmodified lineswith gr.Blocks() as demo:gr.Markdown("# StableVicuna by Eusebio Company")gr.HTML("<a href='https://huggingface.co/CarperAI/stable-vicuna-13b-delta'><code>CarperAI/stable-vicuna-13b-delta</a>")gr.HTML('''<center><a href="https://huggingface.co/spaces/CarperAI/StableVicuna?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space to skip the queue and run in a private space</center>''')
app.py+2-2