Model | Average | AGIEval | GPT4All | TruthfulQA | Bigbench |
---|---|---|---|---|---|
mlabonne/OmniTruthyBeagle-7B-v0 📄 | 57.8 | 45.72 | 77.49 | 76.16 | 50.18 |
mlabonne/NeuralOmniBeagle-7B-v2 📄 | 57.75 | 45.86 | 77.31 | 75.34 | 50.09 |
mlabonne/OmniBeagle-7B 📄 | 57.72 | 45.64 | 77.48 | 75.03 | 50.03 |
mlabonne/NeuralOmniBeagle-7B 📄 | 57.71 | 45.85 | 77.26 | 76.06 | 50.03 |
mlabonne/NeuralOmni-7B [📄](https://gist.github.com/mlabonne/4b5ecee86d0fd3714ba0cbd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from datetime import timedelta | |
from datasets import load_dataset | |
from txtai import LLM | |
from txtai.pipeline import Labels, HFTrainer | |
def prompt(text): | |
text = f""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example usage: | |
# python merge_peft.py --base_model=meta-llama/Llama-2-7b-hf --peft_model=./qlora-out --hub_id=alpaca-qlora | |
from transformers import AutoModelForCausalLM, AutoTokenizer | |
from peft import PeftModel | |
import torch | |
import argparse | |
def get_args(): |