Skip to content

Commit

Permalink
LIT 1.3 release notes.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 688566572
  • Loading branch information
RyanMullins authored and LIT team committed Oct 22, 2024
1 parent a898390 commit 363d0e7
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ RUN apt update && apt -y install yarn
# This step is slow as it installs many packages.
COPY requirements.txt \
requirements_examples_common.txt \
requirements_examples_descai.txt \
requirements_examples_discriminative_ai.txt \
./
RUN python -m pip install -r requirements_examples_descai.txt
RUN python -m pip install -r requirements_examples_discriminative_ai.txt

# Copy the rest of the lit_nlp package
COPY . ./
Expand Down
42 changes: 41 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# Learning Interpretability Tool Release Notes

## Release 1.3

This release updates how the Learning Interpretability Tool (LIT) can be
deployed on Google Cloud. You can now use LIT to interpret foundation
models—including
[Gemini](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference),
[Gemma](https://ai.google.dev/gemma), [Llama](https://www.llama.com/), and
[Mistral](https://mistral.ai/technology/#models)—using LIT's prompt
debugging workflows. LIT now provides public container images to make it easier
to deploy on your hosting platform of choice, with an updated
[tutorial](https://codelabs.developers.google.com/codelabs/responsible-ai/lit-on-gcp)
for deploying LIT with [Cloud Run](https://cloud.google.com/run).

### New Stuff
* LIT on GCP -
[1075325](https://github.com/PAIR-code/lit/commit/1075325c6a08d8fdef3bcf66f193b8d5aef673fb),
[1acc868](https://github.com/PAIR-code/lit/commit/1acc868d4a5fa0fd2a135f132f56bb4cb8ba3990),
[55bfc99](https://github.com/PAIR-code/lit/commit/55bfc993cc27fd25ae5089d58ae822bfeca296a3),
[180f68a](https://github.com/PAIR-code/lit/commit/180f68ad3774f8b276e262c0dcb7307ad87e42a3),
[64114d5](https://github.com/PAIR-code/lit/commit/64114d553ffd2c0ffd7bc674fb32a36e564ea0f4),
[2488aa7](https://github.com/PAIR-code/lit/commit/2488aa7cf8f8a112607ca0c8b40870efde73ec24),
[9baac29](https://github.com/PAIR-code/lit/commit/9baac29b96970ef7fa64f2f36ce2c79ff73707b7),
[60bdc7c](https://github.com/PAIR-code/lit/commit/60bdc7cf382bd0c5ead2576c119277230a6080c9),
[7681476](https://github.com/PAIR-code/lit/commit/7681476d5056d927905f24333b890501a36df040),
[4c81182](https://github.com/PAIR-code/lit/commit/4c81182a7db1fda7f8ba071a9542876f462a13fa),
[4e5e8e2](https://github.com/PAIR-code/lit/commit/4e5e8e25c2abb658dc141f0d9c6059dd41e14535),
[b9a0b82](https://github.com/PAIR-code/lit/commit/b9a0b8210263da9ee6d741e4e0f0444849e3a141),
[424adce](https://github.com/PAIR-code/lit/commit/424adce9cf8c9cbabdf5d89d485cdc5f3fd098ed),
[1d019c7](https://github.com/PAIR-code/lit/commit/1d019c7a1bf5f135ea42104889167b79c3f795cd),
[f4436a2](https://github.com/PAIR-code/lit/commit/f4436a26ed79f481e16e2c53c0551703e7ba8c4f),

### Non-breaking Changes, Bug Fixes, and Enhancements
* Upgrade LIT to MobX v6. - [c1f5055](https://github.com/PAIR-code/lit/commit/c1f5055eb7ee8b3671484c863a0967c05fa58338)
* Fix indexing issue in Sequence Salience module. - [58b1d2](https://github.com/PAIR-code/lit/commit/58b1d2b6d0d27c6dca086520cef45bf75466a101)
* Load multiple model wrappers with shared model. - [ba4d975](https://github.com/PAIR-code/lit/commit/ba4d975a90612b0c41a02b3dcb4dbb548261fdd7)
* Add the custom model and dataset loaders to prompt debugging notebook. - [338c6b](https://github.com/PAIR-code/lit/commit/338c6b12de98b61287a25650ad2c6ad7f7bb80cd)
* Convert hosted demos images to multi-stage builds. - [4bf1f8](https://github.com/PAIR-code/lit/commit/4bf1f81666fe546357f00c86a2315d2852346ebe)
* Adding testing instructions to README. - [f24b841](https://github.com/PAIR-code/lit/commit/f24b841959f0402498a056a5164a86ecae6dbb94)
* More LIT documentation updates. - [2e9d267](https://github.com/PAIR-code/lit/commit/2e9d26738d9344cde0eebd66d49dfc14cd800e74)

## Release 1.2

This release covers clean-ups on various obsolete demos, as well as improved
Expand Down Expand Up @@ -270,7 +310,7 @@ A full list of contributors to this repo can be found at https://github.com/PAIR
[a95ed67](https://github.com/PAIR-code/lit/commit/a95ed67100f24163624edb4bb659ccfa871dc9bf)
* Add output embeddings and attention options to GlueConfig -
[6e0df41](https://github.com/PAIR-code/lit/commit/6e0df41636405b4ee5556cbf797fcce5887c6070)
* Allow downloading/copying data from the slice editor -
* Allow downloading/copying data from the slice editor -
[57fac3a](https://github.com/PAIR-code/lit/commit/57fac3aeb98fa49c508b20837eded3f4ec80e8f9)
* Use new custom tooltip elemement in various places -
[d409900](https://github.com/PAIR-code/lit/commit/d409900984336d4f8ac73735b1fff57c92623ca4),
Expand Down
8 changes: 4 additions & 4 deletions lit_nlp/examples/gcp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ RUN apt update && apt -y install yarn
# This step is slow as it installs many packages.
COPY requirements.txt \
requirements_examples_common.txt \
requirements_examples_genai.txt \
requirements_examples_generative_ai.txt \
./
RUN python -m pip install -r requirements_examples_genai.txt
RUN python -m pip install -r requirements_examples_generative_ai.txt

# Copy the rest of the lit_nlp package
COPY . ./
Expand Down Expand Up @@ -157,9 +157,9 @@ RUN apt update && apt -y install yarn

COPY requirements.txt \
requirements_examples_common.txt \
requirements_examples_genai.txt \
requirements_examples_generative_ai.txt \
./
RUN python -m pip install -r requirements_examples_genai.txt
RUN python -m pip install -r requirements_examples_generative_ai.txt

# Copy the rest of the lit_nlp package
COPY . ./
Expand Down
2 changes: 1 addition & 1 deletion lit_nlp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lit-client",
"version": "1.2",
"version": "1.3",
"description": "Client app for LIT, the Learning Interpretability Tool",
"engines": {
"node": ">=18.0.0"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "lit-nlp"
# LINT.IfChange
version = "1.2"
version = "1.3"
# LINT.ThenChange(./lit_nlp/package.json)
authors = [
{ name="Google, LLC", email="lit-dev@google.com" }
Expand Down

0 comments on commit 363d0e7

Please sign in to comment.