QuantFactory / gemma-2-9b-it-SimPO-GGUF-v2

huggingface.co
Total runs: 877
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: July 21 2024

Introduction of gemma-2-9b-it-SimPO-GGUF-v2

Model Details of gemma-2-9b-it-SimPO-GGUF-v2

QuantFactory/gemma-2-9b-it-SimPO-GGUF

This is quantized version of princeton-nlp/gemma-2-9b-it-SimPO created using llama.cpp

Original Model Card

gemma-2-9b-it-SimPO Model Card

SimPO (Simple Preference Optimization) is an offline preference optimization algorithm designed to enhance the training of large language models (LLMs) with preference optimization datasets. SimPO aligns the reward function with the generation likelihood, eliminating the need for a reference model and incorporating a target reward margin to boost performance. Please refer to our preprint and github repo for more details.

Model Details
Model Description

We fine-tuned google/gemma-2-9b-it on princeton-nlp/gemma2-ultrafeedback-armorm with the SimPO objective.

  • Developed by: Yu Meng, Mengzhou Xia, Danqi Chen
  • Model type: Causal Language Model
  • License: gemma
  • Finetuned from model: google/gemma-2-9b-it
Model Sources
How to Get Started with the Model
import torch
from transformers import pipeline

model_id = "princeton-nlp/gemma-2-9b-it-SimPO"

generator = pipeline(
    "text-generation",
    model=model_id,
    model_kwargs={"torch_dtype": torch.bfloat16},
    device="cuda",
)
outputs = generator([{"role": "user", "content": "What's the difference between llamas and alpacas?"}], do_sample=False, max_new_tokens=200)
print(outputs[0]['generated_text'])
Training Details
Training Data

We use princeton-nlp/gemma2-ultrafeedback-armorm as the preference optimization dataset.

Training Hyperparameters

The hyperparameters used can be found in the training script .

Speeds, Sizes, Times

Fine-tuning the google/gemma-2-9b-it on princeton-nlp/gemma2-ultrafeedback-armorm takes around 100 mins to finish on 8xH100 GPUs.

Evaluation Results
models AE2 LC AE2 WR AE2 Length AH AH Length GSM GSM Length MMLU MMLU Length
google/gemma-2-9b-it 51.1 38.1 1571 40.8 545 87.4 395 72.7 515
princeton-nlp/gemma-2-9b-it-DPO 67.8 65.4 2016 58.9 717 88.5 392 72.2 624
princeton-nlp/gemma-2-9b-it-SimPO 72.4 65.9 1833 59.1 693 88.0 341 72.2 441
Technical Specifications
Model Architecture and Objective

The model architecture is based on google/gemma-2-9b-it . We use the SimPO training objective proposed in our preprint .

Hardware

We used 8xH100 GPUs for model training.

Software

Training was done using the alignment-handbook library.

Citation

gemma model:

@article{gemma_2024,
    title={Gemma},
    url={https://www.kaggle.com/m/3301},
    DOI={10.34740/KAGGLE/M/3301},
    publisher={Kaggle},
    author={Gemma Team},
    year={2024}
}

SimPO paper:

@article{meng2024simpo,
  title={{SimPO}: Simple preference optimization with a reference-free reward},
  author={Meng, Yu and Xia, Mengzhou and Chen, Danqi},
  journal={arXiv preprint arXiv:2405.14734},
  year={2024}
}

UltraFeedback paper:

@article{cui2023ultrafeedback,
  title={{UltraFeedback}: Boosting language models with high-quality feedback},
  author={Cui, Ganqu and Yuan, Lifan and Ding, Ning and Yao, Guanming and Zhu, Wei and Ni, Yuan and Xie, Guotong and Liu, Zhiyuan and Sun, Maosong},
  journal={arXiv preprint arXiv:2310.01377},
  year={2023}
}

ArmoRM paper:

@article{wang2024interpretable,
  title={Interpretable Preferences via Multi-Objective Reward Modeling and Mixture-of-Experts},
  author={Wang, Haoxiang and Xiong, Wei and Xie, Tengyang and Zhao, Han and Zhang, Tong},
  journal={arXiv preprint arXiv:2406.12845},
  year={2024}
}

Runs of QuantFactory gemma-2-9b-it-SimPO-GGUF-v2 on huggingface.co

877
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About gemma-2-9b-it-SimPO-GGUF-v2 huggingface.co Model

More gemma-2-9b-it-SimPO-GGUF-v2 license Visit here:

https://choosealicense.com/licenses/mit

gemma-2-9b-it-SimPO-GGUF-v2 huggingface.co

gemma-2-9b-it-SimPO-GGUF-v2 huggingface.co is an AI model on huggingface.co that provides gemma-2-9b-it-SimPO-GGUF-v2's model effect (), which can be used instantly with this QuantFactory gemma-2-9b-it-SimPO-GGUF-v2 model. huggingface.co supports a free trial of the gemma-2-9b-it-SimPO-GGUF-v2 model, and also provides paid use of the gemma-2-9b-it-SimPO-GGUF-v2. Support call gemma-2-9b-it-SimPO-GGUF-v2 model through api, including Node.js, Python, http.

gemma-2-9b-it-SimPO-GGUF-v2 huggingface.co Url

https://huggingface.co/QuantFactory/gemma-2-9b-it-SimPO-GGUF-v2

QuantFactory gemma-2-9b-it-SimPO-GGUF-v2 online free

gemma-2-9b-it-SimPO-GGUF-v2 huggingface.co is an online trial and call api platform, which integrates gemma-2-9b-it-SimPO-GGUF-v2's modeling effects, including api services, and provides a free online trial of gemma-2-9b-it-SimPO-GGUF-v2, you can try gemma-2-9b-it-SimPO-GGUF-v2 online for free by clicking the link below.

QuantFactory gemma-2-9b-it-SimPO-GGUF-v2 online free url in huggingface.co:

https://huggingface.co/QuantFactory/gemma-2-9b-it-SimPO-GGUF-v2

gemma-2-9b-it-SimPO-GGUF-v2 install

gemma-2-9b-it-SimPO-GGUF-v2 is an open source model from GitHub that offers a free installation service, and any user can find gemma-2-9b-it-SimPO-GGUF-v2 on GitHub to install. At the same time, huggingface.co provides the effect of gemma-2-9b-it-SimPO-GGUF-v2 install, users can directly use gemma-2-9b-it-SimPO-GGUF-v2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

gemma-2-9b-it-SimPO-GGUF-v2 install url in huggingface.co:

https://huggingface.co/QuantFactory/gemma-2-9b-it-SimPO-GGUF-v2

Url of gemma-2-9b-it-SimPO-GGUF-v2

gemma-2-9b-it-SimPO-GGUF-v2 huggingface.co Url

Provider of gemma-2-9b-it-SimPO-GGUF-v2 huggingface.co

QuantFactory
ORGANIZATIONS

Other API from QuantFactory