Skip to content

Commit

Permalink
Update requirements.txt files for penguin demo, glue demo, and tydi d…
Browse files Browse the repository at this point in the history
…emo.

PiperOrigin-RevId: 646146700
  • Loading branch information
llcourage authored and LIT team committed Jun 24, 2024
1 parent 416d573 commit bcc481e
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 3 deletions.
20 changes: 20 additions & 0 deletions lit_nlp/examples/glue/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================

-r ../../../requirements_core.txt

tensorflow>=2.10.0,<2.16.0
tensorflow-datasets>=4.9.0
transformers>=4.27.1
19 changes: 19 additions & 0 deletions lit_nlp/examples/penguin/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================

-r ../../../requirements_core.txt

tensorflow>=2.10.0,<2.16.0
tensorflow-datasets>=4.9.0
22 changes: 22 additions & 0 deletions lit_nlp/examples/prompt_debugging/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================

-r ../../../requirements_core.txt

keras>=3.1.0
keras-nlp>=0.9.0
tensorflow-text>=2.10.0
torch>=2.0.0
transformers>=4.27.1
6 changes: 3 additions & 3 deletions lit_nlp/examples/tydi/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@

-r ../../../requirements_core.txt

jax==0.3.16
jaxlib==0.3.15
flax==0.5.3
jax==0.4.6
jaxlib==0.4.6
flax>=0.5.3

0 comments on commit bcc481e

Please sign in to comment.