Text Generation
Transformers
GGUF
Safetensors
quantized
2-bit
3-bit
4-bit precision
5-bit
6-bit
8-bit precision
GGUF
mistral
arxiv:2304.12244
arxiv:2306.08568
arxiv:2308.09583
text-generation-inference
Instructions to use lasrevinu333-design/WizardLM-2-8x22B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lasrevinu333-design/WizardLM-2-8x22B-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="lasrevinu333-design/WizardLM-2-8x22B-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("lasrevinu333-design/WizardLM-2-8x22B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use lasrevinu333-design/WizardLM-2-8x22B-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 lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M
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 lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M
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 lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use lasrevinu333-design/WizardLM-2-8x22B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lasrevinu333-design/WizardLM-2-8x22B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lasrevinu333-design/WizardLM-2-8x22B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M
- SGLang
How to use lasrevinu333-design/WizardLM-2-8x22B-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "lasrevinu333-design/WizardLM-2-8x22B-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lasrevinu333-design/WizardLM-2-8x22B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "lasrevinu333-design/WizardLM-2-8x22B-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lasrevinu333-design/WizardLM-2-8x22B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use lasrevinu333-design/WizardLM-2-8x22B-GGUF with Ollama:
ollama run hf.co/lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use lasrevinu333-design/WizardLM-2-8x22B-GGUF with Docker Model Runner:
docker model run hf.co/lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M
- Lemonade
How to use lasrevinu333-design/WizardLM-2-8x22B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lasrevinu333-design/WizardLM-2-8x22B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.WizardLM-2-8x22B-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Gated model You can list files but not access them
Preview of files found in this repository
- 6.42 kB
- 1.93 kB
- 32.7 GB xet
- 29.6 GB xet
- 13.5 GB xet
- 13.5 GB xet
- 12.3 GB xet
- 13.3 GB xet
- 5.61 GB xet
- 18 GB xet
- 17.8 GB xet
- 16.2 GB xet
- 17.4 GB xet
- 6.87 GB xet
- 11.8 GB xet
- 12.3 GB xet
- 11.2 GB xet
- 12 GB xet
- 4.79 GB xet
- 16.5 GB xet
- 17.1 GB xet
- 15.6 GB xet
- 16.8 GB xet
- 6.61 GB xet
- 15.7 GB xet
- 15.9 GB xet
- 14.5 GB xet
- 15.6 GB xet
- 6.16 GB xet
- 14 GB xet
- 14.5 GB xet
- 13.2 GB xet
- 14.2 GB xet
- 5.62 GB xet
- 20 GB xet
- 19.7 GB xet
- 17.9 GB xet
- 19.7 GB xet
- 8.29 GB xet
- 18.8 GB xet
- 18.9 GB xet
- 17.1 GB xet
- 18.4 GB xet
- 7.25 GB xet
- 23 GB xet
- 23.4 GB xet
- 21.2 GB xet
- 23.1 GB xet
- 9.32 GB xet
- 22 GB xet