.. _sphx_glr_gallery_text: Text domain ============ Text-domain metrics are essential for evaluating the performance of models in tasks like text classification, summarization, and translation. TorchMetrics provides a suite of specialized metrics designed for these purposes. Using these text-specific metrics from Torch Metrics helps in developing more precise and robust text-based models, ensuring that performance evaluations are both meaningful and directly applicable to practical NLP tasks. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /gallery/text/images/thumb/sphx_glr_perplexity_thumb.png :alt: :ref:`sphx_glr_gallery_text_perplexity.py` .. raw:: html
Perplexity
.. raw:: html
.. only:: html .. image:: /gallery/text/images/thumb/sphx_glr_bertscore_thumb.png :alt: :ref:`sphx_glr_gallery_text_bertscore.py` .. raw:: html
BERTScore
.. raw:: html
.. only:: html .. image:: /gallery/text/images/thumb/sphx_glr_rouge_thumb.png :alt: :ref:`sphx_glr_gallery_text_rouge.py` .. raw:: html
ROUGE
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /gallery/text/perplexity /gallery/text/bertscore /gallery/text/rouge