Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunch
Paper • 2311.03099 • Published • 33
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Jebadiah/Aria-CodeQwen-stone", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("Jebadiah/Aria-CodeQwen-stone", trust_remote_code=True)This is a merge of pre-trained language models created using mergekit.
This model was merged using the DARE TIES merge method using Jebadiah/Aria-7b-128k-v4 as a base.
The following models were included in the merge:
The following YAML configuration was used to produce this model:
models:
- model: Jebadiah/Aria-7b-128k-v4
# No parameters necessary for base model
- model: Qwen/CodeQwen1.5-7B-Chat
parameters:
density: 0.6
weight: 0.66
merge_method: dare_ties
base_model: Jebadiah/Aria-7b-128k-v4
parameters:
int8_mask: true
dtype: bfloat16
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Jebadiah/Aria-CodeQwen-stone", trust_remote_code=True)