Run this model with HF Jobs

Run InferenceIllusionist/Excalibur-7b-DPO 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/InferenceIllusionist/Excalibur-7b-DPO. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs and Transformers to run batch inference with https://huggingface.co/InferenceIllusionist/Excalibur-7b-DPO on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the predictions back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs and Lighteval to evaluate https://huggingface.co/InferenceIllusionist/Excalibur-7b-DPO. 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/InferenceIllusionist/Excalibur-7b-DPO with Transformers and bitsandbytes. 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.

Excalibur-7b-DPO

An initial foray into the world of fine-tuning. The goal of this release was to amplify the quality of the original model's responses, in particular for vision use cases*

Weighted (Importance Matrix) Quants available here

Static (Legacy) quants available here

Notes & Methodology

  • Excalibur-7b fine-tuned with Direct Preference Optimization (DPO) using Intel/orca_dpo_pairs
  • This is a quick experiment to determine the impact of DPO finetuning on the Excelsior-7b base model
  • Ran for a little over an hour on a single A100
  • Fine-tuning succeeded in making model conversational and more well-rounded
  • Benchmark scores increased in the following categories versus base Excelsior-7b:
    • ARC: 69.71 -> 70.9
    • HellaSwag: 87.56 -> 87.93
    • TruthfulQA: 67.24 -> 70.82
    • Average: 73.6 -> 73.84
  • Precision: bfloat16

Sample Question - Vision

*Requires additional mmproj file. You have two options for vision functionality (available inside this repo):

Select the gguf file of your choice in Koboldcpp as usual, then make sure to choose the mmproj file above in the LLaVA mmproj field of the model submenu:

Prompt Format

  • For best results please use ChatML for the prompt format. Alpaca may also work.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 73.84
AI2 Reasoning Challenge (25-Shot) 70.90
HellaSwag (10-Shot) 87.93
MMLU (5-Shot) 65.46
TruthfulQA (0-shot) 70.82
Winogrande (5-shot) 82.48
GSM8k (5-shot) 65.43
Downloads last month
63
Safetensors
Model size
7B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for InferenceIllusionist/Excalibur-7b-DPO

Finetuned
(1)
this model
Finetunes
1 model
Merges
4 models
Quantizations
6 models

Dataset used to train InferenceIllusionist/Excalibur-7b-DPO

Collection including InferenceIllusionist/Excalibur-7b-DPO

Evaluation results