Downloads · 30 days
4
10% of all-time downloads
kunjcr2/stablelm-1.6b-finetuned-aligned
stablelm-1.6b-finetuned-aligned is a text generation model from kunjcr2. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
This repository contains a LoRA-based aligned variant of StableLM-2-1.6B, trained through a complete post-pretraining pipeline consisting of Supervised Fine-Tuning (SFT) followed by GRPO-based alignment.
Downloads · 30 days
4
10% of all-time downloads
All-time downloads
40
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.safetensors1.8 GB · 99%
From the Hugging Face model README
This repository contains a LoRA-based aligned variant of StableLM-2-1.6B, trained through a complete post-pretraining pipeline consisting of Supervised Fine-Tuning (SFT) followed by GRPO-based alignment.
This is a learning / portfolio model demonstrating end-to-end post-pretraining, not a production-ready system.
stabilityai/stablelm-2-1_6b⚠️ Important:
This repository contains LoRA adapter weights only (adapter_model.safetensors).
You must load it on top of the base StableLM model.
Base StableLM-2-1.6B
│
▼
Supervised Fine-Tuning (LoRA, UltraChat)
│
▼
GRPO Alignment (Reward-guided, PKU-SafeRLHF)
│
▼
Aligned LoRA Adapter (this repo)
Objective: Instruction-following capability
Method: LoRA-based fine-tuning
Dataset: HuggingFaceH4/ultrachat_200k
LoRA configuration:
OpenAssistant/reward-model-deberta-v3-largePKU-Alignment/PKU-SafeRLHFThe following metrics were tracked during GRPO alignment:
Github: https://github.com/kunjcr2/end-to-end-post-pretraining
📊 Weights & Biases run:



https://wandb.ai/kunjcr2-dreamable/huggingface/runs/qds5kqi2?nw=nwuserkunjcr2
This model cannot be loaded standalone.
from transformers import AutoModelForCausalLM
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained(
"stabilityai/stablelm-2-1_6b",
trust_remote_code=True
)
model = PeftModel.from_pretrained(
base_model,
"kunjcr2/stablelm-1.6b-finetuned-aligned"
)
The tokenizer included in this repository should be used to ensure consistency with training.
If you reference this work, please cite the base model and datasets:
Apache 2.0. See the LICENSE file for details.