Steaphenai

Results comments of Steaphenai

Could we please clarify `Fbeta` behavior when `class_names` is used with `average=False/None`

> @steaphenai please check also this discussion on top k stuff: [#3568 (comment)](https://github.com/pytorch/ignite/issues/3568#issuecomment-3939547890) Thanks! I've read #3568. The current implementation keeps top_k specific to MRR following the same pattern as...

From implementing MRR with list[int], I think int with the TopK wrapper is cleaner. Happy to update MRR to align with whatever is decided here.

> [ignite/ignite/metrics/precision.py](https://github.com/pytorch/ignite/blob/ca3371f30cf3f2105f46492898188147dfccb50b/ignite/metrics/precision.py#L412-L416) > > Lines 412 to 416 in [ca3371f](/pytorch/ignite/commit/ca3371f30cf3f2105f46492898188147dfccb50b) > > self._check_shape(output) > self._check_type(output) > y_pred, y, correct = self._prepare_output(output) > > if self._average == "samples": > currently we...

Good point, thanks. I’d like to keep this PR scoped to the Perplexity implementation and core correctness tests. We can add a dedicated CUDA test if maintainers want explicit GPU...

> @steaphenai thanks for the PR, I made a quick pass and left few comments. > > The tests look shallow and there is no reference implementation that we test...

I added an explicit reference implementation check (`_reference_perplexity`) and validated both single-batch and multi-batch token-weighted accumulation against it and also I aligned test structure with existing Ignite metric patterns (as...

@vfdev-5 Could you approve the workflows to run? The required checks are pending approval.

@vfdev-5 I checked other metrics in `ignite.metrics.nlp`. I found that `BLEU` and `ROUGE` don't force `dtype=torch.double` on their accumulators. I've removed the explicit `dtype=torch.double` and `dtype=torch.long` from `_sum_of_nll` and `_num_tokens`...

Hi @TahaZahid05 ! Yes, I'm still working on this. This needs a workflow approval to get the required checks running. Thanks!