Skip to content

Commit e39f22e

Browse files
committed
add docs for LLM attr
1 parent ea3e0d8 commit e39f22e

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

sphinx/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Captum API Reference
1212
:caption: API Reference
1313

1414
attribution
15+
llm_attr
1516
noise_tunnel
1617
layer
1718
neuron

sphinx/source/llm_attr.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
LLM Attribution Classes
2+
========================
3+
4+
LLMAttribution
5+
^^^^^^^^^^^^^^^^^^^^^^^^
6+
7+
.. autoclass:: captum.attr.LLMAttribution
8+
:members:
9+
10+
LLMGradientAttribution
11+
^^^^^^^^^^^^^^^^^^^^^^^^
12+
13+
.. autoclass:: captum.attr.LLMGradientAttribution
14+
:members:
15+
16+
17+
LLMAttributionResult
18+
^^^^^^^^^^^^^^^^^^^^^^^^
19+
20+
.. autoclass:: captum.attr.LLMAttributionResult
21+
:members:

sphinx/source/utilities.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
Utilities
22
==========
33

4+
Interpretable Inpit
5+
^^^^^^^^^^^^^^
6+
.. autoclass:: captum.attr.InterpretableInput
7+
:members:
8+
9+
.. autoclass:: captum.attr.TextTemplateInput
10+
:members:
11+
12+
.. autoclass:: captum.attr.TextTokenInput
13+
:members:
14+
15+
416
Visualization
517
^^^^^^^^^^^^^^
618

0 commit comments

Comments
 (0)