allenai / llama-3-tulu-2-dpo-8b

huggingface.co
Total runs: 59
24-hour runs: 0
7-day runs: -12
30-day runs: -757
Model's Last Updated: Agosto 09 2024
text-generation

Introduction of llama-3-tulu-2-dpo-8b

Model Details of llama-3-tulu-2-dpo-8b

TuluV2 banner

Model Card for Llama 3 Tulu V2+DPO 8B

Tulu is a series of language models that are trained to act as helpful assistants. Llama 3 Tulu V2 8B is a fine-tuned version of Llama 3 that was trained on a mix of publicly available, synthetic and human datasets. It was then further trained using DPO on the UltraFeedback dataset.

For more details on the training mixture, read the paper: Camels in a Changing Climate: Enhancing LM Adaptation with Tulu 2 .

Built with Meta Llama 3! Note that Llama 3 is released under the Meta Llama 3 community license, included here under llama_3_license.txt .

Model description
  • Model type: A model trained on a mix of publicly available, synthetic and human-created datasets.
  • Language(s) (NLP): Primarily English
  • License: Apache 2.0
  • Finetuned from model: meta-llama/Meta-Llama-3-8B
Model Sources
Performance
Model MMLU 5-shot GSM8k 8-shot cot BBH 3-shot cot TydiQA 1-shot Gold Passage Codex HumanEval Pass@10 AlpacaEval 1 AlpacaEval 2 LC TruthfulQA %Info+True IFEval loose acc XSTest safe but ref. XSTest unsafe but follow Average
Llama 3 8b base 0.649 0.565 0.653 66.80 0.664 - - 0.299 0.146 0.200 0.390 54.36
Llama 3 8b instruct 0.626 0.770 0.606 59.04 0.799 94.65 23.12 0.682 0.741 0.028 0.115 70.36
Llama 3 Tulu 2 8b 0.606 0.610 0.592 56.24 0.685 79.40 10.16 0.503 0.468 0.092 0.165 59.39
Llama 3 Tulu 2+DPO 8b (this model) 0.609 0.650 0.584 21.18 0.688 93.02 13.94 0.698 0.518 0.092 0.165 59.61
Llama 3 70b base 0.790 0.840 0.801 73.35 0.745 - - 0.469 0.163 0.256 0.330 65.60
Llama 3 70b instruct 0.786 0.930 0.801 59.21 0.908 96.71 39.99 0.701 0.828 0.060 0.140 79.22
Llama 3 Tulu 2 70b 0.752 0.845 0.779 69.798 0.861 86.007 17.51 0.646 0.591 0.108 0.130 73.01
Llama 3 Tulu 2+DPO 70b 0.754 0.860 0.785 23.443 0.878 96.65 27.34 0.780 0.643 0.080 0.140 71.60

We also release reward models based off Llama 3 8b and 70b respectively:

Input Format

The model is trained to use the following format (note the newlines):

<|user|>
Your message here!
<|assistant|>

For best results, format all inputs in this manner. Make sure to include a newline after <|assistant|> , this can affect generation quality quite a bit.

Intended uses & limitations

The model was initially fine-tuned on the Tulu V2 mix dataset , which contains a diverse range of human created instructions and synthetic dialogues generated primarily by other LLMs. We then further aligned the model with a Jax DPO trainer built on EasyLM on the openbmb/UltraFeedback dataset, which contains 64k prompts and model completions that are ranked by GPT-4.

Bias, Risks, and Limitations

The Tulu models have not been aligned to generate safe completions within the RLHF phase or deployed with in-the-loop filtering of responses like ChatGPT, so the model can produce problematic outputs (especially when prompted to do so). It is also unknown what the size and composition of the corpus was used to train the base Llama 3 models, however it is likely to have included a mix of Web data and technical sources like books and code. See the Falcon 180B model card for an example of this.

DPO Training hyperparameters

The following hyperparameters were used during DPO training:

  • learning_rate: 5e-7
  • total_train_batch_size: 32
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_ratio: 0.1
  • num_epochs: 3.0
Citation

If you find Tulu 2 is useful in your work, please cite it with:

@misc{ivison2023camels,
      title={Camels in a Changing Climate: Enhancing LM Adaptation with Tulu 2}, 
      author={Hamish Ivison and Yizhong Wang and Valentina Pyatkin and Nathan Lambert and Matthew Peters and Pradeep Dasigi and Joel Jang and David Wadden and Noah A. Smith and Iz Beltagy and Hannaneh Hajishirzi},
      year={2023},
      eprint={2311.10702},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

Model card adapted from Zephyr Beta

Runs of allenai llama-3-tulu-2-dpo-8b on huggingface.co

59
Total runs
0
24-hour runs
-5
3-day runs
-12
7-day runs
-757
30-day runs

More Information About llama-3-tulu-2-dpo-8b huggingface.co Model

More llama-3-tulu-2-dpo-8b license Visit here:

https://choosealicense.com/licenses/apache-2.0

llama-3-tulu-2-dpo-8b huggingface.co

llama-3-tulu-2-dpo-8b huggingface.co is an AI model on huggingface.co that provides llama-3-tulu-2-dpo-8b's model effect (), which can be used instantly with this allenai llama-3-tulu-2-dpo-8b model. huggingface.co supports a free trial of the llama-3-tulu-2-dpo-8b model, and also provides paid use of the llama-3-tulu-2-dpo-8b. Support call llama-3-tulu-2-dpo-8b model through api, including Node.js, Python, http.

llama-3-tulu-2-dpo-8b huggingface.co Url

https://huggingface.co/allenai/llama-3-tulu-2-dpo-8b

allenai llama-3-tulu-2-dpo-8b online free

llama-3-tulu-2-dpo-8b huggingface.co is an online trial and call api platform, which integrates llama-3-tulu-2-dpo-8b's modeling effects, including api services, and provides a free online trial of llama-3-tulu-2-dpo-8b, you can try llama-3-tulu-2-dpo-8b online for free by clicking the link below.

allenai llama-3-tulu-2-dpo-8b online free url in huggingface.co:

https://huggingface.co/allenai/llama-3-tulu-2-dpo-8b

llama-3-tulu-2-dpo-8b install

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

llama-3-tulu-2-dpo-8b install url in huggingface.co:

https://huggingface.co/allenai/llama-3-tulu-2-dpo-8b

Url of llama-3-tulu-2-dpo-8b

llama-3-tulu-2-dpo-8b huggingface.co Url

Provider of llama-3-tulu-2-dpo-8b huggingface.co

allenai
ORGANIZATIONS

Other API from allenai

huggingface.co

Total runs: 91.7K
Run Growth: 78.6K
Growth Rate: 85.70%
Updated: Octubre 18 2023
huggingface.co

Total runs: 77.3K
Run Growth: -517.1K
Growth Rate: -669.13%
Updated: Octubre 10 2024
huggingface.co

Total runs: 63.3K
Run Growth: 51.7K
Growth Rate: 81.63%
Updated: Octubre 10 2024
huggingface.co

Total runs: 61.6K
Run Growth: -50.5K
Growth Rate: -81.96%
Updated: Diciembre 04 2024
huggingface.co

Total runs: 23.0K
Run Growth: 7.7K
Growth Rate: 33.79%
Updated: Agosto 14 2024
huggingface.co

Total runs: 8.5K
Run Growth: 3.3K
Growth Rate: 36.78%
Updated: Julio 16 2024
huggingface.co

Total runs: 6.1K
Run Growth: -21.5K
Growth Rate: -354.06%
Updated: Julio 03 2024
huggingface.co

Total runs: 5.1K
Run Growth: -17.0K
Growth Rate: -321.48%
Updated: Julio 16 2024
huggingface.co

Total runs: 2.5K
Run Growth: -163
Growth Rate: -6.49%
Updated: Diciembre 04 2024
huggingface.co

Total runs: 1.7K
Run Growth: -110
Growth Rate: -6.43%
Updated: Julio 16 2024
huggingface.co

Total runs: 895
Run Growth: 878
Growth Rate: 98.10%
Updated: Enero 24 2023
huggingface.co

Total runs: 502
Run Growth: -100
Growth Rate: -21.23%
Updated: Enero 24 2023
huggingface.co

Total runs: 486
Run Growth: 256
Growth Rate: 52.67%
Updated: Febrero 12 2024
huggingface.co

Total runs: 374
Run Growth: 354
Growth Rate: 94.65%
Updated: Junio 13 2024
huggingface.co

Total runs: 313
Run Growth: -437
Growth Rate: -139.62%
Updated: Abril 30 2024
huggingface.co

Total runs: 297
Run Growth: 159
Growth Rate: 53.54%
Updated: Abril 19 2024