Editing Models with Task Arithmetic
Paper • 2212.04089 • Published • 8
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf Kquant03/Samlagast-7B-GGUF:# Run inference directly in the terminal:
llama-cli -hf Kquant03/Samlagast-7B-GGUF:# 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 Kquant03/Samlagast-7B-GGUF:# Run inference directly in the terminal:
./llama-cli -hf Kquant03/Samlagast-7B-GGUF: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 Kquant03/Samlagast-7B-GGUF:# Run inference directly in the terminal:
./build/bin/llama-cli -hf Kquant03/Samlagast-7B-GGUF:docker model run hf.co/Kquant03/Samlagast-7B-GGUF:This is a merge of pre-trained language models created using mergekit.
This model was merged using the task arithmetic merge method using paulml/NeuralOmniBeagleMBX-v3-7B as a base.
The following models were included in the merge:
The following YAML configuration was used to produce this model:
models:
- model: paulml/NeuralOmniWestBeaglake-7B
parameters:
weight: 1
- model: FelixChao/Faraday-7B
parameters:
weight: 1
- model: flemmingmiguel/MBX-7B-v3
parameters:
weight: 1
- model: paulml/NeuralOmniBeagleMBX-v3-7B
parameters:
weight: 1
merge_method: task_arithmetic
base_model: paulml/NeuralOmniBeagleMBX-v3-7B
parameters:
normalize: true
int8_mask: true
dtype: float16
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Install from brew
# Start a local OpenAI-compatible server with a web UI: llama-server -hf Kquant03/Samlagast-7B-GGUF:# Run inference directly in the terminal: llama-cli -hf Kquant03/Samlagast-7B-GGUF: