Files
shap--shap/docs/text_examples.rst
T
2026-07-13 13:22:52 +08:00

82 lines
1.6 KiB
ReStructuredText

Text examples
-------------
These examples explain machine learning models applied to text data. They are all generated from Jupyter
notebooks `available on GitHub <https://github.com/shap/shap/tree/master/notebooks/text_examples>`_.
Sentiment analysis
==================
Examples of how to explain predictions from sentiment analysis models.
.. toctree::
:glob:
:maxdepth: 1
example_notebooks/text_examples/sentiment_analysis/*
Translation
===========
Examples of how to explain predictions from translation models.
.. toctree::
:glob:
:maxdepth: 1
example_notebooks/text_examples/translation/*
Text generation
===============
Examples of how to explain predictions from text generation models.
.. toctree::
:glob:
:maxdepth: 1
example_notebooks/text_examples/text_generation/*
Summarization
=============
Examples of how to explain predictions from summarization models.
.. toctree::
:glob:
:maxdepth: 1
example_notebooks/text_examples/summarization/*
Question Answering
==================
Examples of how to explain predictions from question answering models.
.. toctree::
:glob:
:maxdepth: 1
example_notebooks/text_examples/question_answering/*
Language modelling
==================
Examples of how to explain predictions from language models.
.. toctree::
:glob:
:maxdepth: 1
example_notebooks/text_examples/language_modelling/*
Text entailment
===============
Examples of how to explain predictions from text entailment models.
.. toctree::
:glob:
:maxdepth: 1
example_notebooks/text_examples/text_entailment/*