Instructions to use IlyaGusev/saiga2_7b_gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use IlyaGusev/saiga2_7b_gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf IlyaGusev/saiga2_7b_gguf:Q2_K # Run inference directly in the terminal: llama cli -hf IlyaGusev/saiga2_7b_gguf:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf IlyaGusev/saiga2_7b_gguf:Q2_K # Run inference directly in the terminal: llama cli -hf IlyaGusev/saiga2_7b_gguf:Q2_K
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf IlyaGusev/saiga2_7b_gguf:Q2_K # Run inference directly in the terminal: ./llama-cli -hf IlyaGusev/saiga2_7b_gguf:Q2_K
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf IlyaGusev/saiga2_7b_gguf:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf IlyaGusev/saiga2_7b_gguf:Q2_K
Use Docker
docker model run hf.co/IlyaGusev/saiga2_7b_gguf:Q2_K
- LM Studio
- Jan
- vLLM
How to use IlyaGusev/saiga2_7b_gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "IlyaGusev/saiga2_7b_gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "IlyaGusev/saiga2_7b_gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/IlyaGusev/saiga2_7b_gguf:Q2_K
- Ollama
How to use IlyaGusev/saiga2_7b_gguf with Ollama:
ollama run hf.co/IlyaGusev/saiga2_7b_gguf:Q2_K
- Unsloth Studio
How to use IlyaGusev/saiga2_7b_gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for IlyaGusev/saiga2_7b_gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for IlyaGusev/saiga2_7b_gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for IlyaGusev/saiga2_7b_gguf to start chatting
- Docker Model Runner
How to use IlyaGusev/saiga2_7b_gguf with Docker Model Runner:
docker model run hf.co/IlyaGusev/saiga2_7b_gguf:Q2_K
- Lemonade
How to use IlyaGusev/saiga2_7b_gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull IlyaGusev/saiga2_7b_gguf:Q2_K
Run and chat with the model
lemonade run user.saiga2_7b_gguf-Q2_K
List all available models
lemonade list
- Atomic Chat
Лицензирование продуктов на основе Saiga2
Привет Илья,
Возник вопрос по лицензии (ниже). Есть ли идеи, куда можно копать по этому поводу?
Для одного заказчика в РФ делаем чат-бота на базе Saiga2. Так как заказчик из РФ, связь Saiga2 и LLaMA2 становится проблемой (так как Meta там, мягко скажем, не приветствуется).
Если я правильно понимаю, то раз Saiga2 залицензирована по лицензии LLaMA2, то и чат-бот на его основе должен быть лицензирован так же. Так ли это? Или же есть какие-нибудь легальные способы в конечном продукте не указывать связь с LLaMA2 и, соответственно, Meta?
Best,
Макс
Я бы начал что точно стал смотреть форму собственности и владельца ... Может Meta AI это другое юрлицо вообще