Skip to content

Conversation

@amstu2
Copy link
Contributor

@amstu2 amstu2 commented Sep 23, 2025

Attempted to run lighteval tasks inspect "helm|summarization:xsum|0" and got AttributeError: 'AvgAtK' object has no attribute 'n' for the .num_samples() method. I can't see a n attribute used elsewhere in the metric and as far as I can see, it looks like self.k is sufficient for this.

@HuggingFaceDocBuilderDev
Copy link
Collaborator

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@NathanHB NathanHB merged commit 5137e03 into huggingface:main Sep 23, 2025
4 checks passed
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.

3 participants