Downloads · 30 days
25
26% of all-time downloads
uditjain/lori-qwen2.5-1.5b-code
lori-qwen2.5-1.5b-code is a text generation model from uditjain. 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 PEFT LoRA adapter trained by uditjain as part of the mewtwo research line on low-rank expert factorization and multi-domain adapter composition.
Downloads · 30 days
25
26% of all-time downloads
All-time downloads
95
Public
Repo size
148 MB
Likes
0
Public
Click a slice to open those files.
.safetensors148 MB · 100%
From the Hugging Face model README
This repository contains a PEFT LoRA adapter trained by uditjain as part of the mewtwo research line on low-rank expert factorization and multi-domain adapter composition.
The adapter was trained on top of Qwen/Qwen2.5-1.5B-Instruct using a custom LoRI-style procedure:
This release is the domain adapter artifact only. It is not a standalone model.
adapter_model.safetensors: adapter weightsadapter_config.json: PEFT adapter configurationartifacts/training_state.json: saved training configuration/state snapshotartifacts/training_log.json: summarized training logQwen/Qwen2.5-1.5B-Instructapache-2.0LORA3264q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_projProgramming help, implementation sketches, and code-focused chat on top of the Qwen2.5-1.5B-Instruct base model.
This adapter was trained from the prepared domain corpus in mewtwo/data/lori_moe.
20016504.2The training pipeline that prepared these datasets is documented in the mewtwo repository under src/lori_moe/data/prepare_datasets.py.
bnb_paged_adamw_8bit0.42422117.43 minutesfrom transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model_id = "Qwen/Qwen2.5-1.5B-Instruct"
adapter_id = "uditjain/lori-qwen2.5-1.5b-code"
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
base_model = AutoModelForCausalLM.from_pretrained(base_model_id)
model = PeftModel.from_pretrained(base_model, adapter_id)
This adapter belongs to a 5-domain family of LoRI-trained experts (math, code, science, legal, medical) explored in the mewtwo project as a successor direction to the earlier Synapta prompt-level composition work.
One family-level empirical result from the saved adapter weights is very low cross-domain overlap for the final Qwen/Qwen2.5-1.5B-Instruct expert set:
This supports the geometric motivation for the method, but it does not by itself prove superior end-to-end reasoning performance.
This release is intended to make the trained adapter artifact reproducible and reusable by others working on:
If you build on this work, please cite the future paper or link back to the original mewtwo research repository when available.