File tree 7 files changed +17
-12
lines changed
7 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 1
1
# Learning Interpretability Tool Release Notes
2
2
3
+
4
+ ## Release 1.3.1
5
+
6
+ This is a minor update to fix issues with running the [ LIT Gemma Colab] ( https://colab.sandbox.google.com/github/google/generative-ai-docs/blob/main/site/en/gemma/docs/lit_gemma.ipynb ) .
7
+
8
+
3
9
## Release 1.3
4
10
5
11
This release updates how the Learning Interpretability Tool (LIT) can be
Original file line number Diff line number Diff line change 22
22
from lit_nlp import server_config
23
23
from lit_nlp .api import layout
24
24
from lit_nlp .lib import wsgi_serving
25
+ from tqdm import notebook
25
26
26
27
JsonDict = Mapping [str , Any ]
27
28
28
- is_colab = False
29
29
try :
30
30
import google .colab # pylint: disable=g-import-not-at-top,unused-import
31
31
from google .colab import output # pylint: disable=g-import-not-at-top,unused-import # pytype: disable=import-error
32
32
is_colab = True
33
- # Can disable import error as this package is always
34
- # included in colab kernels.
35
- from colabtools import interactive_widgets # pylint: disable=g-import-not-at-top # pytype: disable=import-error
36
- progress_indicator = interactive_widgets .ProgressIter
37
33
except (ImportError , ModuleNotFoundError ):
38
- from tqdm import notebook # pylint: disable=g-import-not-at-top
39
- progress_indicator = notebook .tqdm
34
+ is_colab = False
40
35
36
+ progress_indicator = notebook .tqdm
41
37
modules = layout .LitModuleName
42
38
43
39
LIT_NOTEBOOK_LAYOUT = layout .LitCanonicalLayout (
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " lit-client" ,
3
- "version" : " 1.3" ,
3
+ "version" : " 1.3.1 " ,
4
4
"description" : " Client app for LIT, the Learning Interpretability Tool" ,
5
5
"engines" : {
6
6
"node" : " >=18.0.0"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
[project ]
6
6
name = " lit-nlp"
7
7
# LINT.IfChange
8
- version = " 1.3"
8
+ version = " 1.3.1 "
9
9
# LINT.ThenChange(./lit_nlp/package.json)
10
10
authors = [
11
11
{ name =" Google, LLC" , email =" lit-dev@google.com" }
@@ -40,7 +40,6 @@ dependencies = [
40
40
" six>=1.16.0" ,
41
41
" termcolor>=2.3.0" ,
42
42
" tqdm>=4.64.0" ,
43
- " umap-learn>=0.5.1" ,
44
43
" werkzeug>=2.2.3" ,
45
44
]
46
45
# LINT.ThenChange(./requirements.txt)
@@ -105,10 +104,14 @@ examples-generative-ai = [
105
104
" vertexai>=1.49.0" ,
106
105
]
107
106
# LINT.ThenChange(./requirements_examples_generative_ai.txt)
107
+ umap = [
108
+ " umap-learn==0.5.6"
109
+ ]
108
110
# LINT.IfChange
109
111
test = [
110
112
" lit-nlp[examples-discriminative-ai]" ,
111
113
" lit-nlp[examples-generative-ai]" ,
114
+ " lit-nlp[umap]" ,
112
115
" lime==0.2.0.1" ,
113
116
" pytest>=7.4.0,<8.0.0" ,
114
117
" webtest>=2.0" ,
Original file line number Diff line number Diff line change @@ -37,6 +37,5 @@ shap>=0.42.0,<0.46.0
37
37
six >= 1.16.0
38
38
termcolor >= 2.3.0
39
39
tqdm >= 4.64.0
40
- umap-learn >= 0.5.1
41
40
werkzeug >= 2.2.3
42
41
# LINT.ThenChange(./pyproject.toml)
Original file line number Diff line number Diff line change 18
18
19
19
lime==0.2.0.1
20
20
pytest>=7.4.0,<8.0.0
21
+ umap-learn==0.5.6
21
22
webtest>=2.0
22
23
# LINT.ThenChange(./pyproject.toml)
Original file line number Diff line number Diff line change 1
1
# Learning Interpretability Tool (LIT)
2
2
3
- <!-- * freshness: { owner: 'lit-dev' reviewed: '2024-08-15 ' } *-->
3
+ <!-- * freshness: { owner: 'lit-dev' reviewed: '2024-10-25 ' } *-->
4
4
5
5
<!-- [TOC] placeholder - DO NOT REMOVE -->
6
6
You can’t perform that action at this time.
0 commit comments