Instructions to use LiberteEPFL/lfm25-1.2b-rm-lora-all-linear-r16-bigchat-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LiberteEPFL/lfm25-1.2b-rm-lora-all-linear-r16-bigchat-v2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("LiberteEPFL/lfm25-1.2b-rm-lora-all-linear-r16-bigchat-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model Card for lfm25-1.2b-rm-lora-all-linear-r16-bigchat-v2
This model is a fine-tuned version of LiberteEPFL/lfm25-1.2b-sft-bigchat-v2. It has been trained using TRL.
Quick start
from transformers import pipeline
text = "The capital of France is Paris."
rewarder = pipeline(model="LiberteEPFL/lfm25-1.2b-rm-lora-all-linear-r16-bigchat-v2", device="cuda")
output = rewarder(text)[0]
print(output["score"])
Training procedure
This model was trained with Reward.
Framework versions
- TRL: 1.3.0
- Transformers: 4.57.0
- Pytorch: 2.8.0+cu128
- Datasets: 4.8.5
- Tokenizers: 0.22.1
Citations
Cite TRL as:
@software{vonwerra2020trl,
title = {{TRL: Transformers Reinforcement Learning}},
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
license = {Apache-2.0},
url = {https://github.com/huggingface/trl},
year = {2020}
}
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for LiberteEPFL/lfm25-1.2b-rm-lora-all-linear-r16-bigchat-v2
Base model
LiquidAI/LFM2.5-1.2B-Base Finetuned
LiberteEPFL/lfm25-1.2b-sft-bigchat-v2