From 301c2d007dce76c7fcc5c2be2f8a74e161836476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20Schr=C3=B6der?= Date: Sat, 19 Aug 2023 20:02:33 +0200 Subject: [PATCH] Raise version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christopher Schröder --- README.md | 22 +++++++++---------- docs/index.rst | 2 +- ...classification-with-small-text-intro.ipynb | 16 +++++++------- ...tive-learning-with-stopping-criteria.ipynb | 12 +++++----- .../03-active-learning-with-setfit.ipynb | 12 +++++----- .../notebooks/04-zero-shot-cold-start.ipynb | 4 ++-- small_text/version.json | 2 +- 7 files changed, 35 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 11a2c81e..e3691258 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -[![PyPI](https://img.shields.io/pypi/v/small-text/v1.3.1)](https://pypi.org/project/small-text/) +[![PyPI](https://img.shields.io/pypi/v/small-text/v1.3.2)](https://pypi.org/project/small-text/) [![Conda Forge](https://img.shields.io/conda/v/conda-forge/small-text?label=conda-forge)](https://anaconda.org/conda-forge/small-text) [![codecov](https://codecov.io/gh/webis-de/small-text/branch/master/graph/badge.svg?token=P86CPABQOL)](https://codecov.io/gh/webis-de/small-text) -[![Documentation Status](https://readthedocs.org/projects/small-text/badge/?version=v1.3.1)](https://small-text.readthedocs.io/en/v1.3.1/) +[![Documentation Status](https://readthedocs.org/projects/small-text/badge/?version=v1.3.2)](https://small-text.readthedocs.io/en/v1.3.2/) ![Maintained Yes](https://img.shields.io/badge/maintained-yes-green) [![Contributions Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen)](CONTRIBUTING.md) [![MIT License](https://img.shields.io/github/license/webis-de/small-text)](LICENSE) @@ -87,10 +87,10 @@ or check out the notebooks. | # | Notebook | | | --- | -------- | --- | -| 1 | [Intro: Active Learning for Text Classification with Small-Text](https://github.com/webis-de/small-text/blob/v1.3.1/examples/notebooks/01-active-learning-for-text-classification-with-small-text-intro.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/webis-de/small-text/blob/v1.3.1/examples/notebooks/01-active-learning-for-text-classification-with-small-text-intro.ipynb) | - | 2 | [Using Stopping Criteria for Active Learning](https://github.com/webis-de/small-text/blob/v1.3.1/examples/notebooks/02-active-learning-with-stopping-criteria.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/webis-de/small-text/blob/v1.3.1/examples/notebooks/02-active-learning-with-stopping-criteria.ipynb) | -| 3 | [Active Learning using SetFit](https://github.com/webis-de/small-text/blob/v1.3.1/examples/notebooks/03-active-learning-with-setfit.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/webis-de/small-text/blob/v1.3.1/examples/notebooks/03-active-learning-with-setfit.ipynb) | -| 4 | [Using SetFit's Zero Shot Capabilities for Cold Start Initialization](https://github.com/webis-de/small-text/blob/v1.3.1/examples/notebooks/04-zero-shot-cold-start.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/webis-de/small-text/blob/v1.3.1/examples/notebooks/04-zero-shot-cold-start.ipynb) | +| 1 | [Intro: Active Learning for Text Classification with Small-Text](https://github.com/webis-de/small-text/blob/v1.3.2/examples/notebooks/01-active-learning-for-text-classification-with-small-text-intro.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/webis-de/small-text/blob/v1.3.2/examples/notebooks/01-active-learning-for-text-classification-with-small-text-intro.ipynb) | + | 2 | [Using Stopping Criteria for Active Learning](https://github.com/webis-de/small-text/blob/v1.3.2/examples/notebooks/02-active-learning-with-stopping-criteria.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/webis-de/small-text/blob/v1.3.2/examples/notebooks/02-active-learning-with-stopping-criteria.ipynb) | +| 3 | [Active Learning using SetFit](https://github.com/webis-de/small-text/blob/v1.3.2/examples/notebooks/03-active-learning-with-setfit.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/webis-de/small-text/blob/v1.3.2/examples/notebooks/03-active-learning-with-setfit.ipynb) | +| 4 | [Using SetFit's Zero Shot Capabilities for Cold Start Initialization](https://github.com/webis-de/small-text/blob/v1.3.2/examples/notebooks/04-zero-shot-cold-start.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/webis-de/small-text/blob/v1.3.2/examples/notebooks/04-zero-shot-cold-start.ipynb) | ### Showcase @@ -144,11 +144,11 @@ Small-Text has been introduced in detail in the EACL23 System Demonstration Pape [MIT License](LICENSE) -[documentation_main]: https://small-text.readthedocs.io/en/v1.3.1/ -[documentation_install]: https://small-text.readthedocs.io/en/v1.3.1/install.html -[documentation_query_strategies]: https://small-text.readthedocs.io/en/v1.3.1/components/query_strategies.html -[documentation_showcase]: https://small-text.readthedocs.io/en/v1.3.1/showcase.html -[documentation_reproducibility_notes]: https://small-text.readthedocs.io/en/v1.3.1/reproducibility_notes.html +[documentation_main]: https://small-text.readthedocs.io/en/v1.3.2/ +[documentation_install]: https://small-text.readthedocs.io/en/v1.3.2/install.html +[documentation_query_strategies]: https://small-text.readthedocs.io/en/v1.3.2/components/query_strategies.html +[documentation_showcase]: https://small-text.readthedocs.io/en/v1.3.2/showcase.html +[documentation_reproducibility_notes]: https://small-text.readthedocs.io/en/v1.3.2/reproducibility_notes.html [changelog]: https://small-text.readthedocs.io/en/latest/changelog.html [changelog_1.1.0]: https://small-text.readthedocs.io/en/latest/changelog.html#version-1-1-0-2022-10-01 [changelog_1.1.1]: https://small-text.readthedocs.io/en/latest/changelog.html#version-1-1-1-2022-10-14 diff --git a/docs/index.rst b/docs/index.rst index 1924e0fa..872f0939 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -31,7 +31,7 @@ Getting Started datasets - Start: :doc:`install` | :doc:`Active Learning Overview` -- Examples: `Notebooks `_ | `Code Examples `_ +- Examples: `Notebooks `_ | `Code Examples `_ .. toctree:: :caption: Components diff --git a/examples/notebooks/01-active-learning-for-text-classification-with-small-text-intro.ipynb b/examples/notebooks/01-active-learning-for-text-classification-with-small-text-intro.ipynb index 6f543125..78844489 100644 --- a/examples/notebooks/01-active-learning-for-text-classification-with-small-text-intro.ipynb +++ b/examples/notebooks/01-active-learning-for-text-classification-with-small-text-intro.ipynb @@ -42,10 +42,10 @@ " Cloning https://github.com/webis-de/small-text to /tmp/pip-req-build-t03mrl6z\n", " Running command git clone --filter=blob:none --quiet https://github.com/webis-de/small-text /tmp/pip-req-build-t03mrl6z\n", " Resolved https://github.com/webis-de/small-text to commit 9b3377732c32fadafbce63d98fb9ce6448d818f3\n", - " Installing build dependencies ... \u001b[?25ldone\n", - "\u001b[?25h Getting requirements to build wheel ... \u001b[?25ldone\n", - "\u001b[?25h Preparing metadata (pyproject.toml) ... \u001b[?25ldone\n", - "\u001b[?25hRequirement already satisfied: tqdm in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (4.64.1)\n", + " Installing build dependencies ... \u001B[?25ldone\n", + "\u001B[?25h Getting requirements to build wheel ... \u001B[?25ldone\n", + "\u001B[?25h Preparing metadata (pyproject.toml) ... \u001B[?25ldone\n", + "\u001B[?25hRequirement already satisfied: tqdm in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (4.64.1)\n", "Requirement already satisfied: dill in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (0.3.6)\n", "Requirement already satisfied: numpy>=1.20.0 in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (1.24.1)\n", "Requirement already satisfied: scikit-learn>=0.24.1 in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (1.2.1)\n", @@ -54,8 +54,8 @@ "Requirement already satisfied: threadpoolctl>=2.0.0 in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from scikit-learn>=0.24.1->small-text==1.3.0) (3.1.0)\n", "Requirement already satisfied: joblib>=1.1.1 in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from scikit-learn>=0.24.1->small-text==1.3.0) (1.2.0)\n", "Building wheels for collected packages: small-text\n", - " Building wheel for small-text (pyproject.toml) ... \u001b[?25ldone\n", - "\u001b[?25h Created wheel for small-text: filename=small_text-1.3.0-py3-none-any.whl size=202963 sha256=e6f4adb4206fae1528fe418b0fd383a906e892dbc7ec52d12bac9870741de8f3\n", + " Building wheel for small-text (pyproject.toml) ... \u001B[?25ldone\n", + "\u001B[?25h Created wheel for small-text: filename=small_text-1.3.0-py3-none-any.whl size=202963 sha256=e6f4adb4206fae1528fe418b0fd383a906e892dbc7ec52d12bac9870741de8f3\n", " Stored in directory: /tmp/pip-ephem-wheel-cache-kq85uuam/wheels/e6/0e/4d/fffbb8bc6f412468492397ec2fd3bf8d49e2904e7b1799c60e\n", "Successfully built small-text\n", "Installing collected packages: small-text\n", @@ -107,7 +107,7 @@ } ], "source": [ - "%pip install small-text[transformers]==1.3.1 # use \"small-text\" without \"[transformers]\" if you want to work on the CPU only\n", + "%pip install small-text[transformers]==1.3.2 # use \"small-text\" without \"[transformers]\" if you want to work on the CPU only\n", "\n", "# additional dependencies for this example\n", "%pip install datasets matplotlib seaborn" @@ -549,4 +549,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/examples/notebooks/02-active-learning-with-stopping-criteria.ipynb b/examples/notebooks/02-active-learning-with-stopping-criteria.ipynb index 12e77bfd..2b7b1f42 100644 --- a/examples/notebooks/02-active-learning-with-stopping-criteria.ipynb +++ b/examples/notebooks/02-active-learning-with-stopping-criteria.ipynb @@ -41,10 +41,10 @@ " Cloning https://github.com/webis-de/small-text to /tmp/pip-req-build-gc5f8wl7\n", " Running command git clone --filter=blob:none --quiet https://github.com/webis-de/small-text /tmp/pip-req-build-gc5f8wl7\n", " Resolved https://github.com/webis-de/small-text to commit 9b3377732c32fadafbce63d98fb9ce6448d818f3\n", - " Installing build dependencies ... \u001b[?25ldone\n", - "\u001b[?25h Getting requirements to build wheel ... \u001b[?25ldone\n", - "\u001b[?25h Preparing metadata (pyproject.toml) ... \u001b[?25ldone\n", - "\u001b[?25hRequirement already satisfied: scipy in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (1.10.0)\n", + " Installing build dependencies ... \u001B[?25ldone\n", + "\u001B[?25h Getting requirements to build wheel ... \u001B[?25ldone\n", + "\u001B[?25h Preparing metadata (pyproject.toml) ... \u001B[?25ldone\n", + "\u001B[?25hRequirement already satisfied: scipy in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (1.10.0)\n", "Requirement already satisfied: scikit-learn>=0.24.1 in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (1.2.1)\n", "Requirement already satisfied: dill in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (0.3.6)\n", "Requirement already satisfied: numpy>=1.20.0 in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (1.24.1)\n", @@ -95,7 +95,7 @@ } ], "source": [ - "%pip install small-text[transformers]==1.3.1 # use \"small-text\" without \"[transformers]\" if you want to work on the CPU only\n", + "%pip install small-text[transformers]==1.3.2 # use \"small-text\" without \"[transformers]\" if you want to work on the CPU only\n", "\n", "# additional dependencies for this example\n", "%pip install datasets matplotlib seaborn" @@ -492,4 +492,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/examples/notebooks/03-active-learning-with-setfit.ipynb b/examples/notebooks/03-active-learning-with-setfit.ipynb index 9d751b0f..91965821 100644 --- a/examples/notebooks/03-active-learning-with-setfit.ipynb +++ b/examples/notebooks/03-active-learning-with-setfit.ipynb @@ -43,10 +43,10 @@ " Cloning https://github.com/webis-de/small-text to /tmp/pip-req-build-mvso96bh\n", " Running command git clone --filter=blob:none --quiet https://github.com/webis-de/small-text /tmp/pip-req-build-mvso96bh\n", " Resolved https://github.com/webis-de/small-text to commit 9b3377732c32fadafbce63d98fb9ce6448d818f3\n", - " Installing build dependencies ... \u001b[?25ldone\n", - "\u001b[?25h Getting requirements to build wheel ... \u001b[?25ldone\n", - "\u001b[?25h Preparing metadata (pyproject.toml) ... \u001b[?25ldone\n", - "\u001b[?25hRequirement already satisfied: dill in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (0.3.6)\n", + " Installing build dependencies ... \u001B[?25ldone\n", + "\u001B[?25h Getting requirements to build wheel ... \u001B[?25ldone\n", + "\u001B[?25h Preparing metadata (pyproject.toml) ... \u001B[?25ldone\n", + "\u001B[?25hRequirement already satisfied: dill in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (0.3.6)\n", "Requirement already satisfied: scikit-learn>=0.24.1 in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (1.2.1)\n", "Requirement already satisfied: numpy>=1.20.0 in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (1.24.1)\n", "Requirement already satisfied: packaging in /home/cschroeder/.local/share/virtualenvs/notebooks-R6UeU-dP/lib/python3.8/site-packages (from small-text==1.3.0) (23.0)\n", @@ -108,7 +108,7 @@ } ], "source": [ - "%pip install small-text[transformers]==1.3.1\n", + "%pip install small-text[transformers]==1.3.2\n", "\n", "# setfit is an optional dependency and must be installed as well\n", "%pip install setfit>=0.5.0\n", @@ -736,4 +736,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/examples/notebooks/04-zero-shot-cold-start.ipynb b/examples/notebooks/04-zero-shot-cold-start.ipynb index 8765fcff..45e4ec92 100644 --- a/examples/notebooks/04-zero-shot-cold-start.ipynb +++ b/examples/notebooks/04-zero-shot-cold-start.ipynb @@ -126,7 +126,7 @@ } ], "source": [ - "%pip install small-text[transformers]==1.3.1\n", + "%pip install small-text[transformers]==1.3.2\n", "\n", "# setfit is an optional dependency and must be installed as well\n", "%pip install setfit>=0.5.0\n", @@ -582,4 +582,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/small_text/version.json b/small_text/version.json index e0bcd6e0..41c97b26 100644 --- a/small_text/version.json +++ b/small_text/version.json @@ -1,6 +1,6 @@ { "major": 1, "minor": 3, - "micro": 1, + "micro": 2, "pre_release": "" } \ No newline at end of file