Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Natural language prompting for Canary #8833

Closed
wants to merge 43 commits into from
Closed

Conversation

pzelasko
Copy link
Collaborator

@pzelasko pzelasko commented Apr 5, 2024

What does this PR do ?

Add a one line overview of what this PR aims to accomplish.

Collection: [Note which collection this PR will affect]

Changelog

  • Add specific line by line info of high level changes in this PR.

Usage

  • You can potentially add a usage example below
# Add a code snippet demonstrating how to use this 

Jenkins CI

To run Jenkins, a NeMo User with write access must comment jenkins on the PR.

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

If you haven't finished some of the above items you can still open "Draft" PR.

Who can review?

Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.

Additional Information

  • Related to # (issue)

pzelasko and others added 28 commits March 7, 2024 14:43
Signed-off-by: Piotr Żelasko <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
…ontrol the effective audio vs text size (requires latest lhotse)

Signed-off-by: Piotr Żelasko <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
Signed-off-by: w4-jinhyeonkim <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
* yttm deprecation init commit

Signed-off-by: AlexGrinch <[email protected]>

* removed tests

Signed-off-by: AlexGrinch <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* bug fix

Signed-off-by: AlexGrinch <[email protected]>

* path fix

Signed-off-by: AlexGrinch <[email protected]>

* fixing path

Signed-off-by: AlexGrinch <[email protected]>

* updated tests to spm

Signed-off-by: AlexGrinch <[email protected]>

* updated Jenkinsfile

Signed-off-by: AlexGrinch <[email protected]>

* new model with spm in tests

Signed-off-by: AlexGrinch <[email protected]>

* yttm removed

Signed-off-by: AlexGrinch <[email protected]>

* updated aayn config

Signed-off-by: AlexGrinch <[email protected]>

---------

Signed-off-by: AlexGrinch <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Piotr Żelasko <[email protected]>
* Added copy import to rnnt_decoding.py

Signed-off-by: Isaac McFadyen <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Isaac McFadyen <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Piotr Żelasko <[email protected]>
* Fixed cp HtoD sync

Signed-off-by: Selvaraj Anandaraj <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Selvaraj Anandaraj <[email protected]>
Co-authored-by: Selvaraj Anandaraj <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Piotr Żelasko <[email protected]>
Signed-off-by: Chen Cui <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
* Fix triton import guards

Signed-off-by: Michal Futrega <[email protected]>

* Update attention.py

Signed-off-by: Michal Futrega <[email protected]>

---------

Signed-off-by: Michal Futrega <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
Signed-off-by: Michal Futrega <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
Signed-off-by: Chen Cui <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
* enable layernorm output gathered

Signed-off-by: Chen Cui <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Chen Cui <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Piotr Żelasko <[email protected]>
…pport (#8564)

* POC using bucketing in transcribe_speech.py

Signed-off-by: Piotr Żelasko <[email protected]>

* extend to multi task aed

Signed-off-by: Piotr Żelasko <[email protected]>

* fixes for aed multi task text/lang field selectors

Signed-off-by: Piotr Żelasko <[email protected]>

* remove assert

Signed-off-by: Piotr Żelasko <[email protected]>

* fix

Signed-off-by: Piotr Żelasko <[email protected]>

* expose option for bucket buffer size

Signed-off-by: Piotr Żelasko <[email protected]>

* fixes, ctc support

Signed-off-by: Piotr Żelasko <[email protected]>

* support pre-sorting manifests in transcribe_speech.py

Signed-off-by: Piotr Żelasko <[email protected]>

* cleanup

Signed-off-by: Piotr Żelasko <[email protected]>

* reorder transcriptions back to original manifest order

Signed-off-by: Piotr Żelasko <[email protected]>

* remove bucketing entirely

Signed-off-by: Piotr Żelasko <[email protected]>

* code review changes

Signed-off-by: Piotr Żelasko <[email protected]>

* code review changes--amend

Signed-off-by: Piotr Żelasko <[email protected]>

* refactor text_field/lang_field passing

Signed-off-by: Piotr Żelasko <[email protected]>

* Fix reordering bug; disable presorting for multi task for now

Signed-off-by: Piotr Żelasko <[email protected]>

* Add support for presort + multi task model

Signed-off-by: Piotr Żelasko <[email protected]>

* Code reviews

Signed-off-by: Piotr Żelasko <[email protected]>

* Fix jenkins tests, add user-friendly error msg for canary

Signed-off-by: Piotr Żelasko <[email protected]>

---------

Signed-off-by: Piotr Żelasko <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
pzelasko and others added 5 commits April 5, 2024 11:35
Signed-off-by: Piotr Żelasko <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
@pzelasko pzelasko force-pushed the canary-natural-prompt branch from 52cb05c to 5daffc0 Compare April 5, 2024 15:46
@github-actions github-actions bot removed the common label Apr 5, 2024
Base automatically changed from extended-nemo-data-config to main April 16, 2024 13:18
@@ -17,7 +17,7 @@
import tempfile
from abc import ABC, abstractmethod
from collections.abc import Iterable
from dataclasses import dataclass
from dataclasses import dataclass, is_dataclass

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'is_dataclass' is not used.
Copy link
Contributor

This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.

@github-actions github-actions bot added the stale label May 31, 2024
Copy link
Contributor

github-actions bot commented Jun 7, 2024

This PR was closed because it has been inactive for 7 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants