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 ·
f6eecb7
1
Parent(s): 5a2576a
added run-d88b1ab5
Browse files- .gitattributes +1 -0
- run-d88b1ab5/merged/config.json +3 -0
- run-d88b1ab5/merged/generation_config.json +3 -0
- run-d88b1ab5/merged/pytorch_model-00001-of-00002.bin +3 -0
- run-d88b1ab5/merged/pytorch_model-00002-of-00002.bin +3 -0
- run-d88b1ab5/merged/pytorch_model.bin.index.json +3 -0
- run-d88b1ab5/merged/special_tokens_map.json +3 -0
- run-d88b1ab5/merged/tokenizer.json +3 -0
- run-d88b1ab5/merged/tokenizer_config.json +3 -0
.gitattributes
CHANGED
|
@@ -60,3 +60,4 @@ run-6de828c0/** filter=lfs diff=lfs merge=lfs -text
|
|
| 60 |
run-37712407/** filter=lfs diff=lfs merge=lfs -text
|
| 61 |
run-a3c3bd6f/** filter=lfs diff=lfs merge=lfs -text
|
| 62 |
run-35aafd8f/** filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 60 |
run-37712407/** filter=lfs diff=lfs merge=lfs -text
|
| 61 |
run-a3c3bd6f/** filter=lfs diff=lfs merge=lfs -text
|
| 62 |
run-35aafd8f/** filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
run-d88b1ab5/** filter=lfs diff=lfs merge=lfs -text
|
run-d88b1ab5/merged/config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d30b15ab9fe9b28fd2b3188765e8035a8c0b1e2e1202230d88d43bf5a80fe78
|
| 3 |
+
size 762
|
run-d88b1ab5/merged/generation_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60417151fc54bd10d21131e9ae9334148e0ba1d0aeb7a0a987f1674fa7dc5e3d
|
| 3 |
+
size 137
|
run-d88b1ab5/merged/pytorch_model-00001-of-00002.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5895020b1841213b6c5e7b6d3c61e4719b458ea82c9e3b463ed9c05a51510db9
|
| 3 |
+
size 4978291029
|
run-d88b1ab5/merged/pytorch_model-00002-of-00002.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52ce16fd2a893d6d74a25925119810ccb55c9aad1df652e80e3ab7fe73c8efc2
|
| 3 |
+
size 572260488
|
run-d88b1ab5/merged/pytorch_model.bin.index.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87543edcd69d5b8f69517dfafb4aedcd3aeb3135b11ba69b5b29cca6d8f120f0
|
| 3 |
+
size 33961
|
run-d88b1ab5/merged/special_tokens_map.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aff38493227d813e29fcf8406e8e90062f1f031aa47d589325e9c31d89ac7cc3
|
| 3 |
+
size 587
|
run-d88b1ab5/merged/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34b79f0d31f6f599f8e661b176d506a5b4b3d1c29103e94a3e5d305622f15064
|
| 3 |
+
size 2113919
|
run-d88b1ab5/merged/tokenizer_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c7d20c4386d73569ecffbba7942b5d5bd68eb413f1276a283b5aaa8e3d6392e
|
| 3 |
+
size 4964
|