Downloads · 30 days
0
Nishef/SmolLM2-360M-Full_KTO_20251225_020028
SmolLM2-360M-Full_KTO_20251225_020028 is a text generation model from Nishef. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
<div align="center" <img src="thesisplots/benchmarkresults.png" alt="Benchmark Results" width="600"/ </div
Downloads · 30 days
0
Access
Public
Updated Jan 8, 2026
Repo size
16 MB
Likes
0
Public
Click a slice to open those files.
.safetensors13.1 MB · 63%
From the Hugging Face model README
This model is a LoRA Adapter fine-tuned from HuggingFaceTB/SmolLM2-360M using the Kto training method.
Kahneman-Tversky Optimization - Binary preference optimization based on Prospect Theory
This model was developed as part of thesis research on LLM Alignment using Preference Optimization Methods.
| Property | Value |
|---|---|
| Base Model | HuggingFaceTB/SmolLM2-360M |
| Training Method | Kto |
| Model Type | LoRA Adapter |
| Training Date | December 2025 |
| Framework | PyTorch + Transformers + PEFT |
| Benchmark | Score |
|---|---|
| HellaSwag (10-shot) | 0.394 |
| TruthfulQA (0-shot MC2) | 0.474 |
| MMLU-Mini (5-shot) | 0.254 |
The following chart compares this method against other training approaches on the same base model:

| Parameter | Value |
|---|---|
| Epochs | 1 |
| Batch Size | 2 |
| Gradient Accumulation | 8 |
| Effective Batch Size | 16 |
| Learning Rate | 2e-4 |
| Max Sequence Length | 512 |
| LoRA Rank | 16 |
| LoRA Alpha | 32 |
| Dataset | Combined Preference Dataset (HH-RLHF + SHP + OpenAssistant) |
Training uses a Combined Preference Dataset built via Round-Robin Sampling from three sources:
| Source | Total Samples | Interactions |
|---|---|---|
| Anthropic HH-RLHF | 321,600 | 61,568 |
| Stanford Human Preferences (SHP) | 697,436 | 38,984 |
| OpenAssistant Conversations v1 | 16,810 | 8,904 |
| Total | 1,035,846 | 109,456 |
Actual Training Statistics (subset split train_prefs[:32090]):
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
# Load base model
base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolLM2-360M")
tokenizer = AutoTokenizer.from_pretrained("HuggingFaceTB/SmolLM2-360M")
# Load adapter
model = PeftModel.from_pretrained(base_model, "Nishef/SmolLM2-360M-Full_KTO_20251225_020028")
# Generate text
inputs = tokenizer("Hello, how are you?", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0]))
Kahneman-Tversky Optimization - Binary preference optimization based on Prospect Theory
If you use this model in your research, please cite:
@misc{smollm2_360m_kto_2025,
title = {SmolLM2-360M Fine-tuned with Kto},
author = {Thesis Research},
year = {2025},
publisher = {HuggingFace},
url = {https://huggingface.co/Nishef/SmolLM2-360M-Full_KTO_20251225_020028}
}
.
├── adapter_config.json # LoRA configuration
├── adapter_model.safetensors # Model weights
├── tokenizer files # Tokenizer configuration
├── eval_summary.csv # Evaluation results
├── thesis_plots/ # Visualization assets
│ ├── benchmark_results.png
│ └── training_loss.png
└── README.md # This file
This model is released under the Apache 2.0 license.
This model was created as part of thesis research on LLM alignment using preference optimization methods.