Skip to content

[extensions][py][hf] 1/n asr scaffolding#779

Merged
Ankush-lastmile merged 1 commit intomainfrom
pr779
Jan 10, 2024
Merged

[extensions][py][hf] 1/n asr scaffolding#779
Ankush-lastmile merged 1 commit intomainfrom
pr779

Conversation

@Ankush-lastmile
Copy link
Contributor

@Ankush-lastmile Ankush-lastmile commented Jan 5, 2024

[extensions][py][hf] 1/n asr scaffolding

Setting up the asr parser class


Stack created with Sapling. Best reviewed with ReviewStack.

Setting up the asr parser class
Ankush-lastmile added a commit that referenced this pull request Jan 10, 2024
[extensions][py][hf] 2/n ASR model parser impl




Model Parser for the Automatic Speech Recognition task on huggingface.


Decisions made while implementing:
- manual impl to parse input attachments
- - threw exceptions on every unexpected step. Not sure if this is the
direction we want to go with this.
- This diff does not implement serialize() for the model parser (will
implement on diff ontop)

## Testplan

Created an mp3 file that says "hi". Used aiconfig to run asr on it.

|<img width="922" alt="Screenshot 2024-01-09 at 7 14 47 PM"
src="https://github.com/lastmile-ai/aiconfig/assets/141073967/fe68751d-e20b-41d9-9da5-cc9a32859cba">

|<img width="1461" alt="Screenshot 2024-01-09 at 5 54 33 PM"
src="https://github.com/lastmile-ai/aiconfig/assets/141073967/78063a3e-2b9a-4a39-80d9-ef28a7d706cf">|
| ------------- | ------------- |

---
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/lastmile-ai/aiconfig/pull/780).
* __->__ #780
* #779
@Ankush-lastmile Ankush-lastmile merged commit 485faf6 into main Jan 10, 2024
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.

2 participants