Downloads · 30 days
187
63% of all-time downloads
yennguyen45/vp2vi-polish-web
vp2vi-polish-web is a translation model from yennguyen45. Use it when you need text moved from one language to another. It is set up for transformers.js. The card lists the license as cc-by-4.0.
Browser-ready build of DanVP/vp2vi, a MarianMT model that polishes VietPhrase/QT-style Chinese web-novel drafts into more natural Vietnamese (Vietnamese → Vietnamese, not a Chinese→Vietnamese translator).
Downloads · 30 days
187
63% of all-time downloads
All-time downloads
296
Public
Repo size
59.9 MB
Likes
0
Public
Click a slice to open those files.
.onnx59.3 MB · 95%
From the Hugging Face model README
Browser-ready build of DanVP/vp2vi, a MarianMT model that polishes VietPhrase/QT-style Chinese web-novel drafts into more natural Vietnamese (Vietnamese → Vietnamese, not a Chinese→Vietnamese translator).
All credit for training the base model goes to the original author. This repo only adds:
encoder_model_quantized.onnx + decoder_model_merged_quantized.onnx)tokenizer.json fast-tokenizer (the original model only ships slow
sentencepiece files, which transformers.js cannot load directly) — verified to
produce byte-identical token ids to the original slow MarianTokenizer.Shares the same 24k joint ZH+VI vocabulary as yennguyen45/hachimimt-60-zh-vi-web, so the
two are meant to be used as a pipeline: HachimiMT translates zh→vi, then this model
polishes the result.
import { pipeline } from '@huggingface/transformers';
const polish = await pipeline('translation', 'yennguyen45/vp2vi-polish-web', { dtype: 'q8' });
const out = await polish('Hắn chậm rãi ngẩng đầu, trong mắt lóe lên một tia hàn mang.');
console.log(out[0].translation_text);
CC-BY-4.0, inherited from the base model. Please credit the original author (DanVP) when using this model.