Nyansapo Ocr Trocr LoRA v1 0 1
maxtargetlen reduced from 128 → 4 (root fix for hallucination) norepeatngramsize set to 0 (was hurting short outputs) lengthpenalty set to 1.0 (was 2.0 — was pushing model to generate more tokens)
Fonte do modelo
- Tipo
- LoRA
- Tamanho do arquivo
- 19,2 MB
- Modelo base
- microsoft/trocr-base-handwritten
- Versão
- vadapter_model
- Atualizado
- 18 de set. de 2026
- Downloads
- 2
- Fonte
- Hugging Face
Descrição da fonte
Nyansapo OCR — TrOCR LoRA v1.0.1
What changed from v1.0.0
max_target_lenreduced from 128 → 4 (root fix for hallucination)no_repeat_ngram_sizeset to 0 (was hurting short outputs)length_penaltyset to 1.0 (was 2.0 — was pushing model to generate more tokens)
Training details
- Base model: microsoft/trocr-base-handwritten
- PEFT: LoRA (r=16, alpha=32)
- Dataset: Nzyoka19/ocr_images
Fontes
1 fonte
Fontes
1 fonteVerificado 3 de set.
Artefatos de modelo
1 artefato
Artefatos de modelo
1 artefatoadapter_model.safetensors
safetensors · 19,2 MB · SHA-256 2acc18493828…b285 · Hugging Face
Download fileTrechos de fonte
2 trechos
Trechos de fonte
2 trechos--- base_model: microsoft/trocr-base-handwritten tags: [ocr, lora, peft, trocr, image-to-text, nyansapo] license: mit --- # Nyansapo OCR — TrOCR LoRA v1.0.1 ## What changed from v1.0.0 - `max_target_len` reduced from 128 → 4 (root fix for hallucination) - `no_repeat_ngram_size` set to 0 (was hurting short outputs) - `length_penalty` set to 1.0 (was 2.0 — was pushing model to generate more tokens) ## Training details - **Base model:** microsoft/trocr-base-handwritten - **PEFT:** LoRA (r=16, alpha=32) - **Dataset:** Nzyoka19/ocr_images
Source context: 2 downloads · 0 likes · Pipeline image-to-text · Library peft · Repo Nzyoka19/nyansapo-ocr-trocr-lora_v1-0-1
