Instructions to use flpelerin/mlk-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use flpelerin/mlk-models with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="flpelerin/mlk-models", filename="run-0a23d4bc/run-0a23d4bc.q8_0.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use flpelerin/mlk-models with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf flpelerin/mlk-models:Q8_0 # Run inference directly in the terminal: llama-cli -hf flpelerin/mlk-models:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf flpelerin/mlk-models:Q8_0 # Run inference directly in the terminal: llama-cli -hf flpelerin/mlk-models:Q8_0
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 flpelerin/mlk-models:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf flpelerin/mlk-models:Q8_0
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 flpelerin/mlk-models:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf flpelerin/mlk-models:Q8_0
Use Docker
docker model run hf.co/flpelerin/mlk-models:Q8_0
- LM Studio
- Jan
- Ollama
How to use flpelerin/mlk-models with Ollama:
ollama run hf.co/flpelerin/mlk-models:Q8_0
- Unsloth Studio
How to use flpelerin/mlk-models 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 flpelerin/mlk-models 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 flpelerin/mlk-models to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for flpelerin/mlk-models to start chatting
- Atomic Chat new
- Docker Model Runner
How to use flpelerin/mlk-models with Docker Model Runner:
docker model run hf.co/flpelerin/mlk-models:Q8_0
- Lemonade
How to use flpelerin/mlk-models with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull flpelerin/mlk-models:Q8_0
Run and chat with the model
lemonade run user.mlk-models-Q8_0
List all available models
lemonade list
Ctrl+K
- run-0a23d4bc
- run-0a81d96e
- run-15a6b7ab
- run-2f175ee5
- run-311e8238
- run-32e1c905
- run-35aafd8f
- run-4c17e17f
- run-4cde2d4a
- run-4f8286af
- run-69727a9c
- run-6b77f93e
- run-7857db9d
- run-7b6a81a1
- run-7c381d80
- run-867f0e76
- run-88ab3062
- run-93f190e4
- run-991cce32
- run-999de574
- run-9c09012b
- run-a3c3bd6f
- run-a458b0a4
- run-b207e5df
- run-b83f9ed6
- run-bb8d45b4
- run-c609defc
- run-c729faf0
- run-c789af3
- run-cf913a98
- run-d3f7fc2c
- run-d4d5e08c
- run-d88b1ab5
- run-dfd1efaa
- run-e65a5e1f
- run-ea200c95
- run-eabdb3dd
- run-ecc424d5
- run-edc8d253
- run-ef149bf5
- run-f29b4a4e
- run-f6bd4305
- 1.57 kB