This repository contains model weights and data resources used in the
Type-R
project. The dataset is designed to support text-to-image generation, OCR, text erasing, editing, and evaluation pipelines used in the Type-R system.
๐ Directory structure
โ ๏ธ The code in the
repository
is designed to operate directly using this structure.
Since the Arial font cannot be redistributed, please obtain it through your operating system or another legal source. As an alternative, you may use an open font such as Liberation Sans (resources/data/LiberationSans-Regular.ttf). However, please note that we have observed a drop of 1โ2 points in OCR accuracy on the Mario-Eval benchmark when using AnyText with Liberation Sans under our best configuration.
๐ Dataset details
weight/
This dicrectory contains pretrained weights used for various modules in the Type-R pipeline
ocr/
: Models for OCR detection/recognition.
text_eraser/
: Inpainting or erasure modules for removing text.
text_editor/
: Models for rendering text into images.
t2i/
: Large text-to-image models.
If the T2I model requires authentication, make sure to log in to Hugging Face (e.g., using huggingface-cli login) before executing the pipeline.
data/marioevalbench/
The dataset containing prompts and reference images for evaluating Type-R
hfds/
: includes prompts, augmented prompts, and images of the Mario-Eval Benchmark
type-r huggingface.co is an AI model on huggingface.co that provides type-r's model effect (), which can be used instantly with this cyberagent type-r model. huggingface.co supports a free trial of the type-r model, and also provides paid use of the type-r. Support call type-r model through api, including Node.js, Python, http.
type-r huggingface.co is an online trial and call api platform, which integrates type-r's modeling effects, including api services, and provides a free online trial of type-r, you can try type-r online for free by clicking the link below.
cyberagent type-r online free url in huggingface.co:
type-r is an open source model from GitHub that offers a free installation service, and any user can find type-r on GitHub to install. At the same time, huggingface.co provides the effect of type-r install, users can directly use type-r installed effect in huggingface.co for debugging and trial. It also supports api for free installation.