Spaces:
Running
Running
Update entrypoint.sh
Browse files2 unmodified lines345678910111213141516171819203 unmodified lines24252627282930313233342 unmodified linesecho "🔥 Axon v6 - llama.cpp Edition"echo "📥 Downloading models..."# Create models directorymkdir -p /models# Download GGUFs from HuggingFacepython3 << 'EOF'from huggingface_hub import hf_hub_downloadimport osmodels = [("Qwen/Qwen2.5-Coder-7B-Instruct-GGUF", "qwen2.5-coder-7b-instruct-q4_k_m.gguf"),("Qwen/Qwen2.5-Coder-3B-Instruct-GGUF", "qwen2.5-coder-3b-instruct-q4_k_m.gguf"),("Qwen/Qwen2.5-Coder-1.5B-Instruct-GGUF", "qwen2.5-coder-1.5b-instruct-q4_k_m.gguf"),]for repo, filename in models:3 unmodified linesrepo_id=repo,filename=filename,local_dir="/models",local_dir_use_symlinks=False)print(f"✅ {filename} ready!")except Exception as e:print(f"❌ Failed to download {filename}: {e}")print("✅ All models downloaded!")EOF2 unmodified lines34567891011121314151617181920212223242526273 unmodified lines313233343536373839402 unmodified linesecho "🔥 Axon v6 - llama.cpp Edition"echo "📥 Downloading models..."mkdir -p /modelspython3 << 'EOF'from huggingface_hub import hf_hub_downloadmodels = [# Qwen3 30B MoE (Best!)("unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF", "Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.gguf"),# Qwen2.5 family("Qwen/Qwen2.5-Coder-14B-Instruct-GGUF", "qwen2.5-coder-14b-instruct-q4_k_m.gguf"),("Qwen/Qwen2.5-Coder-7B-Instruct-GGUF", "qwen2.5-coder-7b-instruct-q4_k_m.gguf"),("Qwen/Qwen2.5-Coder-3B-Instruct-GGUF", "qwen2.5-coder-3b-instruct-q4_k_m.gguf"),("Qwen/Qwen2.5-Coder-1.5B-Instruct-GGUF", "qwen2.5-coder-1.5b-instruct-q4_k_m.gguf"),("Qwen/Qwen2.5-Coder-0.5B-Instruct-GGUF", "qwen2.5-coder-0.5b-instruct-q4_k_m.gguf"),# DeepSeek("bartowski/DeepSeek-Coder-V2-Lite-Instruct-GGUF", "DeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf"),("TheBloke/deepseek-coder-6.7B-instruct-GGUF", "deepseek-coder-6.7b-instruct.Q4_K_M.gguf"),]for repo, filename in models:3 unmodified linesrepo_id=repo,filename=filename,local_dir="/models",)print(f"✅ {filename} ready!")except Exception as e:print(f"⚠️ {filename}: {e}")print("✅ All models downloaded!")EOF
entrypoint.sh+11-5