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

Add max_length kwarg to docstring of Perplexity measurement #411

Conversation

kdutia
Copy link
Contributor

@kdutia kdutia commented Feb 2, 2023

#333 added behaviour to the Perplexity class to not use a model's default max_length, and add it as a kwarg instead. This PR adds details of the new kwarg to the docstring of the Perplexity measurement.

Copy link
Member

@lvwerra lvwerra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing the documentation!

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Feb 3, 2023

The documentation is not available anymore as the PR was closed or merged.

@lvwerra lvwerra merged commit 7fa754c into huggingface:main Feb 3, 2023
Plutone11011 pushed a commit to Plutone11011/evaluate that referenced this pull request Feb 6, 2023
…ace#411)

Added max_length kwarg to docstring of Perplexity measurement
lvwerra pushed a commit that referenced this pull request Mar 14, 2023
* audio classification evaluator + docs

* fix styling issue

* [Docs] fixed a typo in bertscore readme (#386)

fixed typo in berscore readme

* Add max_length kwarg to docstring of Perplexity measurement (#411)

Added max_length kwarg to docstring of Perplexity measurement

* adding support raw audio input audio classification evaluator

---------

Co-authored-by: Hazrul Akmal <hazrulakmal121@gmail.com>
Co-authored-by: Kalyan Dutia <kalyan.dutia@gmail.com>
unna97 pushed a commit to unna97/evaluate that referenced this pull request Mar 20, 2023
…gface#405)

* audio classification evaluator + docs

* fix styling issue

* [Docs] fixed a typo in bertscore readme (huggingface#386)

fixed typo in berscore readme

* Add max_length kwarg to docstring of Perplexity measurement (huggingface#411)

Added max_length kwarg to docstring of Perplexity measurement

* adding support raw audio input audio classification evaluator

---------

Co-authored-by: Hazrul Akmal <hazrulakmal121@gmail.com>
Co-authored-by: Kalyan Dutia <kalyan.dutia@gmail.com>
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

3 participants