Run this model with HF Jobs

Run jeffmeloy/Qwen2.5-7B-olm-v1.0 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:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/jeffmeloy/Qwen2.5-7B-olm-v1.0. 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.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/jeffmeloy/Qwen2.5-7B-olm-v1.0 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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/jeffmeloy/Qwen2.5-7B-olm-v1.0. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/jeffmeloy/Qwen2.5-7B-olm-v1.0. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Model Description

Optimized Layer Merging (OLM) Is a transformer optimization framework implementing automated layer recombination.

Olm create Frankenstein's monster out of language models by cherry-picking the best performing layers across different models to create a superior hybrid. The core mechanism:

  • Takes multiple language models as input
  • Uses a base model as the foundation
  • Iteratively replaces individual layers, evaluating performance on specified datasets
  • Keeps the best performing layer at each position based on metrics like perplexity, exact match, and a custom "quality" score
  • Builds a fusion model layer-by-layer while maintaining or improving performance

https://github.com/jeffmeloy/olm

Downloads last month
58
Safetensors
Model size
8B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for jeffmeloy/Qwen2.5-7B-olm-v1.0

Base model

Qwen/Qwen2.5-7B
Finetuned
(963)
this model
Merges
8 models
Quantizations
2 models