-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d9dc0e
commit 84bf62c
Showing
6 changed files
with
144 additions
and
19 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
picollm==1.2.3 | ||
pvcheetah==2.0.1 | ||
pvorca==1.0.0 | ||
pvporcupine==3.0.2 | ||
pvrecorder==1.2.2 | ||
pvspeaker==1.0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
## Compatibility | ||
|
||
- Python 3.8+ | ||
- Runs on Windows (x86_64). | ||
|
||
## AccessKey | ||
|
||
AccessKey is your authentication and authorization token for deploying Picovoice SDKs, including picoLLM. Anyone who is | ||
using Picovoice needs to have a valid AccessKey. You must keep your AccessKey secret. You would need internet | ||
connectivity to validate your AccessKey with Picovoice license servers even though the LLM inference is running 100% | ||
offline and completely free for open-weight models. Everyone who signs up for | ||
[Picovoice Console](https://console.picovoice.ai/) receives a unique AccessKey. | ||
|
||
## picoLLM Model | ||
|
||
picoLLM Inference Engine supports many open-weight models. The models are on | ||
[Picovoice Console](https://console.picovoice.ai/). | ||
|
||
## Usage | ||
|
||
Install the required packages: | ||
|
||
```console | ||
pip install -r requirements.txt | ||
``` | ||
|
||
Run the demo: | ||
|
||
```console | ||
python3 main.py --access_key ${ACCESS_KEY} --picollm_model_path ${PICOLLM_MODEL_PATH} | ||
``` | ||
|
||
Replace `${ACCESS_KEY}` with yours obtained from Picovoice Console and `${PICOLLM_MODEL_PATH}` with the path to the | ||
model downloaded from Picovoice Console. | ||
|
||
To see all available options, type the following: | ||
|
||
```console | ||
python main.py --help | ||
``` | ||
|
||
## Custom Wake Word | ||
|
||
The demo's default wake phrase is `Jarvis`. You can generate your custom (branded) wake word using Picovoice Console by following [Porcupine Wake Word documentation (https://picovoice.ai/docs/porcupine/). Once you have the model trained, simply pass it to the demo | ||
application using `--keyword_model_path` argument. |
File renamed without changes.
File renamed without changes.