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
flpelerin commited on
Commit ·
cafb816
1
Parent(s): 7bc9041
added run-867f0e76
Browse files- .gitattributes +1 -0
- run-867f0e76/merged/config.json +3 -0
- run-867f0e76/merged/generation_config.json +3 -0
- run-867f0e76/merged/pytorch_model-00001-of-00002.bin +3 -0
- run-867f0e76/merged/pytorch_model-00002-of-00002.bin +3 -0
- run-867f0e76/merged/pytorch_model.bin.index.json +3 -0
- run-867f0e76/merged/special_tokens_map.json +3 -0
- run-867f0e76/merged/tokenizer.json +3 -0
- run-867f0e76/merged/tokenizer.model +3 -0
- run-867f0e76/merged/tokenizer_config.json +3 -0
- run-867f0e76/run-867f0e76.q5_k_m.gguf +3 -0
.gitattributes
CHANGED
|
@@ -49,3 +49,4 @@ run-6ebb8743/** filter=lfs diff=lfs merge=lfs -text
|
|
| 49 |
run-f33b16fe/** filter=lfs diff=lfs merge=lfs -text
|
| 50 |
run-cf913a98/** filter=lfs diff=lfs merge=lfs -text
|
| 51 |
run-2f175ee5/** filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 49 |
run-f33b16fe/** filter=lfs diff=lfs merge=lfs -text
|
| 50 |
run-cf913a98/** filter=lfs diff=lfs merge=lfs -text
|
| 51 |
run-2f175ee5/** filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
run-867f0e76/** filter=lfs diff=lfs merge=lfs -text
|
run-867f0e76/merged/config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4d146b85ad761c34b2fd39b49b4d5a622b8bc31e56bfa307e956744608a9d47
|
| 3 |
+
size 699
|
run-867f0e76/merged/generation_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bca00c436a265008f690f46eb597f53e657abfdafad63e04e705313be8fa5ae
|
| 3 |
+
size 158
|
run-867f0e76/merged/pytorch_model-00001-of-00002.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02516408b1f3d534daff92e1b06ada46aeff7d4f5ac700ce4f8bb8b150147114
|
| 3 |
+
size 4945278526
|
run-867f0e76/merged/pytorch_model-00002-of-00002.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:453422aa83bef13f66f535e6ebdab19116a376ad1696b0fb8c665ac548f65cb7
|
| 3 |
+
size 67123448
|
run-867f0e76/merged/pytorch_model.bin.index.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:428bc5d66d3b5d502ba053b1a62304a40ac21d3433d49dd7c28907bc74c9221b
|
| 3 |
+
size 13547
|
run-867f0e76/merged/special_tokens_map.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db82f8bd9b25d14f9c788e6bde64de84d42f1c2538f1c245ba6cb3e872d14b18
|
| 3 |
+
size 555
|
run-867f0e76/merged/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0d908b4f9326e0998815690e325b6abbd378978553e10627924dd825db7e243
|
| 3 |
+
size 17477553
|
run-867f0e76/merged/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6969e64047744a44bb3abfb5c50f8de0f7ed8b571d5444426ef931f651d1a0ef
|
| 3 |
+
size 4241111
|
run-867f0e76/merged/tokenizer_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:acb0c767881929483d11af25020fc4744c474eed09101a5752d4d443a13d3e55
|
| 3 |
+
size 1108
|
run-867f0e76/run-867f0e76.q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16252b54eccd654b41bf2dd25157ab7a7c07c8652d5be2b8bc5c37340bfa2184
|
| 3 |
+
size 2200097984
|