Skip to main content

Zebra Translate Demo

Made in Vancouver, Canada by Picovoice

Zebra

Zebra is a lightweight, on-device neural machine translation engine. Zebra is:

  • Private; All processing runs locally.
  • Cross-Platform:
    • Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64)
    • Raspberry Pi (3, 4, 5)

Compatibility

  • Python 3.9+
  • Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (3, 4, 5).

Installation

pip3 install pvzebrademo

AccessKey

Zebra requires a valid Picovoice AccessKey at initialization. AccessKey acts as your credentials when using Zebra SDKs. You can get your AccessKey for free. Make sure to keep your AccessKey secret. Signup or Login to Picovoice Console to get your AccessKey.

Usage

Run the following in the terminal:

zebra_demo --access_key ${ACCESS_KEY} --model_path ${MODEL_PATH} --text ${TEXT}

Replace ${ACCESS_KEY} with yours obtained from Picovoice Console, ${MODEL_PATH} with a supported translation model located here and ${TEXT} with the text to translate.

Translation Models

The Zebra model decides the source and target languages:

zebra_params_${SOURCE}_${TARGET}.pv

Where ${SOURCE} is the language code of the source language and ${TARGET} is the language code of the target language for the translation.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pvzebrademo-1.1.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pvzebrademo-1.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file pvzebrademo-1.1.0.tar.gz.

File metadata

  • Download URL: pvzebrademo-1.1.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for pvzebrademo-1.1.0.tar.gz
Algorithm Hash digest
SHA256 57d156ad4d65d827df10818885a23b33eebc55290e5fb1deedd0654adb596e93
MD5 28c15ccca826110435ab1f6b34c754a2
BLAKE2b-256 2f3902a4ee2c68fe9753675895896f4c647b084bde7c0dbfaad20e41abeacc8b

See more details on using hashes here.

File details

Details for the file pvzebrademo-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pvzebrademo-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for pvzebrademo-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7aca35fc02e2666d25f3b61fe9711d23c0d6102f9dbe9f49da180705e848b567
MD5 a17762deff536d1f7a23780ffa30215f
BLAKE2b-256 d2999f0aecd2a3c38466b58c3647b078049fede813f6824672d0846664243bea

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page