Skip to content

[DRAFT] A lightweight voice assistant for the raspberry pi#8

Draft
YakimaProgrammer wants to merge 22 commits into
mainfrom
magnus-scratch
Draft

[DRAFT] A lightweight voice assistant for the raspberry pi#8
YakimaProgrammer wants to merge 22 commits into
mainfrom
magnus-scratch

Conversation

@YakimaProgrammer

Copy link
Copy Markdown
Collaborator

DO NOT MERGE THIS PR - I will be rebasing and committing this branch extensively

Notable TODOs

  • Need to move off of sentence_transformers on the Pi because that library is too heavy at runtime

CSE481 Project Group and others added 22 commits June 8, 2026 17:35
Co-authored-by: aider (openai/gpt-5-mini-2025-08-07) <aider@aider.chat>
Co-authored-by: aider (openai/gpt-5-mini-2025-08-07) <aider@aider.chat>
…asis

(env) magnus@magnuspersonal:~/programming/cse481/vox-tiny$ python3 benchmarking.py
Loading dataset...
Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
train=7163 test=1791

=== EMBEDDING MODEL ===
Loading weights: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 103/103 [00:00<00:00, 7329.59it/s]
Batches: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 28/28 [00:04<00:00,  5.65it/s]
Batches: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:01<00:00,  5.49it/s]
accuracy = 0.8442
test time = 1.341s
per sample = 0.749 ms

=== TFIDF MODEL ===
accuracy = 0.7923
test time = 0.160s
per sample = 0.089 ms
(env) magnus@magnuspersonal:~/programming/cse481/vox-tiny$ python3 benchmarking2.py
Loading dataset...
Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.

=== TFIDF + LOGISTIC REGRESSION ===
Training...
/home/magnus/programming/cse481/vox-tiny/env/lib/python3.14/site-packages/sklearn/linear_model/_logistic.py:1457: FutureWarning: 'n_jobs' has no effect since 1.8 and will be removed in 1.10. You provided 'n_jobs=-1', please leave it unspecified.
  warnings.warn(msg, category=FutureWarning)
accuracy = 0.8431
test time = 0.001s
per sample = 0.001 ms
Co-authored-by: aider (openai/gpt-5-mini-2025-08-07) <aider@aider.chat>
This reverts commit 033edf9.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant