Spaces:
Running
on
Zero
Running
on
Zero
Upload 2 files
Browse files- llmdolphin.py +2 -0
- llmenv.py +72 -0
llmdolphin.py
CHANGED
@@ -16,6 +16,8 @@ import wrapt_timeout_decorator
|
|
16 |
from llama_cpp_agent.messages_formatter import MessagesFormatter
|
17 |
from formatter import mistral_v1_formatter, mistral_v2_formatter, mistral_v3_tekken_formatter
|
18 |
from llmenv import llm_models, llm_models_dir, llm_formats, llm_languages, dolphin_system_prompt
|
|
|
|
|
19 |
|
20 |
|
21 |
llm_models_tupled_list = []
|
|
|
16 |
from llama_cpp_agent.messages_formatter import MessagesFormatter
|
17 |
from formatter import mistral_v1_formatter, mistral_v2_formatter, mistral_v3_tekken_formatter
|
18 |
from llmenv import llm_models, llm_models_dir, llm_formats, llm_languages, dolphin_system_prompt
|
19 |
+
import subprocess
|
20 |
+
subprocess.run("rm -rf /data-nvme/zerogpu-offload/*", env={}, shell=True)
|
21 |
|
22 |
|
23 |
llm_models_tupled_list = []
|
llmenv.py
CHANGED
@@ -83,6 +83,77 @@ llm_models = {
|
|
83 |
#"": ["", MessagesFormatterType.OPEN_CHAT],
|
84 |
#"": ["", MessagesFormatterType.CHATML],
|
85 |
#"": ["", MessagesFormatterType.PHI_3],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
"WestKunai-XS-7b.Q5_K_M.gguf": ["mradermacher/WestKunai-XS-7b-GGUF", MessagesFormatterType.MISTRAL],
|
87 |
"WestKunai-XD-7b.Q5_K_M.gguf": ["mradermacher/WestKunai-XD-7b-GGUF", MessagesFormatterType.MISTRAL],
|
88 |
"GenTest-7B-slerp.Q5_K_M.gguf": ["mradermacher/GenTest-7B-slerp-GGUF", MessagesFormatterType.MISTRAL],
|
@@ -1503,6 +1574,7 @@ llm_models = {
|
|
1503 |
"ContextualToppy_KTO-7B.Q5_K_M.gguf": ["mradermacher/ContextualToppy_KTO-7B-GGUF", MessagesFormatterType.MISTRAL],
|
1504 |
"Berghof-NSFW-7B.Q5_K_M.gguf": ["QuantFactory/Berghof-NSFW-7B-GGUF", MessagesFormatterType.MISTRAL],
|
1505 |
"Japanese-TextGen-Kage-v0.1.2-2x7B-NSFW_iMat_Ch200_IQ4_XS.gguf": ["dddump/Japanese-TextGen-Kage-v0.1.2-2x7B-NSFW-gguf", MessagesFormatterType.VICUNA],
|
|
|
1506 |
"ChatWaifu_v1.2.1.Q5_K_M.gguf": ["mradermacher/ChatWaifu_v1.2.1-GGUF", MessagesFormatterType.MISTRAL],
|
1507 |
"ChatWaifu_v1.1.Q5_K_M.gguf": ["mradermacher/ChatWaifu_v1.1-GGUF", MessagesFormatterType.MISTRAL],
|
1508 |
"ChatWaifu_v1.0.i1-Q5_K_M.gguf": ["mradermacher/ChatWaifu_v1.0-i1-GGUF", MessagesFormatterType.MISTRAL],
|
|
|
83 |
#"": ["", MessagesFormatterType.OPEN_CHAT],
|
84 |
#"": ["", MessagesFormatterType.CHATML],
|
85 |
#"": ["", MessagesFormatterType.PHI_3],
|
86 |
+
"Dans-PersonalityEngine-V1.1.0-12b-Q4_K_M.gguf": ["bartowski/Dans-PersonalityEngine-V1.1.0-12b-GGUF", MessagesFormatterType.CHATML],
|
87 |
+
"Teleut-7b-RP-Q5_K_M.gguf": ["bartowski/Teleut-7b-RP-GGUF", MessagesFormatterType.OPEN_CHAT],
|
88 |
+
"Berghof-vanilla-7B.i1-Q5_K_M.gguf": ["mradermacher/Berghof-vanilla-7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
89 |
+
"NeuralKukedlc-7B-Labonned.i1-Q5_K_M.gguf": ["mradermacher/NeuralKukedlc-7B-Labonned-i1-GGUF", MessagesFormatterType.MISTRAL],
|
90 |
+
"Mistral-Nemo-VICIOUS_MESH-12B-2407.i1-Q4_K_M.gguf": ["mradermacher/Mistral-Nemo-VICIOUS_MESH-12B-2407-i1-GGUF", MessagesFormatterType.MISTRAL],
|
91 |
+
"StrangeMerges_43-7B-dare_ties.Q5_K_M.gguf": ["mradermacher/StrangeMerges_43-7B-dare_ties-GGUF", MessagesFormatterType.MISTRAL],
|
92 |
+
"SmartLlama-3-8B-MS-v0.1.i1-Q5_K_M.gguf": ["mradermacher/SmartLlama-3-8B-MS-v0.1-i1-GGUF", MessagesFormatterType.LLAMA_3],
|
93 |
+
"bruphin-kappa.i1-Q5_K_M.gguf": ["mradermacher/bruphin-kappa-i1-GGUF", MessagesFormatterType.MISTRAL],
|
94 |
+
"NeuralKrishnaMath-7B-slerp.Q5_K_M.gguf": ["mradermacher/NeuralKrishnaMath-7B-slerp-GGUF", MessagesFormatterType.MISTRAL],
|
95 |
+
"113-Aspect-Emotion-Model-1.1.Q5_K_M.gguf": ["mradermacher/113-Aspect-Emotion-Model-1.1-GGUF", MessagesFormatterType.MISTRAL],
|
96 |
+
"ErisepBeagleNuBuRPInfinWestLakev2-IreneRP-Neural-7B-slerp.Q5_K_M.gguf": ["mradermacher/ErisepBeagleNuBuRPInfinWestLakev2-IreneRP-Neural-7B-slerp-GGUF", MessagesFormatterType.MISTRAL],
|
97 |
+
"ScaleDown-7B-slerp-v0.1.i1-Q5_K_M.gguf": ["mradermacher/ScaleDown-7B-slerp-v0.1-i1-GGUF", MessagesFormatterType.MISTRAL],
|
98 |
+
"KangalKhan-PolishedRuby-7B.i1-Q5_K_M.gguf": ["mradermacher/KangalKhan-PolishedRuby-7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
99 |
+
"Eris_PrimeV4-Vision-7B.i1-Q5_K_M.gguf": ["mradermacher/Eris_PrimeV4-Vision-7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
100 |
+
"Mistral-7B-Instruct-demi-merge-v0.2-7B.i1-Q5_K_M.gguf": ["mradermacher/Mistral-7B-Instruct-demi-merge-v0.2-7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
101 |
+
"DaturaCookie_7B.i1-Q5_K_M.gguf": ["mradermacher/DaturaCookie_7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
102 |
+
"Eris_PrimeV4-Vision-32k-7B.i1-Q5_K_M.gguf": ["mradermacher/Eris_PrimeV4-Vision-32k-7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
103 |
+
"swallow-hermes-st-v1.Q5_K_M.gguf": ["mradermacher/swallow-hermes-st-v1-GGUF", MessagesFormatterType.MISTRAL],
|
104 |
+
"StrangeMerges_45-7B-dare_ties.Q5_K_M.gguf": ["mradermacher/StrangeMerges_45-7B-dare_ties-GGUF", MessagesFormatterType.MISTRAL],
|
105 |
+
"Eris_PrimeV3.05-Vision-7B.i1-Q5_K_M.gguf": ["mradermacher/Eris_PrimeV3.05-Vision-7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
106 |
+
"Pearl-7B-slerp.i1-Q5_K_M.gguf": ["mradermacher/Pearl-7B-slerp-i1-GGUF", MessagesFormatterType.MISTRAL],
|
107 |
+
"Follex-7B.i1-Q5_K_M.gguf": ["mradermacher/Follex-7B-i1-GGUF", MessagesFormatterType.OPEN_CHAT],
|
108 |
+
"flammen13-mistral-7B.Q5_K_M.gguf": ["mradermacher/flammen13-mistral-7B-GGUF", MessagesFormatterType.MISTRAL],
|
109 |
+
"flammen12-mistral-7B.Q5_K_M.gguf": ["mradermacher/flammen12-mistral-7B-GGUF", MessagesFormatterType.MISTRAL],
|
110 |
+
"KangalKhan-Beta-Sapphire-7B.Q5_K_M.gguf": ["mradermacher/KangalKhan-Beta-Sapphire-7B-GGUF", MessagesFormatterType.MISTRAL],
|
111 |
+
"StrangeMerges_44-7B-dare_ties.Q5_K_M.gguf": ["mradermacher/StrangeMerges_44-7B-dare_ties-GGUF", MessagesFormatterType.MISTRAL],
|
112 |
+
"StarMix-7B-slerp.Q5_K_M.gguf": ["mradermacher/StarMix-7B-slerp-GGUF", MessagesFormatterType.MISTRAL],
|
113 |
+
"Qwen2.5-14B-Brocav3.i1-Q4_K_M.gguf": ["mradermacher/Qwen2.5-14B-Brocav3-i1-GGUF", MessagesFormatterType.OPEN_CHAT],
|
114 |
+
"Calliope-7b.Q5_K_M.gguf": ["mradermacher/Calliope-7b-GGUF", MessagesFormatterType.MISTRAL],
|
115 |
+
"Qwen2.5-14B-Broca.i1-Q4_K_M.gguf": ["mradermacher/Qwen2.5-14B-Broca-i1-GGUF", MessagesFormatterType.OPEN_CHAT],
|
116 |
+
"iq-code-evmind-14b.i1-Q4_K_M.gguf": ["mradermacher/iq-code-evmind-14b-i1-GGUF", MessagesFormatterType.OPEN_CHAT],
|
117 |
+
"AetherLlama.Q5_K_M.gguf": ["mradermacher/AetherLlama-GGUF", MessagesFormatterType.LLAMA_3],
|
118 |
+
"Avalon_8.Q4_K_M.gguf": ["mradermacher/Avalon_8-GGUF", MessagesFormatterType.MISTRAL],
|
119 |
+
"Zephyr_beta_32k_7B.Q5_K_M.gguf": ["mradermacher/Zephyr_beta_32k_7B-GGUF", MessagesFormatterType.MISTRAL],
|
120 |
+
"iq-code-evmind-7b.Q5_K_M.gguf": ["mradermacher/iq-code-evmind-7b-GGUF", MessagesFormatterType.OPEN_CHAT],
|
121 |
+
"Follex-7B-V2.i1-Q5_K_M.gguf": ["mradermacher/Follex-7B-V2-i1-GGUF", MessagesFormatterType.OPEN_CHAT],
|
122 |
+
"bruphin-iota.Q5_K_M.gguf": ["mradermacher/bruphin-iota-GGUF", MessagesFormatterType.MISTRAL],
|
123 |
+
"Qwen2.5-14B-FinalMergev2.Q4_K_M.gguf": ["mradermacher/Qwen2.5-14B-FinalMergev2-GGUF", MessagesFormatterType.OPEN_CHAT],
|
124 |
+
"flammen11X-mistral-7B.Q5_K_M.gguf": ["mradermacher/flammen11X-mistral-7B-GGUF", MessagesFormatterType.MISTRAL],
|
125 |
+
"J.O.S.I.E.3-Beta8-slerp.Q5_K_M.gguf": ["mradermacher/J.O.S.I.E.3-Beta8-slerp-GGUF", MessagesFormatterType.MISTRAL],
|
126 |
+
"flammen10-mistral-7B.Q5_K_M.gguf": ["mradermacher/flammen10-mistral-7B-GGUF", MessagesFormatterType.MISTRAL],
|
127 |
+
"gemma-2-9b-it-abliterated-Q4_K_M.gguf": ["bartowski/gemma-2-9b-it-abliterated-GGUF", MessagesFormatterType.ALPACA],
|
128 |
+
"The-Trinity-Coder-7B.Q5_K_M.gguf": ["mradermacher/The-Trinity-Coder-7B-GGUF", MessagesFormatterType.MISTRAL],
|
129 |
+
"MT-Gen5-MUMMIG-gemma-2-9B.Q4_K_M.gguf": ["mradermacher/MT-Gen5-MUMMIG-gemma-2-9B-GGUF", MessagesFormatterType.ALPACA],
|
130 |
+
"DarkCamelot_2.i1-Q4_K_M.gguf": ["mradermacher/DarkCamelot_2-i1-GGUF", MessagesFormatterType.MISTRAL],
|
131 |
+
"NeuralSirKrishna-Spanish-FT.Q5_K_M.gguf": ["mradermacher/NeuralSirKrishna-Spanish-FT-GGUF", MessagesFormatterType.MISTRAL],
|
132 |
+
"Pearl-7B-0211-ties.Q5_K_M.gguf": ["mradermacher/Pearl-7B-0211-ties-GGUF", MessagesFormatterType.MISTRAL],
|
133 |
+
"Pearl-7B-0210-ties.Q5_K_M.gguf": ["mradermacher/Pearl-7B-0210-ties-GGUF", MessagesFormatterType.MISTRAL],
|
134 |
+
"GarrulusMarcoro-7B-v0.1.Q5_K_M.gguf": ["mradermacher/GarrulusMarcoro-7B-v0.1-GGUF", MessagesFormatterType.MISTRAL],
|
135 |
+
"NeuralDareDMistralPro-7b-slerp.Q5_K_M.gguf": ["mradermacher/NeuralDareDMistralPro-7b-slerp-GGUF", MessagesFormatterType.MISTRAL],
|
136 |
+
"Matter-0.1-7B-DPO-preview.Q5_K_M.gguf": ["mradermacher/Matter-0.1-7B-DPO-preview-GGUF", MessagesFormatterType.MISTRAL],
|
137 |
+
"Mistral7BInstructv0.2-RakutenAI7Bchat.Q5_K_M.gguf": ["mradermacher/Mistral7BInstructv0.2-RakutenAI7Bchat-GGUF", MessagesFormatterType.MISTRAL],
|
138 |
+
"Asherah_7B.i1-Q5_K_M.gguf": ["mradermacher/Asherah_7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
139 |
+
"Matter-0.1-7B.i1-Q5_K_M.gguf": ["mradermacher/Matter-0.1-7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
140 |
+
"kukulemon-7B.i1-Q5_K_M.gguf": ["mradermacher/kukulemon-7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
141 |
+
"Mystical-dare5-7b.Q5_K_M.gguf": ["mradermacher/Mystical-dare5-7b-GGUF", MessagesFormatterType.MISTRAL],
|
142 |
+
"RasGulla1-7b.Q5_K_M.gguf": ["mradermacher/RasGulla1-7b-GGUF", MessagesFormatterType.MISTRAL],
|
143 |
+
"NeuralMonarchCoderPearlBeagle-T3Q-Mistral-Orca-Math-DPO-7b.Q5_K_M.gguf": ["mradermacher/NeuralMonarchCoderPearlBeagle-T3Q-Mistral-Orca-Math-DPO-7b-GGUF", MessagesFormatterType.MISTRAL],
|
144 |
+
"Einstein-4d-Marcoro14-nddmpk-KrishnaHercules-7b-slerp-fix1.Q5_K_M.gguf": ["mradermacher/Einstein-4d-Marcoro14-nddmpk-KrishnaHercules-7b-slerp-fix1-GGUF", MessagesFormatterType.MISTRAL],
|
145 |
+
"Einstein-4d-Marcoro14-nddmpk-KrishnaHercules-7b-slerp.Q5_K_M.gguf": ["mradermacher/Einstein-4d-Marcoro14-nddmpk-KrishnaHercules-7b-slerp-GGUF", MessagesFormatterType.MISTRAL],
|
146 |
+
"EvoLLM-JP-v1-7B.i1-Q5_K_M.gguf": ["mradermacher/EvoLLM-JP-v1-7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
147 |
+
"PearlMathMstralPro-7b-slerp.Q5_K_M.gguf": ["mradermacher/PearlMathMstralPro-7b-slerp-GGUF", MessagesFormatterType.MISTRAL],
|
148 |
+
"tokyotech-llm-Llama-3.1-Swallow-8B-Instruct-v0.3-Q5_K_M.gguf": ["mmnga/tokyotech-llm-Llama-3.1-Swallow-8B-Instruct-v0.3-gguf", MessagesFormatterType.LLAMA_3],
|
149 |
+
"Mayonnaise-4in1-03.Q5_K_M.gguf": ["mradermacher/Mayonnaise-4in1-03-GGUF", MessagesFormatterType.MISTRAL],
|
150 |
+
"Franken-MistressMaid-7B-v2.i1-Q5_K_M.gguf": ["mradermacher/Franken-MistressMaid-7B-v2-i1-GGUF", MessagesFormatterType.MISTRAL],
|
151 |
+
"Mayonnaise-4in1-01.Q5_K_M.gguf": ["mradermacher/Mayonnaise-4in1-01-GGUF", MessagesFormatterType.MISTRAL],
|
152 |
+
"TheMayonnaise.i1-Q5_K_M.gguf": ["mradermacher/TheMayonnaise-i1-GGUF", MessagesFormatterType.MISTRAL],
|
153 |
+
"Gemma-The-Writer-Mighty-Sword-9B-D_AU-Q4_k_m.gguf": ["DavidAU/Gemma-The-Writer-Mighty-Sword-9B-GGUF", MessagesFormatterType.ALPACA],
|
154 |
+
"Elly_7B.Q5_K_M.gguf": ["mradermacher/Elly_7B-GGUF", MessagesFormatterType.MISTRAL],
|
155 |
+
"Eris_Prime-V2-7B.Q5_K_M.gguf": ["mradermacher/Eris_Prime-V2-7B-GGUF", MessagesFormatterType.MISTRAL],
|
156 |
+
"discolm-mfto-7b-german-v0.1.Q5_K_M.gguf": ["mradermacher/discolm-mfto-7b-german-v0.1-GGUF", MessagesFormatterType.MISTRAL],
|
157 |
"WestKunai-XS-7b.Q5_K_M.gguf": ["mradermacher/WestKunai-XS-7b-GGUF", MessagesFormatterType.MISTRAL],
|
158 |
"WestKunai-XD-7b.Q5_K_M.gguf": ["mradermacher/WestKunai-XD-7b-GGUF", MessagesFormatterType.MISTRAL],
|
159 |
"GenTest-7B-slerp.Q5_K_M.gguf": ["mradermacher/GenTest-7B-slerp-GGUF", MessagesFormatterType.MISTRAL],
|
|
|
1574 |
"ContextualToppy_KTO-7B.Q5_K_M.gguf": ["mradermacher/ContextualToppy_KTO-7B-GGUF", MessagesFormatterType.MISTRAL],
|
1575 |
"Berghof-NSFW-7B.Q5_K_M.gguf": ["QuantFactory/Berghof-NSFW-7B-GGUF", MessagesFormatterType.MISTRAL],
|
1576 |
"Japanese-TextGen-Kage-v0.1.2-2x7B-NSFW_iMat_Ch200_IQ4_XS.gguf": ["dddump/Japanese-TextGen-Kage-v0.1.2-2x7B-NSFW-gguf", MessagesFormatterType.VICUNA],
|
1577 |
+
"EvoLLM-JP-A-v1-7B.i1-Q5_K_M.gguf": ["mradermacher/EvoLLM-JP-A-v1-7B-i1-GGUF", MessagesFormatterType.MISTRAL],
|
1578 |
"ChatWaifu_v1.2.1.Q5_K_M.gguf": ["mradermacher/ChatWaifu_v1.2.1-GGUF", MessagesFormatterType.MISTRAL],
|
1579 |
"ChatWaifu_v1.1.Q5_K_M.gguf": ["mradermacher/ChatWaifu_v1.1-GGUF", MessagesFormatterType.MISTRAL],
|
1580 |
"ChatWaifu_v1.0.i1-Q5_K_M.gguf": ["mradermacher/ChatWaifu_v1.0-i1-GGUF", MessagesFormatterType.MISTRAL],
|