Skip to content

Commit

Permalink
Tag installed packages (#107)
Browse files Browse the repository at this point in the history
* Tag installed packages

* Update pre-commit

* Tag pip imports

* Fix mypy

* More pip install updates

* More pinned packages
  • Loading branch information
kesmit13 authored Aug 9, 2024
1 parent 4ba5d9a commit 830b420
Show file tree
Hide file tree
Showing 6 changed files with 539 additions and 177 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit==3.3
pip install pre-commit==3.7
- name: Analysing the code with pre-commit checks
run: |
Expand Down
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ repos:
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.3.0
rev: v1.11.1
hooks:
- id: mypy
additional_dependencies: [types-all]
- repo: local
hooks:
- id: nb-check
Expand Down
2 changes: 1 addition & 1 deletion notebooks/evaluating-llms-with-uptrain/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"metadata": {},
"outputs": [],
"source": [
"%pip install uptrain==0.5.0 openai==1.3.3 langchain==0.1.4 tiktoken==0.5.2 --quiet"
"%pip install uptrain==0.7.1 openai==1.6.1 langchain==0.1.4 tiktoken==0.5.2 --quiet"
]
},
{
Expand Down
686 changes: 525 additions & 161 deletions notebooks/how-to-build-llm-apps-that-can-see-hear-speak/notebook.ipynb

Large diffs are not rendered by default.

21 changes: 10 additions & 11 deletions notebooks/launch-open-source-apps-with-langchain/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,18 @@
"outputs": [],
"source": [
"%%writefile requirements.txt\n",
"jinja2==3.0.3\n",
"langchain==0.0.339\n",
"openai==1.3.3\n",
"pdf2image\n",
"pdfminer\n",
"pdfminer.six\n",
"pillow_heif\n",
"tabulate\n",
"tiktoken\n",
"unstructured\n",
"opencv-python-headless\n",
"unstructured.pytesseract\n",
"unstructured.inference"
"pdf2image==1.0.0\n",
"pdfminer==20191125\n",
"pdfminer.six==20221105\n",
"pillow_heif==0.13.1\n",
"tabulate==0.9.0\n",
"tiktoken==0.5.1\n",
"unstructured==0.11.0\n",
"opencv-contrib-python-headless==4.8.1.78\n",
"unstructured.pytesseract==0.3.12\n",
"unstructured.inference==0.7.15"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/semantic-search-with-hugging-face/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip3 install --upgrade sentence-transformers torch tensorflow datasets --quiet\n",
"%pip install sentence-transformers==2.2.2 torch==2.1.0 tensorflow==2.15.0 datasets==2.15.0 --quiet\n",
"\n",
"import json\n",
"import ibis\n",
Expand Down

0 comments on commit 830b420

Please sign in to comment.