Editing Models with Task Arithmetic
Paper โข 2212.04089 โข Published โข 9
Run Edens-Gate/Edens-Gate_Kyne-R2-22b-exl2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/Edens-Gate/Edens-Gate_Kyne-R2-22b-exl2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/Edens-Gate/Edens-Gate_Kyne-R2-22b-exl2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use Edens-Gate/Edens-Gate_Kyne-R2-22b-exl2 with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Edens-Gate/Edens-Gate_Kyne-R2-22b-exl2", device_map="auto")This is a merge of pre-trained language models created using mergekit.
This model was merged using the task arithmetic merge method using NewEden-Staging/Kyne-22b as a base.
The following models were included in the merge:
The following YAML configuration was used to produce this model:
models:
- model: TheDrummer/UnslopSmall-22B-v1
parameters:
density: 0.7
weight: 0.7
- model: nbeerbower/Mistral-Small-Gutenberg-Doppel-22B
parameters:
density: 0.3
weight: 0.3
merge_method: task_arithmetic
base_model: NewEden-Staging/Kyne-22b
parameters:
normalize: false
int8_mask: true
dtype: bfloat16