This model is a
Merged Standalone Model fine-tuned from
Qwen/Qwen3-0.6B using
Enhanced KTO (Kahneman-Tversky Optimization) with authentic Prospect Theory components.
The BCO Shift code remains in the implementation for transparency and future research. We hypothesize that a staged training approach (enabling BCO after initial convergence) or component-specific gradient clipping may enable stable integration.
Training uses a Combined Preference Dataset built via Round-Robin Sampling from three sources:
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("Nishef/Qwen3-0.6B-Full_ENHANCED_KTO_20251225_162818")
4tokenizer = AutoTokenizer.from_pretrained("Nishef/Qwen3-0.6B-Full_ENHANCED_KTO_20251225_162818")
5
6# Generate text
7inputs = tokenizer("Hello, how are you?", return_tensors="pt")
8outputs = model.generate(**inputs, max_new_tokens=100)
9print(tokenizer.decode(outputs[0]))
Enhanced KTO extends the standard KTO algorithm by incorporating additional components from Kahneman and Tversky's Prospect Theory:
-
Value Function: Standard KTO treats gains and losses symmetrically. Enhanced KTO applies an asymmetric value function where losses are weighted approximately 2x more than equivalent gains, reflecting the psychological phenomenon of loss aversion.
-
Probability Weighting: Instead of using raw model probabilities, Enhanced KTO applies a non-linear weighting function that overweights small probabilities and underweights large ones, as observed in human decision-making.
-
Odds Ratio: Borrowing from ORPO, the odds ratio component provides reference-free preference modeling, reducing memory requirements while maintaining alignment quality.
1@misc{qwen3_0.6b_enhanced_kto_2025,
2 title = {Qwen3-0.6B Fine-tuned with Enhanced KTO},
3 author = {Thesis Research},
4 year = {2025},
5 publisher = {HuggingFace},
6 note = {BCO Shift implemented but disabled for stability},
7 url = {https://huggingface.co/Nishef/Qwen3-0.6B-Full_ENHANCED_KTO_20251225_162818}
8}