Instructions to use seoart/ARTART-v2 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 seoart/ARTART-v2 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 seoart/ARTART-v2:BF16 # Run inference directly in the terminal: llama cli -hf seoart/ARTART-v2:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf seoart/ARTART-v2:BF16 # Run inference directly in the terminal: llama cli -hf seoart/ARTART-v2:BF16
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 seoart/ARTART-v2:BF16 # Run inference directly in the terminal: ./llama-cli -hf seoart/ARTART-v2:BF16
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 seoart/ARTART-v2:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf seoart/ARTART-v2:BF16
Use Docker
docker model run hf.co/seoart/ARTART-v2:BF16
- LM Studio
- Jan
- Ollama
How to use seoart/ARTART-v2 with Ollama:
ollama run hf.co/seoart/ARTART-v2:BF16
- Unsloth Desktop
- Docker Model Runner
How to use seoart/ARTART-v2 with Docker Model Runner:
docker model run hf.co/seoart/ARTART-v2:BF16
- Lemonade
How to use seoart/ARTART-v2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull seoart/ARTART-v2:BF16
Run and chat with the model
lemonade run user.ARTART-v2-BF16
List all available models
lemonade list
- Atomic Chat
| {{ bos_token }}{%- macro strip_thinking(text) -%} | |
| {%- set ns = namespace(result='') -%} | |
| {%- for part in text.split('<channel|>') -%} | |
| {%- if '<|channel>' in part -%} | |
| {%- set ns.result = ns.result + part.split('<|channel>')[0] -%} | |
| {%- else -%} | |
| {%- set ns.result = ns.result + part -%} | |
| {%- endif -%} | |
| {%- endfor -%} | |
| {{- ns.result | trim -}} | |
| {%- endmacro -%} | |
| {%- set thinking = enable_thinking is defined and enable_thinking -%} | |
| {%- set loop_messages = messages -%} | |
| {%- if messages[0]['role'] in ['system', 'developer'] or thinking -%} | |
| {{ '<|turn>system | |
| ' }} | |
| {%- if thinking -%} | |
| {{ '<|think|> | |
| ' }} | |
| {%- endif -%} | |
| {%- if messages[0]['role'] in ['system', 'developer'] -%} | |
| {{ messages[0]['content'] | trim }} | |
| {%- set loop_messages = messages[1:] -%} | |
| {%- endif -%} | |
| {{ '<turn|> | |
| ' }} | |
| {%- endif -%} | |
| {%- for message in loop_messages -%} | |
| {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%} | |
| {{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }} | |
| {%- endif -%} | |
| {%- if (message['role'] == 'assistant') -%} | |
| {%- set role = "model" -%} | |
| {%- else -%} | |
| {%- set role = message['role'] -%} | |
| {%- endif -%} | |
| {{ '<|turn>' + role + ' | |
| ' }} | |
| {%- if message['content'] is string -%} | |
| {%- if role == "model" -%} | |
| {{ strip_thinking(message['content']) }} | |
| {%- else -%} | |
| {{ message['content'] | trim }} | |
| {%- endif -%} | |
| {%- elif message['content'] is iterable -%} | |
| {%- for item in message['content'] -%} | |
| {%- if item['type'] == 'audio' -%} | |
| {{ '<|audio|>' }} | |
| {%- elif item['type'] == 'image' -%} | |
| {{ '<|image|>' }} | |
| {%- elif item['type'] == 'video' -%} | |
| {{ '<|video|>' }} | |
| {%- elif item['type'] == 'text' -%} | |
| {%- if role == "model" -%} | |
| {{ strip_thinking(item['text']) }} | |
| {%- else -%} | |
| {{ item['text'] | trim }} | |
| {%- endif -%} | |
| {%- endif -%} | |
| {%- endfor -%} | |
| {%- else -%} | |
| {{ raise_exception("Invalid content type") }} | |
| {%- endif -%} | |
| {{ '<turn|> | |
| ' }} | |
| {%- endfor -%} | |
| {%- if add_generation_prompt -%} | |
| {{'<|turn>model | |
| '}} | |
| {%- endif -%} | |