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 (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -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 serve -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 ·
d0c323b
1
Parent(s): 4f07b18
added run-4cde2d4a
Browse files- .gitattributes +1 -0
- run-4cde2d4a/merged/config.json +3 -0
- run-4cde2d4a/merged/generation_config.json +3 -0
- run-4cde2d4a/merged/pytorch_model-00001-of-00002.bin +3 -0
- run-4cde2d4a/merged/pytorch_model-00002-of-00002.bin +3 -0
- run-4cde2d4a/merged/pytorch_model.bin.index.json +3 -0
- run-4cde2d4a/merged/special_tokens_map.json +3 -0
- run-4cde2d4a/merged/tokenizer.json +3 -0
- run-4cde2d4a/merged/tokenizer.model +3 -0
- run-4cde2d4a/merged/tokenizer_config.json +3 -0
- run-4cde2d4a/run-4cde2d4a.q5_k_m.gguf +3 -0
.gitattributes
CHANGED
|
@@ -66,3 +66,4 @@ run-dfd1efaa/** filter=lfs diff=lfs merge=lfs -text
|
|
| 66 |
run-668e79a3/** filter=lfs diff=lfs merge=lfs -text
|
| 67 |
run-2a91e158/** filter=lfs diff=lfs merge=lfs -text
|
| 68 |
run-88fe49bb/** filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 66 |
run-668e79a3/** filter=lfs diff=lfs merge=lfs -text
|
| 67 |
run-2a91e158/** filter=lfs diff=lfs merge=lfs -text
|
| 68 |
run-88fe49bb/** filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
run-4cde2d4a/** filter=lfs diff=lfs merge=lfs -text
|
run-4cde2d4a/merged/config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4ceb1b0f143276ea19685e9f0a7a53207245ee4010ab77aa74fb2b0c04963ec
|
| 3 |
+
size 694
|
run-4cde2d4a/merged/generation_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f87217eff07f2b119f83b44e79684aa9ddce373426b92a4d46c2d5e5393f247
|
| 3 |
+
size 153
|
run-4cde2d4a/merged/pytorch_model-00001-of-00002.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a51fa1555f6474efeec4bcf7d0cc56bc49dac31ae538979924af569c18f1332
|
| 3 |
+
size 4945278526
|
run-4cde2d4a/merged/pytorch_model-00002-of-00002.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00ed84c00a955e78978f167d947f5631bca4bd3b6c84f65216cde71e6d5e473e
|
| 3 |
+
size 67123448
|
run-4cde2d4a/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-4cde2d4a/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-4cde2d4a/merged/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4db21bfaffa1fd75fd741df2d95dc51e539d5cc38b07934bae0d7d129db90662
|
| 3 |
+
size 17477581
|
run-4cde2d4a/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-4cde2d4a/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-4cde2d4a/run-4cde2d4a.q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8bc746a7b35e451a6c6c5355bdec283e71bbf150d2864ee532c9fd9b401641a0
|
| 3 |
+
size 2200097984
|