Text Generation
PEFT
Safetensors
Transformers
English
lora
sft
trl
πŸ‡ͺπŸ‡Ί Region: EU

Model Card for xlstm-7b-instruct-phase-2

This model is a fine-tuned version of ethicalabs/xLSTM-7b-Instruct for task alignment.

It has been trained using TRL using SFT on assistant-only tokens.

The k_proj and v_proj matrices have been frozen to isolate and preserve the model's pre-trained knowledge base.

This fine-tuning focused only on the q_proj (query) and FFN matrices, adapting the model's reasoning and query-retrieval mechanisms without overwriting its core, frozen knowledge.

This experiment was designed to test the hypothesis that the model's reasoning capabilities (q_proj) could be specialized for math/code while its knowledge (k_proj, v_proj) remained intact.

Quick start

Work in Progress!

Training procedure

Visualize in Weights & Biases

This model was trained with SFT.

Framework versions

  • PEFT 0.17.1
  • TRL: 0.24.0
  • Transformers: 4.57.1
  • Pytorch: 2.8.0+cu126
  • Datasets: 4.2.0
  • Tokenizers: 0.22.1

Citations

Cite TRL as:

@misc{vonwerra2022trl,
    title        = {{TRL: Transformer Reinforcement Learning}},
    author       = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
    year         = 2020,
    journal      = {GitHub repository},
    publisher    = {GitHub},
    howpublished = {\url{https://github.com/huggingface/trl}}
}
Downloads last month
69
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for ethicalabs/xLSTM-7b-Polymath-PEFT

Base model

NX-AI/xLSTM-7b
Adapter
(1)
this model

Datasets used to train ethicalabs/xLSTM-7b-Polymath-PEFT