Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunch
Paper • 2311.03099 • Published • 33
# Install vLLM from pip:
pip install vllm# Start the vLLM server:
vllm serve "utdanningno/noredu-llama3.1-it"# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "utdanningno/noredu-llama3.1-it",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/utdanningno/noredu-llama3.1-itThis is a merge of pre-trained language models created using mergekit.
This model was merged using the DARE TIES merge method using meta-llama/Meta-Llama-3.1-8B as a base.
The following models were included in the merge:
The following YAML configuration was used to produce this model:
models:
- model: MagnusSa/Llama-3.1-8B-UtdanningSNL-Instruct
parameters:
density: 0.53
weight: 0.4
- model: meta-llama/Meta-Llama-3.1-8B-Instruct
parameters:
density: 0.53
weight: 0.4
- model: meta-llama/Meta-Llama-3.1-8B
parameters:
density: 0.53
weight: 0.2
merge_method: dare_ties
base_model: meta-llama/Meta-Llama-3.1-8B
parameters:
normalize: true
int8_mask: true
dtype: float16
# Gated model: Login with a HF token with gated access permission hf auth login