--- title: Han2Han colorFrom: blue colorTo: indigo sdk: gradio sdk_version: 6.29.1 app_file: app.py python_version: "3.12" short_description: Convert Korean text between Hangul and Hanja models: - cadazar/han2han-rl license: apache-2.0 --- # Han2Han A demo of [`cadazar/han2han-rl`](https://huggingface.co/cadazar/han2han-rl), a 169M-parameter encoder-decoder that converts Korean text between Hangul and mixed Hangul-Hanja script in both directions. The model card describes what to expect, including the errors that remain when restoring Hanja. Each message is converted on its own, with greedy decoding and the token budget the model card recommends. Lines longer than 300 characters are split at sentence boundaries and converted piece by piece. ## Feedback Replies can be rated with the thumbs or edited to submit a correction. Rated and corrected replies are written, together with their input, the direction and the model revision, to a private dataset (`FEEDBACK_REPO`) every five minutes. Inputs that are neither rated nor corrected are not stored.