File tree Expand file tree Collapse file tree 7 files changed +17
-12
lines changed
Expand file tree Collapse file tree 7 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 11# Learning Interpretability Tool Release Notes
22
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+
39## Release 1.3
410
511This release updates how the Learning Interpretability Tool (LIT) can be
Original file line number Diff line number Diff line change 2222from lit_nlp import server_config
2323from lit_nlp .api import layout
2424from lit_nlp .lib import wsgi_serving
25+ from tqdm import notebook
2526
2627JsonDict = Mapping [str , Any ]
2728
28- is_colab = False
2929try :
3030 import google .colab # pylint: disable=g-import-not-at-top,unused-import
3131 from google .colab import output # pylint: disable=g-import-not-at-top,unused-import # pytype: disable=import-error
3232 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
3733except (ImportError , ModuleNotFoundError ):
38- from tqdm import notebook # pylint: disable=g-import-not-at-top
39- progress_indicator = notebook .tqdm
34+ is_colab = False
4035
36+ progress_indicator = notebook .tqdm
4137modules = layout .LitModuleName
4238
4339LIT_NOTEBOOK_LAYOUT = layout .LitCanonicalLayout (
Original file line number Diff line number Diff line change 11{
22 "name" : " lit-client" ,
3- "version" : " 1.3" ,
3+ "version" : " 1.3.1 " ,
44 "description" : " Client app for LIT, the Learning Interpretability Tool" ,
55 "engines" : {
66 "node" : " >=18.0.0"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55[project ]
66name = " lit-nlp"
77# LINT.IfChange
8- version = " 1.3"
8+ version = " 1.3.1 "
99# LINT.ThenChange(./lit_nlp/package.json)
1010authors = [
1111 { name =" Google, LLC" , email =" lit-dev@google.com" }
@@ -40,7 +40,6 @@ dependencies = [
4040 " six>=1.16.0" ,
4141 " termcolor>=2.3.0" ,
4242 " tqdm>=4.64.0" ,
43- " umap-learn>=0.5.1" ,
4443 " werkzeug>=2.2.3" ,
4544]
4645# LINT.ThenChange(./requirements.txt)
@@ -105,10 +104,14 @@ examples-generative-ai = [
105104 " vertexai>=1.49.0" ,
106105]
107106# LINT.ThenChange(./requirements_examples_generative_ai.txt)
107+ umap = [
108+ " umap-learn==0.5.6"
109+ ]
108110# LINT.IfChange
109111test = [
110112 " lit-nlp[examples-discriminative-ai]" ,
111113 " lit-nlp[examples-generative-ai]" ,
114+ " lit-nlp[umap]" ,
112115 " lime==0.2.0.1" ,
113116 " pytest>=7.4.0,<8.0.0" ,
114117 " webtest>=2.0" ,
Original file line number Diff line number Diff line change @@ -37,6 +37,5 @@ shap>=0.42.0,<0.46.0
3737six >= 1.16.0
3838termcolor >= 2.3.0
3939tqdm >= 4.64.0
40- umap-learn >= 0.5.1
4140werkzeug >= 2.2.3
4241# LINT.ThenChange(./pyproject.toml)
Original file line number Diff line number Diff line change 1818
1919lime==0.2.0.1
2020pytest>=7.4.0,<8.0.0
21+ umap-learn==0.5.6
2122webtest>=2.0
2223# LINT.ThenChange(./pyproject.toml)
Original file line number Diff line number Diff line change 11# Learning Interpretability Tool (LIT)
22
3- <!-- * freshness: { owner: 'lit-dev' reviewed: '2024-08-15 ' } *-->
3+ <!-- * freshness: { owner: 'lit-dev' reviewed: '2024-10-25 ' } *-->
44
55<!-- [TOC] placeholder - DO NOT REMOVE -->
66
You can’t perform that action at this time.
0 commit comments