Spaces:
Running
on
Zero
Running
on
Zero
Upload 2 files
Browse files- llmdolphin.py +1 -0
- llmenv.py +50 -0
llmdolphin.py
CHANGED
@@ -294,6 +294,7 @@ def dolphin_respond(
|
|
294 |
yield [(outputs, None)]
|
295 |
except Exception as e:
|
296 |
print(e)
|
|
|
297 |
yield [("", None)]
|
298 |
|
299 |
|
|
|
294 |
yield [(outputs, None)]
|
295 |
except Exception as e:
|
296 |
print(e)
|
297 |
+
gr.Warning(f"Error: {e}")
|
298 |
yield [("", None)]
|
299 |
|
300 |
|
llmenv.py
CHANGED
@@ -65,12 +65,62 @@ llm_models = {
|
|
65 |
"ArliArli-Meg.Q4_K_M.gguf": ["mradermacher/ArliArli-Meg-GGUF", MessagesFormatterType.MISTRAL],
|
66 |
"ChatML-Nemo-Pro-V2.i1-Q4_K_M.gguf": ["mradermacher/ChatML-Nemo-Pro-V2-i1-GGUF", MessagesFormatterType.MISTRAL],
|
67 |
"MISCHIEVOUS-12B-Mix_0.1v.Q4_K_M.gguf": ["mradermacher/MISCHIEVOUS-12B-Mix_0.1v-GGUF", MessagesFormatterType.MISTRAL],
|
|
|
68 |
"Trinas_Nectar-8B-model_stock.i1-Q4_K_M.gguf": ["mradermacher/Trinas_Nectar-8B-model_stock-i1-GGUF", MessagesFormatterType.MISTRAL],
|
69 |
"ChatWaifu_Magnum_V0.2.Q4_K_M.gguf": ["mradermacher/ChatWaifu_Magnum_V0.2-GGUF", MessagesFormatterType.MISTRAL],
|
70 |
"ChatWaifu_12B_v2.0.Q5_K_M.gguf": ["mradermacher/ChatWaifu_12B_v2.0-GGUF", MessagesFormatterType.MISTRAL],
|
71 |
"ChatWaifu_22B_v2.0_preview.Q4_K_S.gguf": ["mradermacher/ChatWaifu_22B_v2.0_preview-GGUF", MessagesFormatterType.MISTRAL],
|
72 |
"ChatWaifu_v1.4.Q5_K_M.gguf": ["mradermacher/ChatWaifu_v1.4-GGUF", MessagesFormatterType.MISTRAL],
|
73 |
"ChatWaifu_v1.3.1.Q4_K_M.gguf": ["mradermacher/ChatWaifu_v1.3.1-GGUF", MessagesFormatterType.MISTRAL],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
"Codellama-3-8B-Finetuned-Instruct.i1-Q5_K_M.gguf": ["mradermacher/Codellama-3-8B-Finetuned-Instruct-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
75 |
"MT-Gen3-GP-gemma-2-S5MTg2-9B.Q4_K_M.gguf": ["mradermacher/MT-Gen3-GP-gemma-2-S5MTg2-9B-GGUF", MessagesFormatterType.ALPACA],
|
76 |
"Captain_Eris-Twighlight-12B.i1-Q4_K_M.gguf": ["mradermacher/Captain_Eris-Twighlight-12B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
|
|
65 |
"ArliArli-Meg.Q4_K_M.gguf": ["mradermacher/ArliArli-Meg-GGUF", MessagesFormatterType.MISTRAL],
|
66 |
"ChatML-Nemo-Pro-V2.i1-Q4_K_M.gguf": ["mradermacher/ChatML-Nemo-Pro-V2-i1-GGUF", MessagesFormatterType.MISTRAL],
|
67 |
"MISCHIEVOUS-12B-Mix_0.1v.Q4_K_M.gguf": ["mradermacher/MISCHIEVOUS-12B-Mix_0.1v-GGUF", MessagesFormatterType.MISTRAL],
|
68 |
+
"MT2-Gen4-MM-gemma-2-Rv0.4MTM-9B.Q4_K_M.gguf": ["mradermacher/MT2-Gen4-MM-gemma-2-Rv0.4MTM-9B-GGUF", MessagesFormatterType.ALPACA],
|
69 |
"Trinas_Nectar-8B-model_stock.i1-Q4_K_M.gguf": ["mradermacher/Trinas_Nectar-8B-model_stock-i1-GGUF", MessagesFormatterType.MISTRAL],
|
70 |
"ChatWaifu_Magnum_V0.2.Q4_K_M.gguf": ["mradermacher/ChatWaifu_Magnum_V0.2-GGUF", MessagesFormatterType.MISTRAL],
|
71 |
"ChatWaifu_12B_v2.0.Q5_K_M.gguf": ["mradermacher/ChatWaifu_12B_v2.0-GGUF", MessagesFormatterType.MISTRAL],
|
72 |
"ChatWaifu_22B_v2.0_preview.Q4_K_S.gguf": ["mradermacher/ChatWaifu_22B_v2.0_preview-GGUF", MessagesFormatterType.MISTRAL],
|
73 |
"ChatWaifu_v1.4.Q5_K_M.gguf": ["mradermacher/ChatWaifu_v1.4-GGUF", MessagesFormatterType.MISTRAL],
|
74 |
"ChatWaifu_v1.3.1.Q4_K_M.gguf": ["mradermacher/ChatWaifu_v1.3.1-GGUF", MessagesFormatterType.MISTRAL],
|
75 |
+
#"": ["", MessagesFormatterType.LLAMA_3],
|
76 |
+
#"": ["", MessagesFormatterType.MISTRAL],
|
77 |
+
#"": ["", MessagesFormatterType.ALPACA],
|
78 |
+
#"": ["", MessagesFormatterType.OPEN_CHAT],
|
79 |
+
#"": ["", MessagesFormatterType.CHATML],
|
80 |
+
#"": ["", MessagesFormatterType.PHI_3],
|
81 |
+
"MT2-Gen4-MA-gemma-2-N3N1532-9B.Q4_K_M.gguf": ["mradermacher/MT2-Gen4-MA-gemma-2-N3N1532-9B-GGUF", MessagesFormatterType.ALPACA],
|
82 |
+
"MT2-Gen4-IMU-gemma-2-9B.Q4_K_M.gguf": ["mradermacher/MT2-Gen4-IMU-gemma-2-9B-GGUF", MessagesFormatterType.ALPACA],
|
83 |
+
"nemo-sunfall-v0.6.1.i1-Q4_K_M.gguf": ["mradermacher/nemo-sunfall-v0.6.1-i1-GGUF", MessagesFormatterType.MISTRAL],
|
84 |
+
"L3-Hecate-8B-v1.1.i1-Q5_K_M.gguf": ["mradermacher/L3-Hecate-8B-v1.1-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
85 |
+
"CreativeWriter-Personality-12B.i1-Q4_K_M.gguf": ["mradermacher/CreativeWriter-Personality-12B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
86 |
+
"MT3-Gen3-GMA-gemma-2-9B.Q4_K_M.gguf": ["mradermacher/MT3-Gen3-GMA-gemma-2-9B-GGUF", MessagesFormatterType.ALPACA],
|
87 |
+
"MT2-Gen3-IF-gemma-2-MT4g2S2-9B.Q4_K_M.gguf": ["mradermacher/MT2-Gen3-IF-gemma-2-MT4g2S2-9B-GGUF", MessagesFormatterType.ALPACA],
|
88 |
+
"MISCHIEVOUS-12B-Mix_0.4v.i1-Q4_K_M.gguf": ["mradermacher/MISCHIEVOUS-12B-Mix_0.4v-i1-GGUF", MessagesFormatterType.MISTRAL],
|
89 |
+
"Captain_Violet-Mix-V0.420-12B.i1-Q4_K_M.gguf": ["mradermacher/Captain_Violet-Mix-V0.420-12B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
90 |
+
"Llama-OpenReviewer-8B-Q5_K_M.gguf": ["bartowski/Llama-OpenReviewer-8B-GGUF", MessagesFormatterType.LLAMA_3],
|
91 |
+
"ZEUS-8B-V2-ORPO.i1-Q5_K_M.gguf": ["mradermacher/ZEUS-8B-V2-ORPO-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
92 |
+
"Versatile-Llama-3-8B.Q5_K_M.gguf": ["mradermacher/Versatile-Llama-3-8B-GGUF", MessagesFormatterType.LLAMA_3],
|
93 |
+
"Smegmma-9B-v1.i1-Q4_K_M.gguf": ["mradermacher/Smegmma-9B-v1-i1-GGUF", MessagesFormatterType.ALPACA],
|
94 |
+
"sixtyoneeighty-7b-chat.Q5_K_M.gguf": ["mradermacher/sixtyoneeighty-7b-chat-GGUF", MessagesFormatterType.MISTRAL],
|
95 |
+
"Poppy_Porpoise-1.0-L3-8B.i1-Q5_K_M.gguf": ["mradermacher/Poppy_Porpoise-1.0-L3-8B-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
96 |
+
"Poppy_Porpoise-0.72-L3-8B.i1-Q5_K_M.gguf": ["mradermacher/Poppy_Porpoise-0.72-L3-8B-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
97 |
+
"ONeil-model_stock-7B.Q5_K_M.gguf": ["mradermacher/ONeil-model_stock-7B-GGUF", MessagesFormatterType.LLAMA_3],
|
98 |
+
"LLaMa-3-CursedStock-v2.0-8B.i1-Q5_K_M.gguf": ["mradermacher/LLaMa-3-CursedStock-v2.0-8B-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
99 |
+
"LLaMa-3-CursedStock-v1.6-8B.i1-Q5_K_M.gguf": ["mradermacher/LLaMa-3-CursedStock-v1.6-8B-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
100 |
+
"Llama-3-8B-Instruct-abliterated-dpomix.Q5_K_M.gguf": ["mradermacher/Llama-3-8B-Instruct-abliterated-dpomix-GGUF", MessagesFormatterType.LLAMA_3],
|
101 |
+
"L3-Umbral-Mind-RP-v3-8B.i1-Q5_K_M.gguf": ["mradermacher/L3-Umbral-Mind-RP-v3-8B-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
102 |
+
"L3-Penumbral-Mind-RP-8B.i1-Q5_K_M.gguf": ["mradermacher/L3-Penumbral-Mind-RP-8B-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
103 |
+
"L3-8.9B-Blackfall-SummanusAra-v0.1.i1-Q4_K_M.gguf": ["mradermacher/L3-8.9B-Blackfall-SummanusAra-v0.1-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
104 |
+
"Hathor_RP-v.01-L3-8B.i1-Q5_K_M.gguf": ["mradermacher/Hathor_RP-v.01-L3-8B-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
105 |
+
"Hathor_Enigmatica-L3-8B-v0.4.i1-Q5_K_M.gguf": ["mradermacher/Hathor_Enigmatica-L3-8B-v0.4-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
106 |
+
"Gemma-2-9b-indic.Q4_K_M.gguf": ["mradermacher/Gemma-2-9b-indic-GGUF", MessagesFormatterType.ALPACA],
|
107 |
+
"Eris_PrimeV3.075-Vision-7B.Q5_K_M.gguf": ["mradermacher/Eris_PrimeV3.075-Vision-7B-GGUF", MessagesFormatterType.MISTRAL],
|
108 |
+
"Domain-Fusion-L3-8B.i1-Q5_K_M.gguf": ["mradermacher/Domain-Fusion-L3-8B-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
109 |
+
"Chimera-8B.Q5_K_M.gguf": ["mradermacher/Chimera-8B-GGUF", MessagesFormatterType.LLAMA_3],
|
110 |
+
"ArliAI-Llama-3-8B-Formax-v1.0.i1-Q5_K_M.gguf": ["mradermacher/ArliAI-Llama-3-8B-Formax-v1.0-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
111 |
+
"saiga_gemma2_10b.i1-Q4_K_M.gguf": ["mradermacher/saiga_gemma2_10b-i1-GGUF", MessagesFormatterType.ALPACA],
|
112 |
+
"Aura-MoE-2x4B-v2.i1-Q5_K_M.gguf": ["mradermacher/Aura-MoE-2x4B-v2-i1-GGUF", MessagesFormatterType.CHATML],
|
113 |
+
"uzbek-llama-3.1-8B-instruct-v2.Q5_K_M.gguf": ["mradermacher/uzbek-llama-3.1-8B-instruct-v2-GGUF", MessagesFormatterType.LLAMA_3],
|
114 |
+
"matricide-12B-Unslop-Unleashed-v2.i1-Q4_K_M.gguf": ["mradermacher/matricide-12B-Unslop-Unleashed-v2-i1-GGUF", MessagesFormatterType.MISTRAL],
|
115 |
+
"Henbane-7b-attempt2.i1-Q5_K_M.gguf": ["mradermacher/Henbane-7b-attempt2-i1-GGUF", MessagesFormatterType.OPEN_CHAT],
|
116 |
+
"hermes-llama3-roleplay-1000.Q5_K_M.gguf": ["mradermacher/hermes-llama3-roleplay-1000-GGUF", MessagesFormatterType.LLAMA_3],
|
117 |
+
"MN-12B-Inferor-v0.1.i1-Q4_K_M.gguf": ["mradermacher/MN-12B-Inferor-v0.1-i1-GGUF", MessagesFormatterType.MISTRAL],
|
118 |
+
"Humanish-Qwen2.5-7B-Instruct.i1-Q5_K_M.gguf": ["mradermacher/Humanish-Qwen2.5-7B-Instruct-i1-GGUF", MessagesFormatterType.OPEN_CHAT],
|
119 |
+
"Humanish-LLama3-8B-Instruct.i1-Q5_K_M.gguf": ["mradermacher/Humanish-LLama3-8B-Instruct-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
120 |
+
"Humanish-Mistral-Nemo-Instruct-2407.i1-Q4_K_M.gguf": ["mradermacher/Humanish-Mistral-Nemo-Instruct-2407-i1-GGUF", MessagesFormatterType.MISTRAL],
|
121 |
+
"Lexi-Llama-3-8B-Uncensored.i1-Q5_K_M.gguf": ["mradermacher/Lexi-Llama-3-8B-Uncensored-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
122 |
+
"Hathor_Tahsin-L3-8B-v0.9.i1-Q5_K_M.gguf": ["mradermacher/Hathor_Tahsin-L3-8B-v0.9-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
123 |
+
"Hathor-L3-8B-v.01.i1-Q5_K_M.gguf": ["mradermacher/Hathor-L3-8B-v.01-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
124 |
"Codellama-3-8B-Finetuned-Instruct.i1-Q5_K_M.gguf": ["mradermacher/Codellama-3-8B-Finetuned-Instruct-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
125 |
"MT-Gen3-GP-gemma-2-S5MTg2-9B.Q4_K_M.gguf": ["mradermacher/MT-Gen3-GP-gemma-2-S5MTg2-9B-GGUF", MessagesFormatterType.ALPACA],
|
126 |
"Captain_Eris-Twighlight-12B.i1-Q4_K_M.gguf": ["mradermacher/Captain_Eris-Twighlight-12B-i1-GGUF", MessagesFormatterType.MISTRAL],
|