Skip to content

KhaledSharif/corpo-llama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

corpo-llama

corporate llama

ORPO (Odds Ratio Preference Optimization) is a novel and innovative fine-tuning technique in machine learning that combines the standard supervised fine-tuning and preference alignment stages into a single procedure. This repository helps users fine-tune Llama-3-8B models using various configurations.


An odds ratio (OR) is a statistic that quantifies the strength of an association between two events. It represents the odds of one event occurring given another exposure compared to the odds of the first event happening in the absence of the second exposure.

Odds ratios can be used to express how much more likely it is for an event to occur under different conditions, making them useful tools for comparing risks across different situations.

In machine learning and natural language processing, odds ratio statistics are employed as a means to optimize model performance by analyzing the relationship between input features and output predictions. In ORPO specifically, odds ratios help guide the optimization process during fine-tuning stages, leading to more efficient training procedures.

About

fine-tune llama3 models using ORPO

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages