Ir para o conteúdo
ModelListadosExterno
Baixar

Text Super Resolution GGUF

Lightweight super-resolution and image restoration models converted to GGUF for CrispEmbed OCR preprocessing.

TipoOtherVersãoRevision 4c90760Bnota

Fonte do modelo

Tipo
Other
Tamanho do arquivo
96,2 KB–49,9 MB
Versão
vRevision 4c90760
Atualizado
9 de out. de 2026
Downloads
1 mil
Fonte
Hugging Face

Descrição da fonte

Text Super-Resolution & Restoration GGUF Models

Lightweight super-resolution and image restoration models converted to GGUF for CrispEmbed OCR preprocessing.

Models

FileArchitectureParamsScaleSizeLicensePaper
tbsrn-telescope-f16.ggufTBSRN (text-line SR)1.13M2x2.2 MBApache-2.0CVPR 2021
pan-x4-f16.ggufPAN (pixel attention)272K4x0.5 MBApache-2.0ECCV 2020W
hat-sr-x4-f16.ggufHAT (hybrid attention transformer)21M4x40 MBMITCVPR 2023
dat-light-x2-f16.ggufDAT-light (dual aggregation transformer)830K2x38 MBApache-2.0ICCV 2023
restormer-denoise-f16.ggufRestormer (denoising)26M1x50 MBApache-2.0CVPR 2022

TBSRN Telescope (text-line SR)

  • Task: Enhance individual detected text lines before recognition
  • Input: Text-line crop resized to 16x64 -> Output: 32x128 (2x)
  • Source: PaddleOCR sr_telescope (Apache-2.0)

PAN (whole-image 4x SR)

  • Task: Upscale full document pages (rescues 75dpi text)
  • Input: Any RGB image (tiled) -> Output: 4x upscale
  • Source: PaddleGAN pan_x4 (Apache-2.0)

HAT (hybrid attention transformer, 4x SR)

  • Task: High-quality 4x upscaling (CVPR 2023 SOTA on multiple SR benchmarks)
  • Input: Any RGB image (tiled) -> Output: 4x upscale
  • Architecture: Swin Transformer + overlapping cross-attention + channel attention
  • Source: XPixelGroup/HAT (MIT)

DAT-light (dual aggregation transformer, 2x SR)

  • Task: High-quality 2x upscaling with dual spatial+channel attention
  • Input: Any RGB image (tiled) -> Output: 2x upscale
  • Architecture: Split-channel windowed spatial attention + L2-normalized transposed channel attention + AIM + SGFN
  • Source: zhengchen1999/DAT (Apache-2.0)

Restormer (image denoising/restoration)

  • Task: Remove noise from document scans
  • Input: Any RGB image -> Output: Denoised (same size)
  • Architecture: Multi-Dconv head transposed attention, U-Net encoder-decoder
  • Source: swz30/Restormer (Apache-2.0)

Parity Verification

All models pass the CrispEmbed diff harness (Python reference vs C++ engine):

Modelcos_simStatus
TBSRN0.999985PASS
PAN0.999654PASS
HAT0.999990PASS
DAT-light0.999956PASS
Restormer1.000000PASS

Usage with CrispEmbed

from crispembed import CrispPanSr, CrispDatSr

# PAN: 4x upscale
sr = CrispPanSr("pan-x4-f16.gguf")
out, ow, oh = sr.process(pixels, width, height)

# DAT: 2x upscale (higher quality)
sr = CrispDatSr("dat-light-x2-f16.gguf")
out, ow, oh = sr.process(pixels, width, height)
# CLI
crispembed --pan-model pan-x4-f16.gguf --pan-sr input.png > output.ppm
crispembed --dat-model dat-light-x2-f16.gguf --dat-sr input.png > output.ppm

License

Apache-2.0 for all models except HAT (MIT). Both licenses are permissive.

Provenance and EU AI Act Art. 53 note

  • Upstream model: multiple upstreams (TBSRN/Telescope, PAN, ...) listed per file in the card.
  • Upstream licence: apache-2.0. This repository redistributes under the same terms; it grants no rights the upstream licence does not.
  • What was done here: format conversion and/or quantisation only (GGUF). No training, no fine-tuning, no merging, no distillation, no change to architecture, vocabulary or capability. Only the numeric representation of the upstream weights differs.
  • Training data: documented — where it is documented at all — by the upstream provider; see the upstream model card. No training data was used, added or selected by this repository.
  • Provider status: under Regulation (EU) 2024/1689 the upstream authors remain the provider of this model. Converting the serialisation format does not make this repository the provider of a new general-purpose AI model, and no such claim is made. Questions about training content, copyright policy or model capability belong upstream.

Fontes

1 fonte
Hugging FacePrimárioVersão 4c90760203b75706573c2d9c65dbe6473392eb3b
huggingface.co/cstr/text-super-resolution-gguf/tree/4c90760203b75706573c2d9c65dbe6473392eb3b

Verificado 9 de out.

Artefatos de modelo

22 artefatos

adair-ref.gguf

gguf · 96,2 KB · Hugging Face

dat-light-x2-f16.gguf

gguf · 37,7 MB · SHA-256 b846b1640fae…173c · Hugging Face

Baixar

dat-light-x2-f32.gguf

gguf · 38,8 MB · SHA-256 89389149dc3e…75ae · Hugging Face

Baixar

dat-ref.gguf

gguf · 18,0 MB · SHA-256 586b0770026b…077a · Hugging Face

Baixar

hat-ref.gguf

gguf · 5,82 MB · SHA-256 9984e5aca872…8dc8 · Hugging Face

Baixar

hat-sr-x4-f16.gguf

gguf · 40,3 MB · SHA-256 286f2494e32f…e049 · Hugging Face

Baixar

hat-sr-x4-q4_k.gguf

gguf · 39,4 MB · SHA-256 4c6de50b6bc8…8233 · Hugging Face

Baixar

hat-sr-x4-q8_0.gguf

gguf · 39,7 MB · SHA-256 02088f24e75c…a7f4 · Hugging Face

Baixar

pan-ref.gguf

gguf · 204 KB · SHA-256 0cd11d3255e8…eae7 · Hugging Face

Baixar

pan-x4-f16.gguf

gguf · 544 KB · SHA-256 4fc5db71e7a2…0e3a · Hugging Face

Baixar

pan-x4-q4_k.gguf

gguf · 543 KB · SHA-256 05a8b38047d1…0cd9 · Hugging Face

Baixar

pan-x4-q8_0.gguf

gguf · 543 KB · SHA-256 2851ca55318a…0acf · Hugging Face

Baixar

restormer-denoise-f16.gguf

gguf · 49,9 MB · SHA-256 459cd6ab7012…3607 · Hugging Face

Baixar

restormer-denoise-q4_k.gguf

gguf · 28,0 MB · SHA-256 94823bab28c8…d749 · Hugging Face

Baixar

restormer-denoise-q8_0.gguf

gguf · 35,6 MB · SHA-256 83083756a5be…037c · Hugging Face

Baixar

restormer-ref.gguf

gguf · 96,2 KB · Hugging Face

swinir-light-x4-f16.gguf

gguf · 14,2 MB · SHA-256 f336cc96cb11…d3c7 · Hugging Face

Baixar

swinir-ref.gguf

gguf · 5,48 MB · SHA-256 592f73567698…672f · Hugging Face

Baixar

tbsrn-ref.gguf

gguf · 4,06 MB · SHA-256 3b8e8d61828f…a309 · Hugging Face

Baixar

tbsrn-telescope-f16.gguf

gguf · 2,18 MB · SHA-256 5fc2cb1c5325…2838 · Hugging Face

Baixar

tbsrn-telescope-q4_k.gguf

gguf · 686 KB · SHA-256 5b01779128d3…ee70 · Hugging Face

Baixar

tbsrn-telescope-q8_0.gguf

gguf · 1,19 MB · SHA-256 c24be55a3419…bb5d · Hugging Face

Baixar

Trechos de fonte

3 trechos

--- license: apache-2.0 tags: - super-resolution - image-restoration - ocr - text-enhancement - gguf - crispembed library_name: crispembed --- # Text Super-Resolution & Restoration GGUF Models Lightweight super-resolution and image restoration models converted to GGUF for [CrispEmbed](https://github.com/CrispStrobe/CrispEmbed) OCR preprocessing. ## Models | File | Architecture | Params | Scale | Size | License | Paper | |------|-------------|--------|-------|------|---------|-------| | `tbsrn-telescope-f16.gguf` | TBSRN (text-line SR) | 1.13M | 2x | 2.2 MB | Apache-2.0 | CVPR 2021 | | `pan-x4-f16.gguf` | PAN (pixel attention) | 272K | 4x | 0.5 MB | Apache-2.0 | ECCV 2020W | | `hat-sr-x4-f16.gguf` | HAT (hybrid attention transformer) | 21M | 4x | 40 MB | MIT | CVPR 2023 | | `dat-light-x2-f16.gguf` | DAT-light (dual aggregation transformer) | 830K | 2x | 38 MB | Apache-2.0 | ICCV 2023 | | `restormer-denoise-f16.gguf` | Restormer (denoising) | 26M | 1x | 50 MB | Apache-2.0 | CVPR 2022 | ### TBSRN Telescope (text-line SR) - **Task**: Enhance individual detected text lines before recognition - **Input**: Text-line crop resized to 16x64 -> **Output**: 32x128 (2x) - **Source**: [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR) `sr_telescope` (Apache-2.0) ### PAN (whole-image 4x SR) - **Task**: Upscale full document pages (rescues 75dpi text) - **Input**: Any RGB image (tiled) -> **Output**: 4x upscale - **Source**: [PaddleGAN](https://github.com/PaddlePaddle/PaddleGAN) `pan_x4` (Apache-2.0) ### HAT (hybrid attention transformer, 4x SR) - **Task**: High-quality 4x upscaling (CVPR 2023 SOTA on multiple SR benchmarks) - **Input**: Any RGB image (tiled) -> **Output**: 4x upscale - **Architecture**: Swin Transformer + overlapping cross-attention + channel attention - **Source**: [XPixelGroup/HAT](https://github.com/XPixelGroup/HAT) (MIT) ### DAT-light (dual aggregation transformer, 2x SR) - **Task**: High-quality 2x upscaling with dual spatial+channel attention - **Input**: Any RGB image (tiled) -> **Output**: 2x upscale - **Architecture**: Split-channel windowed spatial attention + L2-normalized transposed channel attention + AIM + SGFN - **Source**: [zhengchen1999/DAT](https://github.com/zhengchen1999/DAT) (Apache-2.0) ### Restormer (image denoising/restoration) - **Task**: Remove noise from document scans - **Input**: Any RGB image -> **Output*...

Source context: 1027 downloads · 0 likes · Library crispembed · Repo cstr/text-super-resolution-gguf

Source context: 2152 downloads · 0 likes · Library crispembed · Repo cstr/text-super-resolution-gguf