Spaces:
Build error
Build error
Update app.py
Browse files2 unmodified lines34567891011118 unmodified lines1301311321331341351362 unmodified linesfrom huggingface_hub import hf_hub_downloadfrom llama_cpp import LlamaREPO_ID = "keitokei1994/shisa-v1-qwen2-7b-GGUF"MODEL_NAME = "shisa-v1-qwen2-7b.Q8_0.gguf"MAX_CONTEXT_LENGTH = 32768CUDA = TrueSYSTEM_PROMPT = "You are a helpful, smart, kind, and efficient AI assistant. You always fulfill the user's requests to the best of your ability."TOKEN_STOP = ["<|eot_id|>"]118 unmodified linesdef gui(llm_chat):with gr.Blocks(theme="NoCrypt/miku", css=css) as app:gr.Markdown("# shisa-v1-qwen2-7b.Q8_0.gguf")gr.Markdown(f"""### This demo utilizes the repository ID {REPO_ID} with the model {MODEL_NAME}, powered by the LLaMA.cpp backend.2 unmodified lines34567891011118 unmodified lines1301311321331341351362 unmodified linesfrom huggingface_hub import hf_hub_downloadfrom llama_cpp import LlamaREPO_ID = "keitokei1994/Llama-3-ELYZA-hermes-2x8B-gguf"MODEL_NAME = "llama-3-elyza-hermes-2x8b.Q8_0.gguf"MAX_CONTEXT_LENGTH = 8192CUDA = TrueSYSTEM_PROMPT = "You are a helpful, smart, kind, and efficient AI assistant. You always fulfill the user's requests to the best of your ability."TOKEN_STOP = ["<|eot_id|>"]118 unmodified linesdef gui(llm_chat):with gr.Blocks(theme="NoCrypt/miku", css=css) as app:gr.Markdown("# llama-3-elyza-hermes-2x8b.Q8_0.gguf")gr.Markdown(f"""### This demo utilizes the repository ID {REPO_ID} with the model {MODEL_NAME}, powered by the LLaMA.cpp backend.
app.py+4-4