-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add Microsoft.ML.GenAI.Phi, test package and sample project. #7184
Add Microsoft.ML.GenAI.Phi, test package and sample project. #7184
Conversation
Azure Pipelines successfully started running 2 pipeline(s). |
fe88a76
to
d6f0e61
Compare
@LittleLittleCloud samples look good. Something we might want to think about is the naming of the SK naming conventions for adding a model to make it more generic. Similar to: |
|
||
return tokens | ||
.Where(t => t.Offset != (0, 0)) | ||
.Select(t => t.Id) |
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.
what this for?
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.
To detect the _
token automatically added by tokenzier
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.
ok, thanks. it is worth a comment.
Also, EncodeToToken is very expensive comparing to EncodeToIds. If you are interested to optimize I can suggest some code to check for _
token.
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.
Yes that would be very helpful
Rename to |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
We are excited to review your PR.
So we can do the best job, please check:
Fixes #nnnn
in your description to cause GitHub to automatically close the issue(s) when your PR is merged.#7169