Edit model card

Weni/WeniGPT-2.8.1-Zephyr-7B-zephyr-prompt-binarized

This model is a fine-tuned version of [Weni/WeniGPT-2.2.3-Zephyr-7B-merged-LLM_Base_2.0.3_SFT] on the dataset HuggingFaceH4/ultrafeedback_binarized with the DPO trainer. It is part of the WeniGPT project for Weni.

It achieves the following results on the evaluation set: {'eval_loss': 1.9671216011047363, 'eval_runtime': 94.0811, 'eval_samples_per_second': 2.126, 'eval_steps_per_second': 0.531, 'eval_rewards/chosen': 16.395244598388672, 'eval_rewards/rejected': 11.052546501159668, 'eval_rewards/accuracies': 0.5299999713897705, 'eval_rewards/margins': 5.342697620391846, 'eval_logps/rejected': -302.33038330078125, 'eval_logps/chosen': -315.1849365234375, 'eval_logits/rejected': -2.665374517440796, 'eval_logits/chosen': -2.6737234592437744, 'epoch': 1.0}

Intended uses & limitations

This model has not been trained to avoid specific intructions.

Training procedure

Finetuning was done on the model Weni/WeniGPT-2.2.3-Zephyr-7B-merged-LLM_Base_2.0.3_SFT with the following prompt:

Prompt:
<|user|>{prompt}</s>


Chosen:
<|assistant|>{chosen}</s>


Rejected:
<|assistant|>{rejected}</s>

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.0002
  • per_device_train_batch_size: 4
  • per_device_eval_batch_size: 4
  • gradient_accumulation_steps: 4
  • num_gpus: 1
  • total_train_batch_size: 16
  • optimizer: AdamW
  • lr_scheduler_type: cosine
  • num_steps: 112
  • quantization_type: bitsandbytes
  • LoRA: ("\n - bits: 4\n - use_exllama: True\n - device_map: auto\n - use_cache: False\n - lora_r: 16\n - lora_alpha: 16\n - lora_dropout: 0.05\n - bias: none\n - target_modules: ['q_proj', 'k_proj', 'v_proj', 'o_proj']\n - task_type: CAUSAL_LM",)

Training results

Framework versions

Hardware

  • Cloud provided: runpod.io
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference API
Unable to determine this model’s pipeline type. Check the docs .

Model tree for Weni/WeniGPT-2.8.1-Zephyr-7B-zephyr-prompt-binarized

Space using Weni/WeniGPT-2.8.1-Zephyr-7B-zephyr-prompt-binarized 1