Spaces:
Running
on
Zero
Running
on
Zero
Upload 3 files
Browse files- README.md +2 -1
- app.py +13 -10
- llmdolphin.py +57 -0
README.md
CHANGED
@@ -4,11 +4,12 @@ emoji: 🖼🖼️📦
|
|
4 |
colorFrom: purple
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.
|
8 |
app_file: app.py
|
9 |
license: mit
|
10 |
short_description: Text-to-Image
|
11 |
pinned: true
|
|
|
12 |
---
|
13 |
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
4 |
colorFrom: purple
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.43.0
|
8 |
app_file: app.py
|
9 |
license: mit
|
10 |
short_description: Text-to-Image
|
11 |
pinned: true
|
12 |
+
hf_oauth: true
|
13 |
---
|
14 |
|
15 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
@@ -158,16 +158,16 @@ with gr.Blocks(fill_width=True, elem_id="container", css=css, delete_cache=(60,
|
|
158 |
chat_rp = gr.Slider(minimum=0.0, maximum=2.0, value=1.1, step=0.1, label="Repetition penalty")
|
159 |
chat_sysmsg = gr.Textbox(value=get_dolphin_sysprompt(), label="System message")
|
160 |
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
|
172 |
gr.on( #lambda x: None, inputs=None, outputs=result).then(
|
173 |
triggers=[run_button.click, prompt.submit],
|
@@ -370,5 +370,8 @@ with gr.Blocks(fill_width=True, elem_id="container", css=css, delete_cache=(60,
|
|
370 |
copy_prompt_btn.click(gradio_copy_prompt, inputs=[output_text], outputs=[prompt], show_api=False)
|
371 |
copy_prompt_btn_pony.click(gradio_copy_prompt, inputs=[output_text_pony], outputs=[prompt], show_api=False)
|
372 |
|
|
|
|
|
|
|
373 |
demo.queue()
|
374 |
demo.launch()
|
|
|
158 |
chat_rp = gr.Slider(minimum=0.0, maximum=2.0, value=1.1, step=0.1, label="Repetition penalty")
|
159 |
chat_sysmsg = gr.Textbox(value=get_dolphin_sysprompt(), label="System message")
|
160 |
|
161 |
+
examples = gr.Examples(
|
162 |
+
examples = [
|
163 |
+
["souryuu asuka langley, 1girl, neon genesis evangelion, plugsuit, pilot suit, red bodysuit, sitting, crossing legs, black eye patch, cat hat, throne, symmetrical, looking down, from bottom, looking at viewer, outdoors"],
|
164 |
+
["sailor moon, magical girl transformation, sparkles and ribbons, soft pastel colors, crescent moon motif, starry night sky background, shoujo manga style"],
|
165 |
+
["kafuu chino, 1girl, solo"],
|
166 |
+
["1girl"],
|
167 |
+
["beautiful sunset"],
|
168 |
+
],
|
169 |
+
inputs=[prompt],
|
170 |
+
)
|
171 |
|
172 |
gr.on( #lambda x: None, inputs=None, outputs=result).then(
|
173 |
triggers=[run_button.click, prompt.submit],
|
|
|
370 |
copy_prompt_btn.click(gradio_copy_prompt, inputs=[output_text], outputs=[prompt], show_api=False)
|
371 |
copy_prompt_btn_pony.click(gradio_copy_prompt, inputs=[output_text_pony], outputs=[prompt], show_api=False)
|
372 |
|
373 |
+
gr.LoginButton()
|
374 |
+
gr.DuplicateButton(value="Duplicate Space for private use. (This demo does not work on CPU. Requires GPU Space.)")
|
375 |
+
|
376 |
demo.queue()
|
377 |
demo.launch()
|
llmdolphin.py
CHANGED
@@ -20,6 +20,8 @@ llm_models = {
|
|
20 |
"mn-12b-lyra-v2a1-q5_k_m.gguf": ["HalleyStarbun/MN-12B-Lyra-v2a1-Q5_K_M-GGUF", MessagesFormatterType.CHATML],
|
21 |
"L3-8B-Tamamo-v1.i1-Q5_K_M.gguf": ["mradermacher/L3-8B-Tamamo-v1-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
22 |
"Instant-RP-Noodles-12B-v1.3.Q4_K_M.gguf": ["mradermacher/Instant-RP-Noodles-12B-v1.3-GGUF", MessagesFormatterType.MISTRAL],
|
|
|
|
|
23 |
"Llama-3.1-8B-EZO-1.1-it.Q5_K_M.gguf": ["mradermacher/Llama-3.1-8B-EZO-1.1-it-GGUF", MessagesFormatterType.MISTRAL],
|
24 |
"MN-12B-Starcannon-v1.i1-Q4_K_M.gguf": ["mradermacher/MN-12B-Starcannon-v1-i1-GGUF", MessagesFormatterType.MISTRAL],
|
25 |
"MN-12B-Starcannon-v2.i1-Q4_K_M.gguf": ["mradermacher/MN-12B-Starcannon-v2-i1-GGUF", MessagesFormatterType.CHATML],
|
@@ -51,6 +53,60 @@ llm_models = {
|
|
51 |
"Trinas_Nectar-8B-model_stock.i1-Q4_K_M.gguf": ["mradermacher/Trinas_Nectar-8B-model_stock-i1-GGUF", MessagesFormatterType.MISTRAL],
|
52 |
"ChatWaifu_v1.4.Q5_K_M.gguf": ["mradermacher/ChatWaifu_v1.4-GGUF", MessagesFormatterType.MISTRAL],
|
53 |
"ChatWaifu_v1.3.1.Q4_K_M.gguf": ["mradermacher/ChatWaifu_v1.3.1-GGUF", MessagesFormatterType.MISTRAL],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
"Stella-mistral-nemo-12B-v2.i1-Q4_K_M.gguf": ["mradermacher/Stella-mistral-nemo-12B-v2-i1-GGUF", MessagesFormatterType.MISTRAL],
|
55 |
"Artificium-llama3.1-8B-001.i1-Q5_K_M.gguf": ["mradermacher/Artificium-llama3.1-8B-001-i1-GGUF", MessagesFormatterType.MISTRAL],
|
56 |
"Sensibilitystory-7B.i1-Q5_K_M.gguf": ["mradermacher/Sensibilitystory-7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
@@ -67,6 +123,7 @@ llm_models = {
|
|
67 |
"magnaraxy-9b-Q4_K_M.gguf": ["bartowski/magnaraxy-9b-GGUF", MessagesFormatterType.ALPACA],
|
68 |
"magnum-v3-9b-customgemma2-Q4_K_M.gguf": ["bartowski/magnum-v3-9b-customgemma2-GGUF", MessagesFormatterType.ALPACA],
|
69 |
"mn-12b-lyra-v4a1-q4_k_m.gguf": ["404ProfileUnknown/MN-12B-Lyra-v4a1-Q4_K_M-GGUF", MessagesFormatterType.CHATML],
|
|
|
70 |
"L3.1-BlueSkyy-8B.Q4_K_S.gguf": ["mradermacher/L3.1-BlueSkyy-8B-GGUF", MessagesFormatterType.LLAMA_3],
|
71 |
"EvolutionStar.Q5_K_M.gguf": ["mradermacher/EvolutionStar-GGUF", MessagesFormatterType.MISTRAL],
|
72 |
"Xortron7_Alpha.Q5_K_M.gguf": ["mradermacher/Xortron7_Alpha-GGUF", MessagesFormatterType.LLAMA_3],
|
|
|
20 |
"mn-12b-lyra-v2a1-q5_k_m.gguf": ["HalleyStarbun/MN-12B-Lyra-v2a1-Q5_K_M-GGUF", MessagesFormatterType.CHATML],
|
21 |
"L3-8B-Tamamo-v1.i1-Q5_K_M.gguf": ["mradermacher/L3-8B-Tamamo-v1-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
22 |
"Instant-RP-Noodles-12B-v1.3.Q4_K_M.gguf": ["mradermacher/Instant-RP-Noodles-12B-v1.3-GGUF", MessagesFormatterType.MISTRAL],
|
23 |
+
"MN-12B-Lyra-v4-Q4_K_M.gguf": ["bartowski/MN-12B-Lyra-v4-GGUF", MessagesFormatterType.CHATML],
|
24 |
+
"Lyra4-Gutenberg-12B.Q4_K_M.gguf": ["mradermacher/Lyra4-Gutenberg-12B-GGUF", MessagesFormatterType.CHATML],
|
25 |
"Llama-3.1-8B-EZO-1.1-it.Q5_K_M.gguf": ["mradermacher/Llama-3.1-8B-EZO-1.1-it-GGUF", MessagesFormatterType.MISTRAL],
|
26 |
"MN-12B-Starcannon-v1.i1-Q4_K_M.gguf": ["mradermacher/MN-12B-Starcannon-v1-i1-GGUF", MessagesFormatterType.MISTRAL],
|
27 |
"MN-12B-Starcannon-v2.i1-Q4_K_M.gguf": ["mradermacher/MN-12B-Starcannon-v2-i1-GGUF", MessagesFormatterType.CHATML],
|
|
|
53 |
"Trinas_Nectar-8B-model_stock.i1-Q4_K_M.gguf": ["mradermacher/Trinas_Nectar-8B-model_stock-i1-GGUF", MessagesFormatterType.MISTRAL],
|
54 |
"ChatWaifu_v1.4.Q5_K_M.gguf": ["mradermacher/ChatWaifu_v1.4-GGUF", MessagesFormatterType.MISTRAL],
|
55 |
"ChatWaifu_v1.3.1.Q4_K_M.gguf": ["mradermacher/ChatWaifu_v1.3.1-GGUF", MessagesFormatterType.MISTRAL],
|
56 |
+
"L3.1-Vulca-Epith-Bluegrade-v0.2-8B.q8_0.gguf": ["kromquant/L3.1-Vulca-Epith-Bluegrade-v0.2-8B-GGUFs", MessagesFormatterType.LLAMA_3],
|
57 |
+
"llama-3.1-8b-omnimatrix-iq4_nl-imat.gguf": ["bunnycore/Llama-3.1-8B-OmniMatrix-IQ4_NL-GGUF", MessagesFormatterType.LLAMA_3],
|
58 |
+
"L3.1-Artemis-d-8B.i1-Q5_K_M.gguf": ["mradermacher/L3.1-Artemis-d-8B-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
59 |
+
"G2-9B-Blackout-R1-Q4_K_M.gguf": ["bartowski/G2-9B-Blackout-R1-GGUF", MessagesFormatterType.ALPACA],
|
60 |
+
"FireStorm-Llama-3.1-8B.i1-Q5_K_M.gguf": ["mradermacher/FireStorm-Llama-3.1-8B-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
61 |
+
"gemma-2-ifable-9b-q6_k.gguf": ["nengo/gemma-2-Ifable-9B-Q6_K-GGUF", MessagesFormatterType.ALPACA],
|
62 |
+
"llama-3.1-8b-hypernova-abliteration-q5_k_m.gguf": ["bunnycore/LLama-3.1-8B-HyperNova-abliteration-Q5_K_M-GGUF", MessagesFormatterType.LLAMA_3],
|
63 |
+
"llama-3.1-8b-hypernova-q4_k_m.gguf": ["bunnycore/LLama-3.1-8B-HyperNova-Q4_K_M-GGUF", MessagesFormatterType.MISTRAL],
|
64 |
+
"Llama-3.1-SuperNova-Lite-lorabilterated-8B.i1-Q4_K_S.gguf": ["mradermacher/Llama-3.1-SuperNova-Lite-lorabilterated-8B-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
65 |
+
"book-gut12b-q4_k_m.gguf": ["ClaudioItaly/Book-Gut12B-Q4_K_M-GGUF", MessagesFormatterType.MISTRAL],
|
66 |
+
"chocolatine-14b-instruct-dpo-v1.2-q4_k_m.gguf": ["jpacifico/Chocolatine-14B-Instruct-DPO-v1.2-Q4_K_M-GGUF", MessagesFormatterType.PHI_3],
|
67 |
+
"Nymph_8B.Q4_K_M.gguf": ["QuantFactory/Nymph_8B-GGUF", MessagesFormatterType.LLAMA_3],
|
68 |
+
"l3.1-8b-rp-test-004-slerp-q8_0.gguf": ["v000000/L3.1-Storniitova-8B-Q8_0-GGUF", MessagesFormatterType.MISTRAL],
|
69 |
+
"white_dwarf-q4_k_m.gguf": ["Daemontatox/White_dwarf-Q4_K_M-GGUF", MessagesFormatterType.MISTRAL],
|
70 |
+
"Gemma2-9b-Max.i1-Q4_K_M.gguf": ["mradermacher/Gemma2-9b-Max-i1-GGUF", MessagesFormatterType.ALPACA],
|
71 |
+
"Evolutions-Reflex.Q4_K_M.gguf": ["mradermacher/Evolutions-Reflex-GGUF", MessagesFormatterType.MISTRAL],
|
72 |
+
"IceEspressoRPv6.Q5_K_M.gguf": ["mradermacher/IceEspressoRPv6-GGUF", MessagesFormatterType.MISTRAL],
|
73 |
+
"Heart_Stolen-ALT-8B-Model_Stock.Q5_K_M.gguf": ["mradermacher/Heart_Stolen-ALT-8B-Model_Stock-GGUF", MessagesFormatterType.LLAMA_3],
|
74 |
+
"Pulzar-DPO-7.Q5_K_M.gguf": ["mradermacher/Pulzar-DPO-7-GGUF", MessagesFormatterType.MISTRAL],
|
75 |
+
"HermesNova-Llama-3.1-8B.Q4_K_M.gguf": ["mradermacher/HermesNova-Llama-3.1-8B-GGUF", MessagesFormatterType.LLAMA_3],
|
76 |
+
"IceEspressoRPv2-7b.Q5_K_M.gguf": ["mradermacher/IceEspressoRPv2-7b-GGUF", MessagesFormatterType.MISTRAL],
|
77 |
+
"gemma-2-9B-it-advanced-v2.1.Q4_K_M.gguf": ["RichardErkhov/jsgreenawalt_-_gemma-2-9B-it-advanced-v2.1-gguf", MessagesFormatterType.ALPACA],
|
78 |
+
"Gemma-9B-ColdBrew-Testing.Q4_K_M.gguf": ["mradermacher/Gemma-9B-ColdBrew-Testing-GGUF", MessagesFormatterType.ALPACA],
|
79 |
+
"opencrystal-12b-l3-v4-beta-q5_k_m.gguf": ["Darkknight535/OpenCrystal-12B-L3-v4-Beta-Q5_K_M-GGUF", MessagesFormatterType.MISTRAL],
|
80 |
+
"HyperLLama3.1-8b-Nova.i1-Q4_K_M.gguf": ["mradermacher/HyperLLama3.1-8b-Nova-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
81 |
+
"L3.1-Boshima-b-FIX.Q5_K_M.gguf": ["mradermacher/L3.1-Boshima-b-FIX-GGUF", MessagesFormatterType.LLAMA_3],
|
82 |
+
"Maxtopia-13B.i1-Q4_K_M.gguf": ["mradermacher/Maxtopia-13B-i1-GGUF", MessagesFormatterType.ALPACA],
|
83 |
+
"Instant-RP-Noodles-12B-v1.4.Q4_K_M.gguf": ["mradermacher/Instant-RP-Noodles-12B-v1.4-GGUF", MessagesFormatterType.MISTRAL],
|
84 |
+
"HyperGemma-2-9B.i1-Q4_K_M.gguf": ["mradermacher/HyperGemma-2-9B-i1-GGUF", MessagesFormatterType.ALPACA],
|
85 |
+
"reflex-gutenberg-dpo-q5_k_m.gguf": ["ClaudioItaly/Reflex-Gutenberg-DPO-Q5_K_M-GGUF", MessagesFormatterType.MISTRAL],
|
86 |
+
"magnum-picaro-0.7-v2-12b-q5_k_m.gguf": ["Trappu/Magnum-Picaro-0.7-v2-12b-Q5_K_M-GGUF", MessagesFormatterType.CHATML],
|
87 |
+
"Llama-3.1-SuperNova-Lite-Q5_K_M.gguf": ["bartowski/Llama-3.1-SuperNova-Lite-GGUF", MessagesFormatterType.LLAMA_3],
|
88 |
+
"Fireball-Alpaca-Llama3.1.06-8B-Philos.i1-Q5_K_M.gguf": ["mradermacher/Fireball-Alpaca-Llama3.1.06-8B-Philos-i1-GGUF", MessagesFormatterType.CHATML],
|
89 |
+
"fimbmoister-11range-q4_k_m.gguf": ["ClaudioItaly/FimbMoister-11Range-Q4_K_M-GGUF", MessagesFormatterType.MISTRAL],
|
90 |
+
"Magot-v1-Gemma2-8k-9B.Q4_K_M.gguf": ["mradermacher/Magot-v1-Gemma2-8k-9B-GGUF", MessagesFormatterType.LLAMA_3],
|
91 |
+
"L3.1-Boshima-b.Q5_K_M.gguf": ["mradermacher/L3.1-Boshima-b-GGUF", MessagesFormatterType.LLAMA_3],
|
92 |
+
"L3.1-Vulca-Epith-Humbeta-v0.2-8B.i1-Q5_K_M.gguf": ["mradermacher/L3.1-Vulca-Epith-Humbeta-v0.2-8B-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
93 |
+
"l3.1-forsths-q5_k_m.gguf": ["djuna/L3.1-ForStHS-Q5_K_M-GGUF", MessagesFormatterType.LLAMA_3],
|
94 |
+
"l3-umbral-storm-8b-t0.0001-q8_0.gguf": ["v000000/L3-Umbral-Storm-8B-t0.0001-Q8_0-GGUF", MessagesFormatterType.LLAMA_3],
|
95 |
+
"IceSakeRP-7b.i1-Q5_K_M.gguf": ["mradermacher/IceSakeRP-7b-i1-GGUF", MessagesFormatterType.ALPACA],
|
96 |
+
"llama-3.1-8b-ultra-max-pro-q5_k_m.gguf": ["bunnycore/LLama-3.1-8b-Ultra-Max-Pro-Q5_K_M-GGUF", MessagesFormatterType.LLAMA_3],
|
97 |
+
"maxtopia-13b-q4_k_m.gguf": ["ClaudioItaly/Maxtopia-13B-Q4_K_M-GGUF", MessagesFormatterType.LLAMA_3],
|
98 |
+
"utopia-range-q4_k_m.gguf": ["ClaudioItaly/Utopia-Range-Q4_K_M-GGUF", MessagesFormatterType.LLAMA_3],
|
99 |
+
"L3-Dark-Planet-8B-V2-EOOP-D_AU-Q4_k_m.gguf": ["DavidAU/L3-Dark-Planet-8B-V2-Eight-Orbs-Of-Power-GGUF", MessagesFormatterType.LLAMA_3],
|
100 |
+
"mergekit-model_stock-azjsvkh-q4_k_m.gguf": ["DreadPoor/Heart_Stolen-8B-Model_Stock-Q4_K_M-GGUF", MessagesFormatterType.LLAMA_3],
|
101 |
+
"Pantheon-RP-1.6.1-12b-Nemo-Q4_K_M.gguf": ["bartowski/Pantheon-RP-1.6.1-12b-Nemo-GGUF", MessagesFormatterType.MISTRAL],
|
102 |
+
"mistral-nemo-12b-arliai-rpmax-v1.1-q5_k_m.gguf": ["NikolayKozloff/Mistral-Nemo-12B-ArliAI-RPMax-v1.1-Q5_K_M-GGUF", MessagesFormatterType.MISTRAL],
|
103 |
+
"ggml-model-Q5_K.gguf": ["jeiku/Luna_7B_GGUF", MessagesFormatterType.MISTRAL],
|
104 |
+
"Daredevil-8B-abliterated-dpomix.i1-Q5_K_M.gguf": ["mradermacher/Daredevil-8B-abliterated-dpomix-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
105 |
+
"MN-12B-Chronos-Gold-Celeste-v1.i1-Q4_K_M.gguf": ["mradermacher/MN-12B-Chronos-Gold-Celeste-v1-i1-GGUF", MessagesFormatterType.MISTRAL],
|
106 |
+
"MN-HaremUnion-12B.i1-Q4_K_M.gguf": ["mradermacher/MN-HaremUnion-12B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
107 |
+
"Evocation.i1-Q4_K_M.gguf": ["mradermacher/Evocation-i1-GGUF", MessagesFormatterType.ALPACA],
|
108 |
+
"gemma-2-9b-it-WPO-HB-Q4_K_M.gguf": ["bartowski/gemma-2-9b-it-WPO-HB-GGUF", MessagesFormatterType.ALPACA],
|
109 |
+
"MN-12B-Lyra-v4.Q4_K_M.gguf": ["QuantFactory/MN-12B-Lyra-v4-GGUF", MessagesFormatterType.CHATML],
|
110 |
"Stella-mistral-nemo-12B-v2.i1-Q4_K_M.gguf": ["mradermacher/Stella-mistral-nemo-12B-v2-i1-GGUF", MessagesFormatterType.MISTRAL],
|
111 |
"Artificium-llama3.1-8B-001.i1-Q5_K_M.gguf": ["mradermacher/Artificium-llama3.1-8B-001-i1-GGUF", MessagesFormatterType.MISTRAL],
|
112 |
"Sensibilitystory-7B.i1-Q5_K_M.gguf": ["mradermacher/Sensibilitystory-7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
|
|
123 |
"magnaraxy-9b-Q4_K_M.gguf": ["bartowski/magnaraxy-9b-GGUF", MessagesFormatterType.ALPACA],
|
124 |
"magnum-v3-9b-customgemma2-Q4_K_M.gguf": ["bartowski/magnum-v3-9b-customgemma2-GGUF", MessagesFormatterType.ALPACA],
|
125 |
"mn-12b-lyra-v4a1-q4_k_m.gguf": ["404ProfileUnknown/MN-12B-Lyra-v4a1-Q4_K_M-GGUF", MessagesFormatterType.CHATML],
|
126 |
+
"nemored_1-q4_k_m.gguf": ["Daemontatox/nemored_1-Q4_K_M-GGUF", MessagesFormatterType.MISTRAL],
|
127 |
"L3.1-BlueSkyy-8B.Q4_K_S.gguf": ["mradermacher/L3.1-BlueSkyy-8B-GGUF", MessagesFormatterType.LLAMA_3],
|
128 |
"EvolutionStar.Q5_K_M.gguf": ["mradermacher/EvolutionStar-GGUF", MessagesFormatterType.MISTRAL],
|
129 |
"Xortron7_Alpha.Q5_K_M.gguf": ["mradermacher/Xortron7_Alpha-GGUF", MessagesFormatterType.LLAMA_3],
|