Edit model card

Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-1.0.4-DPO

This model is a fine-tuned version of [Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged] on the dataset Weni/wenigpt-agent-dpo-1.0.0 with the DPO trainer. It is part of the WeniGPT project for Weni. Description: Experiment on DPO with other hyperparameters and best SFT model of WeniGPT

It achieves the following results on the evaluation set: {'eval_loss': 0.42961153388023376, 'eval_runtime': 8.5144, 'eval_samples_per_second': 3.289, 'eval_steps_per_second': 1.644, 'eval_rewards/chosen': 2.170013666152954, 'eval_rewards/rejected': -0.6894403696060181, 'eval_rewards/accuracies': 0.4285714328289032, 'eval_rewards/margins': 2.8594539165496826, 'eval_logps/rejected': -98.09535217285156, 'eval_logps/chosen': -47.96824264526367, 'eval_logits/rejected': -1.8433464765548706, 'eval_logits/chosen': -1.8190696239471436, 'epoch': 11.9}

Intended uses & limitations

This model has not been trained to avoid specific intructions.

Training procedure

Finetuning was done on the model Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged with the following prompt:

---------------------
System_prompt:
Agora você se chama {name}, você é {occupation} e seu objetivo é {chatbot_goal}. O adjetivo que mais define a sua personalidade é {adjective} e você se comporta da seguinte forma:
{instructions_formatted}

{context_statement}

Lista de requisitos:
 - Responda de forma natural, mas nunca fale sobre um assunto fora do contexto.
 - Nunca traga informações do seu próprio conhecimento.
 - Repito é crucial que você responda usando apenas informações do contexto.
 - Nunca mencione o contexto fornecido.
 - Nunca mencione a pergunta fornecida.
 - Gere a resposta mais útil possível para a pergunta usando informações do conexto acima.
 - Nunca elabore sobre o porque e como você fez a tarefa, apenas responda.


---------------------

Training hyperparameters

The following hyperparameters were used during training:

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

Training results

Framework versions

Hardware

  • Cloud provided: runpod.io
Downloads last month
0
Unable to determine this model’s pipeline type. Check the docs .

Finetuned from