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

Phi2 Generation example #979

Merged
merged 17 commits into from
Mar 6, 2024
Merged

Phi2 Generation example #979

merged 17 commits into from
Mar 6, 2024

Conversation

trajepl
Copy link
Contributor

@trajepl trajepl commented Mar 1, 2024

Describe your changes

  1. Phi2 generation example run in linux and windows.
  2. Update the way to match input's past_key_values in conversion passes with regex match.

Checklist before requesting a review

  • Add unit tests for this change.
  • Make sure all tests can pass.
  • Update documents if necessary.
  • Lint and apply fixes to your code by running lintrunner -a
  • Is this a user-facing change? If yes, give a description of this change to be included in the release notes.
  • Is this PR including examples changes? If yes, please remember to update example documentation in a follow-up PR.

(Optional) Issue link

examples/phi2/generate.py Fixed Show fixed Hide fixed
examples/phi2/generate.py Fixed Show fixed Hide fixed
examples/phi2/generate.py Fixed Show fixed Hide fixed
examples/phi2/generate.py Fixed Show fixed Hide fixed
examples/phi2/generate.py Fixed Show fixed Hide fixed
examples/phi2/generate.py Fixed Show fixed Hide fixed
examples/phi2/generate.py Fixed Show fixed Hide fixed
examples/phi2/generate.py Fixed Show fixed Hide fixed
examples/phi2/generate.py Fixed Show fixed Hide fixed
examples/phi2/phi2.py Fixed Show fixed Hide fixed
examples/phi2/generate.py Fixed Show fixed Hide fixed
@guotuofeng
Copy link
Collaborator

Update how past_key_values is different between Windows and Linux in description for more clarification.

examples/phi2/generate.py Fixed Show fixed Hide fixed
@trajepl trajepl changed the title [WIP] Phi2 Generation example Phi2 Generation example Mar 5, 2024
@trajepl trajepl merged commit 71dbd1e into main Mar 6, 2024
33 checks passed
@trajepl trajepl deleted the jiapli/phi2_windows_e2e branch March 6, 2024 02:37
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.

None yet

2 participants