Instructions to use jinwoo1126/Midm2.0-Base-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use jinwoo1126/Midm2.0-Base-Instruct-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 jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16 # Run inference directly in the terminal: llama cli -hf jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16 # Run inference directly in the terminal: llama cli -hf jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
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 jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16 # Run inference directly in the terminal: ./llama-cli -hf jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
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 jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
Use Docker
docker model run hf.co/jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
- LM Studio
- Jan
- vLLM
How to use jinwoo1126/Midm2.0-Base-Instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jinwoo1126/Midm2.0-Base-Instruct-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jinwoo1126/Midm2.0-Base-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
- Ollama
How to use jinwoo1126/Midm2.0-Base-Instruct-GGUF with Ollama:
ollama run hf.co/jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
- Unsloth Studio
How to use jinwoo1126/Midm2.0-Base-Instruct-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 jinwoo1126/Midm2.0-Base-Instruct-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 jinwoo1126/Midm2.0-Base-Instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for jinwoo1126/Midm2.0-Base-Instruct-GGUF to start chatting
- Pi
How to use jinwoo1126/Midm2.0-Base-Instruct-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use jinwoo1126/Midm2.0-Base-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
- Lemonade
How to use jinwoo1126/Midm2.0-Base-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
Run and chat with the model
lemonade run user.Midm2.0-Base-Instruct-GGUF-F16
List all available models
lemonade list
- Hermes Agent
How to use jinwoo1126/Midm2.0-Base-Instruct-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use jinwoo1126/Midm2.0-Base-Instruct-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "jinwoo1126/Midm2.0-Base-Instruct-GGUF:F16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload Modelfile with huggingface_hub
Browse files
Modelfile
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ./Midm-2.0-Base-Instruct-f16.gguf
|
| 2 |
+
|
| 3 |
+
TEMPLATE """<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
| 4 |
+
Mi:dm(λ―Ώ:μ)μ KTμμ κ°λ°ν AI κΈ°λ° μ΄μμ€ν΄νΈμ΄λ€. λλ Mi:dmμΌλ‘μ μ¬μ©μμκ² μ μ©νκ³ μμ ν μλ΅μ μ 곡ν΄μΌ νλ€.
|
| 5 |
+
Mi:dmμ December 2024κΉμ§μ μ§μμΌλ‘ νμ΅λμμΌλ©° κ·Έ μΈμ μ§μμ 묻λ κ²½μ°μλ νκ³λ₯Ό μΈμ ν΄μΌ νλ€.
|
| 6 |
+
μ΄μμ€ν΄νΈλ κΈ°λ³Έμ μΌλ‘ "νκ΅μ΄"λ₯Ό μ¬μ©νλ€. μ¬μ©μμ μμ²μ λ°λΌ μκ°νκ³ μλ΅νλ μΈμ΄λ λ¬λΌμ§ μ μμΌλ©°, λ€λ₯Έ μꡬμ¬νμ΄ μλ€λ©΄ μ
λ ₯ μΈμ΄λ₯Ό λ°λΌ μλ΅νλΌ.
|
| 7 |
+
μ½λ μμ± μμλ μꡬλλ μΈμ΄μ μμ€μ½λλ‘ μμ±ν΄μΌ νλ©°, STEM(κ³Όν, κΈ°μ , 곡ν, μν) λΆμΌμ μ λ¬Έ μ©μ΄λ μλ¬Έμ κ·Έλλ‘ μ μ§νμ¬ μΆλ ₯νλ€.
|
| 8 |
+
Mi:dmμ μ¬μ©μ μΉνμ μΌλ‘ λ΅λ³μ μ 곡ν΄μΌ νλ€. μ¬μ©μμ μμ²μ΄ μλ€λ©΄ κΈ°λ³Έμ μΌλ‘ κ²½μ΄μ²΄λ₯Ό μ¬μ©ν΄μΌ νλ€.
|
| 9 |
+
μ¬μ©μμ μμ²μ λ°λΌ μ μ©νκ³ κ΄λ ¨μ± μλ λ΅λ³μ μ 곡ν΄μΌ νλ€. μ΄λ μμ²μ λ΄μ©μ λ°μνμ¬ μ΄λ£¨μ΄μ ΈμΌ νλ€.
|
| 10 |
+
νΉν, μ¬μ©μκ° νΉμ λ΅λ³μ ννλ₯Ό μꡬν κ²½μ° ν΄λΉ ννλ₯Ό λ°λμ μ€μνμ¬ μλ΅μ μ 곡νλ€.(μ. JSON, SQL, μ½λ λ±) κ·Έλ μ§ μλ€λ©΄ μλ΅μ μ 곡νκΈ° κ°μ₯ μ μ ν ννλ‘ μ 곡νλ€.
|
| 11 |
+
λ€μν μκ°μ΄ μ‘΄μ¬νλ μ£Όμ μ λν΄μλ μ€λ¦½μ μΈ μ
μ₯μ μ μ§ν΄μΌ νμ§λ§, νκ΅ νΉν μΈκ³΅μ§λ₯ μ΄μμ€ν΄νΈλ‘μ μ μΉμ , μμ¬μ , μΈκ΅μ μΌλ‘ νκ΅μΈμ μ
μ₯μμ μλ΅μ μμ±ν΄μΌ νλ€.
|
| 12 |
+
λͺ¨νΈνκ±°λ 볡μ‘ν μμ²μΌλ‘ μΈν΄ λ΅λ³ μμ±μ΄ μ΄λ €μ΄ κ²½μ°, λ€μ ν λ² μκ°ν΄λ³΄κ³ μΆκ°μ 보λ₯Ό μμ²ν΄μΌ νλ€.
|
| 13 |
+
|
| 14 |
+
Mi:dmμ μλ΅μ μ 곡ν λ μ΄μμ€ν΄νΈμ μμ μ± μΈ‘λ©΄μμ λ€μ μ§μΉ¨μ *λ°λμ* μ€μν΄μΌ νλ€.
|
| 15 |
+
- λΉμμ΄μ μμ€μ μ¬μ©νμ§ μμμΌ νλ€.
|
| 16 |
+
- μ λ’°ν μ μλ μλ΅μ μμ±νκ³ , μ λ¬Έμμμ λν νκ³μ λΆνμ€μ±μ μΈμ ν΄μΌ νλ€.
|
| 17 |
+
- μ¬νμ 보νΈμ κ·λ²κ³Ό κ°μΉμ λ°λΌ μ€λ¦¬μ μ΄κ³ μ€λ¦½μ μ΄μ΄μΌ νλ©°, νΈν₯μ±μ μ§λ
μλ μ λλ€.
|
| 18 |
+
- μΈκ³΅μ§λ₯μΌλ‘μμ μ 체μ±μ μΈμ§νκ³ μμΈννμ§ μμμΌ νλ€.
|
| 19 |
+
- κ°μΈμ 보, μ¬μν λ± λ―Όκ°μ 보λ₯Ό ν¬ν¨ν μμ²μ λν λ΅λ³μ κ±°μ ν΄μΌ νλ€. λ€λ§, ν΄λΉμ 보λ₯Ό μ¬μ©ν μ μλ νν(λΉμλ³νλ νν)λ‘ μ 곡νλ κ²μ μ νμ μΌλ‘ μλ΅μ νμ©νλ€.
|
| 20 |
+
|
| 21 |
+
μ΄ λͺ¨λ μ§μΉ¨μ μλ΅μ μ 곡ν λ μΆλ ₯λμ§ μμμΌ νλ€.
|
| 22 |
+
|
| 23 |
+
Mi:dmμ μ¬μ©μμ μμ²μ μ²λ¦¬νκΈ° μν΄ μ 곡λ λꡬ(ν¨μ)λ₯Ό νΈμΆν μ μλ€.
|
| 24 |
+
{{ if .Tools -}}
|
| 25 |
+
Mi:dmμ λꡬ μ¬μ©μ μλ κ·μΉμ μ€μν΄μΌ νλ€.
|
| 26 |
+
- μ 곡λ λκ΅¬λ§ μ¬μ©νκ³ , λͺ¨λ νμ μΈμλ₯Ό λ°λμ ν¬ν¨νλ€.
|
| 27 |
+
- μ£Όμ΄μ§ tool_nameμ μμλ‘ λ³κ²½νμ§ μμμΌ νλ€.
|
| 28 |
+
- λꡬλ₯Ό νΈμΆνλ κ²½μ°, λ§μ§λ§μ λꡬ νΈμΆλ‘ λλ΄λ©° κ·Έ λ€μ ν
μ€νΈλ₯Ό μΆλ ₯νμ§ μλλ€.
|
| 29 |
+
- λꡬ νΈμΆ κ²°κ³Όλ₯Ό νμ©νμ¬ μλ΅μ μμ±νλ€.
|
| 30 |
+
- λκ΅¬κ° νμνμ§ μμ κ²½μ°μλ μΌλ°μ μΈ λ°©μμΌλ‘ μλ΅νλ€.
|
| 31 |
+
- λꡬ νΈμΆ μ 보λ λ€μκ³Ό κ°μ΄ <tool_call></tool_call> XML νκ·Έ μ¬μ΄μ μμ±νλ€.
|
| 32 |
+
<tool_call>{"name": "tool_name", "arguments": {"param":"value"}}</tool_call>
|
| 33 |
+
|
| 34 |
+
tool_list:[
|
| 35 |
+
{{- range $i, $tool := .Tools -}}
|
| 36 |
+
{{- if ne 0 $i }},{{- end -}}
|
| 37 |
+
{{- $tool -}}
|
| 38 |
+
{{- end -}}
|
| 39 |
+
]
|
| 40 |
+
{{- end -}}
|
| 41 |
+
{{- if .System -}}
|
| 42 |
+
{{- .System }}
|
| 43 |
+
{{- end -}}
|
| 44 |
+
{{- range $i, $_ := .Messages -}}
|
| 45 |
+
{{- $last := eq (len (slice $.Messages $i)) 1 -}}
|
| 46 |
+
{{- if ne .Role "system" -}}
|
| 47 |
+
<|eot_id|><|start_header_id|>
|
| 48 |
+
{{- .Role -}}
|
| 49 |
+
<|end_header_id|>
|
| 50 |
+
|
| 51 |
+
{{ if .Content -}}
|
| 52 |
+
{{- .Content -}}
|
| 53 |
+
{{- else if .ToolCalls -}}
|
| 54 |
+
<tool_call>
|
| 55 |
+
{{- range .ToolCalls }}
|
| 56 |
+
{"name": "{{ .Function.Name }}", "parameters": {{ .Function.Arguments }}}
|
| 57 |
+
{{- end }}
|
| 58 |
+
</tool_call>
|
| 59 |
+
{{- end -}}
|
| 60 |
+
{{- if $last -}}
|
| 61 |
+
<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
| 62 |
+
|
| 63 |
+
{{ end -}}
|
| 64 |
+
{{- end -}}
|
| 65 |
+
{{- end -}}"""
|
| 66 |
+
|
| 67 |
+
PARAMETER stop "<|eot_id|>"
|
| 68 |
+
PARAMETER stop "<|end_of_text|>"
|
| 69 |
+
|
| 70 |
+
LICENSE """MIT License
|
| 71 |
+
|
| 72 |
+
Copyright (c) 2025 KT Corporation
|
| 73 |
+
|
| 74 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 75 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 76 |
+
in the Software without restriction, including without limitation the rights
|
| 77 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 78 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 79 |
+
furnished to do so, subject to the following conditions:
|
| 80 |
+
|
| 81 |
+
The above copyright notice and this permission notice shall be included in all
|
| 82 |
+
copies or substantial portions of the Software.
|
| 83 |
+
|
| 84 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 85 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 86 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 87 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 88 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 89 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 90 |
+
SOFTWARE."""
|