Text Generation
PEFT
Safetensors
English
ocr
post-ocr-correction
historical-documents
historical-newspapers
hipe-ocrepair-2026
overproof
lora
conversational
Instructions to use emanuelaboros/qwen2-5-3b-overproof-postcorrection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use emanuelaboros/qwen2-5-3b-overproof-postcorrection with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct") model = PeftModel.from_pretrained(base_model, "emanuelaboros/qwen2-5-3b-overproof-postcorrection") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from emanuelaboros/qwen2-5-3b-overproof-postcorrection: direct link, hf CLI and curl.
- Browser
- Download file 1.49 kB
-
https://huggingface.co/emanuelaboros/qwen2-5-3b-overproof-postcorrection/resolve/2bb6a346bcf5c16f9145f4041087f0900a220437/README.md
- Command line
-
hf download hf://emanuelaboros/qwen2-5-3b-overproof-postcorrection@2bb6a346bcf5c16f9145f4041087f0900a220437/README.md
-
curl -L -o README.md https://huggingface.co/emanuelaboros/qwen2-5-3b-overproof-postcorrection/resolve/2bb6a346bcf5c16f9145f4041087f0900a220437/README.md
1.49 kB
metadata
base_model: Qwen/Qwen2.5-3B-Instruct
library_name: transformers
model_name: qwen2-5-3b-overproof-postcorrection
tags:
- generated_from_trainer
- sft
- trl
- hf_jobs
licence: license
Model Card for qwen2-5-3b-overproof-postcorrection
This model is a fine-tuned version of Qwen/Qwen2.5-3B-Instruct. It has been trained using TRL.
Quick start
from transformers import pipeline
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
generator = pipeline("text-generation", model="emanuelaboros/qwen2-5-3b-overproof-postcorrection", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
Training procedure
This model was trained with SFT.
Framework versions
- TRL: 1.7.0
- Transformers: 5.12.1
- Pytorch: 2.12.1
- Datasets: 5.0.0
- Tokenizers: 0.22.2
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}
}