Instructions to use brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use brucethemoose/Yi-34B-200K-RPMerge-iMat.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 brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF:IQ2_XS # Run inference directly in the terminal: llama cli -hf brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF:IQ2_XS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF:IQ2_XS # Run inference directly in the terminal: llama cli -hf brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF:IQ2_XS
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 brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF:IQ2_XS # Run inference directly in the terminal: ./llama-cli -hf brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF:IQ2_XS
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 brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF:IQ2_XS # Run inference directly in the terminal: ./build/bin/llama-cli -hf brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF:IQ2_XS
Use Docker
docker model run hf.co/brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF:IQ2_XS
- LM Studio
- Jan
- Ollama
How to use brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF with Ollama:
ollama run hf.co/brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF:IQ2_XS
- Unsloth Studio
How to use brucethemoose/Yi-34B-200K-RPMerge-iMat.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 brucethemoose/Yi-34B-200K-RPMerge-iMat.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 brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF to start chatting
- Docker Model Runner
How to use brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF with Docker Model Runner:
docker model run hf.co/brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF:IQ2_XS
- Lemonade
How to use brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull brucethemoose/Yi-34B-200K-RPMerge-iMat.GGUF:IQ2_XS
Run and chat with the model
lemonade run user.Yi-34B-200K-RPMerge-iMat.GGUF-IQ2_XS
List all available models
lemonade list
- Atomic Chat
Can i get a tldr of what exactly "imatrix quantization" is?
personally, this is the first I've heard of this and im a bit curious what that means for the quality of the model.
Heh, all this stuff in LLM land is horribly documented, and my meager model card is not helping. See: https://github.com/ggerganov/llama.cpp/pull/4861
In a nutshell, iMatrix quantization uses example text to "calibrate" the quantization and allocate more space to useful parts of the model. It should be an all around upgrade over regular GGMLs.
It is usable in the llama.cpp repo through the ./imatrix command. The process takes some time (hours, depending on how many layers you can offload to the GPU).
In addition, the IQ3XSS and IQ2XS files use a new, experimental quantization technique that should result in much better quality than the similarly-sized Q2 quantizations, at the cost of some inference speed.
This quantization, on this huggingface page, is very experimental because it uses nonstandard data and an abnormally long quantization context length. This might help over regular imatrix quantization (particularly at long context), or it may mess the model up. shrug.