DeepSeek Harness Remote
DeepSeek Harness Remote 可将手机或另一台电脑与你运行 DeepSeek Harness 的电脑安全连接,随时随地继续你的工作,方便随时查看进度并继续工作。
AI 翻译
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
Context-aware AI translation for documents and images in 30+ languages.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Verta is a private, installable Arabic ↔ English translation workspace for documents and images. Translation runs on small open-weight models on your CPU, directly inside the browser. No API key, account, server inference, GPU, browser translation feature, or file upload is required.
| Direction | Model | 8-bit encoder + decoder |
|---|---|---|
| English → Arabic | Xenova/opus-mt-en-ar | 110.9 MB |
| Arabic → English | Xenova/opus-mt-ar-en | 110.9 MB |
These are ONNX conversions of Helsinki-NLP's Apache-2.0-licensed
English → Arabic and
Arabic → English OPUS-MT
models. Model revisions and Transformers.js 3.8.1 are pinned in
app/local-translation/models.ts. Tokenizer/config files add a few MB per
direction; the bundled WASM runtime is additional.
The 6 GB total system RAM target is supported by a conservative configuration:
num_beams: 1) and a 384-token output limit.In CI (headless Chromium on Linux), the whole browser peaked at roughly 1 GB of proportional memory (PSS) while translating, sampled every 250 ms. That is a measurement on a CI machine, not a benchmark on a 6 GB device: available RAM, the operating system, other tabs, document size, and image OCR all matter. Close memory-heavy tabs and process large files separately.
These are sentence-level translation models, not general-purpose chat LLMs.
They can miss idioms, terminology, and context across sentences, and they
sometimes write small numbers as words. English → Arabic uses the >>ara<<
target prefix. Preferred terminology uses best-effort text replacement, not
constrained decoding or document-wide reasoning.
Browser storage eviction, private browsing, or clearing site data can remove saved files. The status checks the actual cached model files and does not rely on a permanent “downloaded” flag. If a download was interrupted, connect and retry.
Verta is also a Windows program. Download Verta-Setup-<version>.exe from the
latest release
and run it: it installs for your user account (no administrator rights) and
adds Start menu and desktop shortcuts. Windows 10 or 11, 64-bit.
127.0.0.1 inside an Electron window and
blocks every request to another host, so documents never leave the PC.The Windows app workflow (.github/workflows/desktop.yml) builds the
installer on Windows, downloads the pinned models and checks every file
against Hugging Face's published hashes (scripts/fetch-models.mjs), installs
the app silently, and runs tests/desktop.e2e.mjs against the installed
Verta.exe. Pushing a tag such as v1.0.0 (matching desktop/package.json)
publishes the installer as a GitHub Release. The Electron shell is in
desktop/main.mjs.
.docx) and plain-text outputLegacy binary .doc and .ppt files are not supported in offline mode.
Document sections are reconstructed as text; complex source-page layout is
not preserved. Scanned PDFs need OCR outside the PDF text-extraction path.
Requirements: Node.js 22.13+ and pnpm 11+.
pnpm install --frozen-lockfile
pnpm dev
Open the local URL printed by the server. Build scripts bundle the translation
worker and copy its WASM runtime, PDF worker, and OCR assets into public/offline.
Weights are downloaded on demand, not bundled into the repository or site build.
The optional native onnxruntime-node install script is disabled because the
application uses the browser's WASM backend.
pnpm run typecheck
pnpm run lint
pnpm test
NEXT_PUBLIC_STATIC_EXPORT=true pnpm run build:github
The Verify Verta GitHub Actions workflow runs these on every push, plus
pnpm run test:browser: the real pinned models in Chromium with the browser's
own Translator API removed. It covers both directions online, an offline
reload, the Save both button followed by a first-ever Arabic → English job
offline, long numbered input that fails if any sentence is missing, a .docx
upload and Word export while offline, and cancel-then-restart.
The unit suite covers sentence and token-budget splitting without source loss, output-limit handling, worker cancellation and cleanup, one active model, cache eviction, engine routing, same-language extraction, and offline error handling. Unit worker doubles exercise the application contract; they do not measure model quality. See model validation for real-model smoke tests and their limits.
The included workflow publishes the static app whenever main is pushed.
GitHub Pages must use GitHub Actions as its publishing source. The worker
and WASM assets respect the repository subpath.