-
Notifications
You must be signed in to change notification settings - Fork 293
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
Adds a new end-to-end test for Mistral 7b #903
Conversation
88e09e3
to
f00d1e2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@@ -0,0 +1,42 @@ | |||
#!/bin/bash | |||
|
|||
# This file runs on daily basis and demonstrates: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: mention where we run this test. v4-8 in this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this file should be split into 2 parts like the rest, but that is unrelated to fix here so okay to leave for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was previously split, and merged into one by Mohit's request, since this is a small model.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah makes sense, sounds good!
f00d1e2
to
72a8988
Compare
- A notebook in scratch_pad that runs the model from HF, for sample inputs and generates logits, which it stores in a file. - A test that downloads the HF checkpoint, converts it to MaxText-compatible format, and uses it to do one forward pass on a sample input. - Compares the logits obtained in both steps above to make sure they're equal. The old test, which asserted on the generated text being equal, rather than logits, is removed.
72a8988
to
6037123
Compare
The changes include:
The old test, which asserted on the generated text being equal, rather than logits, is removed.