Zebra Translate demo
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pvzebrademo-1.0.0.tar.gz.
File metadata
- Download URL: pvzebrademo-1.0.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cfea17a6c0d62f63c3d8056b6c42f277b4062554b0681b9de86610f15c0b256
|
|
| MD5 |
ace802c6547ebd324d7f281bdf1e7845
|
|
| BLAKE2b-256 |
56eaeca6507654fd92e63c4dfbafa551ec9a9fc4893b7fd419adc8f973064caf
|
File details
Details for the file pvzebrademo-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pvzebrademo-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d9101c7a96adaa746e5933ec67e19abd049440eca97d9c0096a903e81690723
|
|
| MD5 |
a8630e49bf600ac79a0d1a4c6a374547
|
|
| BLAKE2b-256 |
c655a75bcbeb8a8c3683f59015ce6cdea6722f8bbdfc0dfd09aaab0b2c862be8
|