Skip to content

Commit

Permalink
Licensing remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
artitw committed Aug 6, 2023
1 parent ee1af2c commit de88835
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
9 changes: 4 additions & 5 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
This open source software utilizes other open source components with their own
licensing agreements. As the consumer of this software, you agree to abide by
the licensing requirements set forth by the respective components used, e.g.
Assistant is based on the LLaMA model, which is non-commercially licensed.

The MIT License (MIT)

Copyright (c) Artit Wangperawong
Expand All @@ -24,3 +19,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

This open source software utilizes other open source components with their own
licensing agreements. As the consumer of this software, you agree to abide by
the licensing requirements set forth by the respective components used.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,9 @@ t2t.Transformer.LANGUAGES
## Examples

### Assistant
Based on Vicuna 13B, which is based on LLaMA, which is not commercially licensed.
Not ChatGPT level but it works well.
- Free private open source alternative to commercial LLMs.
- Commercial LLMs are costly, collect your data, impose quotas and rate limits that hinder development.
- Run at no cost on Google Colab free tier, so you don't even need your own device.
```
instructions = "Generate a JSON object that maps English characters as keys and Greek equivalents as values: {"
res = t2t.Assistant().transform([instructions])
Expand Down
10 changes: 7 additions & 3 deletions demos/[Text2Text]_Demo_All.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@
"cell_type": "code",
"source": [
"### Assistant\n",
"# Based on Vicuna 13B, which is based on LLaMA, which is not commercially licensed.\n",
"# Not ChatGPT level but it works well.\n",
"# Free private open source alternative to commercial LLMs.\n",
"# Commercial LLMs are costly, collect your data, impose quotas and rate limits that hinder development.\n",
"# Run at no cost on Google Colab free tier, so you don't even need your own device.\n",
"# To add a knowledge base, see https://colab.research.google.com/drive/1hkNgpSmmUA-mzUibqz25xq-E8KYOLuVx?usp=sharing\n",
"\n",
"assistant = t2t.Assistant()\n",
Expand Down Expand Up @@ -1010,7 +1011,10 @@
{
"cell_type": "code",
"source": [
"server = t2t.Server(host='0.0.0.0', port=80)"
"server = t2t.Server(host='0.0.0.0', port=80)\n",
"\n",
"import time\n",
"time.sleep(1)"
],
"metadata": {
"id": "hv72aPlE5ww1",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="text2text",
version="1.2.8",
version="1.2.9",
author="Artit Wangperawong",
author_email="[email protected]",
description="Text2Text: Crosslingual NLP/G toolkit",
Expand Down

0 comments on commit de88835

Please sign in to comment.