maritalk 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
maritalk-0.0.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) Maritaca AI (https://maritaca.ai)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,69 @@
1
+ Metadata-Version: 2.1
2
+ Name: maritalk
3
+ Version: 0.0.1
4
+ Summary: Client library for the MariTalk API
5
+ Author-email: Maritaca AI <info@maritaca.ai>
6
+ License: The MIT License
7
+
8
+ Copyright (c) Maritaca AI (https://maritaca.ai)
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in
18
+ all copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26
+ THE SOFTWARE.
27
+ Project-URL: Homepage, https://github.com/maritaca-ai/maritalk-api
28
+ Project-URL: Bug Tracker, https://github.com/maritaca-ai/maritalk-api/issues
29
+ Classifier: Programming Language :: Python :: 3
30
+ Classifier: License :: OSI Approved :: MIT License
31
+ Classifier: Operating System :: OS Independent
32
+ Requires-Python: >=3.7
33
+ Description-Content-Type: text/markdown
34
+ License-File: LICENSE
35
+
36
+ # Introduction
37
+ This repository contains the code and documentation explaining how to use the MariTalk API.
38
+ MariTalk is a chatbot based on a language model that has been specially trained to understand Portuguese well.
39
+ It is able to follow instructions in a zero-shot manner, like ChatGPT.
40
+
41
+ # Usage Example
42
+ This Google Colab contains an example showing how to use the API, which is similar to ChatGPT's API:
43
+
44
+ [Google Colab Example](https://colab.research.google.com/drive/13tieiQdQqYDQGHI8aLtlqoBWMpJ2elyo?usp=sharing)
45
+
46
+ You will also find in the colab an example of how to use the model in a few-shot manner.
47
+
48
+ You can find more details about the API at https://chat.maritaca.ai/docs
49
+
50
+ # Technical Aspects
51
+
52
+ ### Is it free?
53
+ The API is available for free to all users. We plan to introduce a paid version in the future that will offer increased throughput and reliability.
54
+
55
+ ### Rate Limit
56
+ At the moment, there is a limit of 4 requests per minute to ensure that everyone has the opportunity to test the model. If your request is denied due to exceeding this limit, you will receive an HTTP 429 error.
57
+
58
+ ### Maximum sequence length
59
+ Currently, we support a maximum sequence length of 2048 tokens, which is equivalent to approximately 1000 words in Portuguese. We will soon support 8196 tokens.
60
+
61
+ ### Throughput
62
+ It takes about 1 to 2 seconds to generate the first token given a sequence of 1000 tokens as input.
63
+ After that, new tokens are generated at a rate of 10 to 15 tokens/sec.
64
+
65
+ # Web Interface
66
+ Try the Web interface at:
67
+ [chat.maritaca.ai](chat.maritaca.ai)
68
+
69
+ <img src="imgs/web_interface.png" width="600">
@@ -0,0 +1,34 @@
1
+ # Introduction
2
+ This repository contains the code and documentation explaining how to use the MariTalk API.
3
+ MariTalk is a chatbot based on a language model that has been specially trained to understand Portuguese well.
4
+ It is able to follow instructions in a zero-shot manner, like ChatGPT.
5
+
6
+ # Usage Example
7
+ This Google Colab contains an example showing how to use the API, which is similar to ChatGPT's API:
8
+
9
+ [Google Colab Example](https://colab.research.google.com/drive/13tieiQdQqYDQGHI8aLtlqoBWMpJ2elyo?usp=sharing)
10
+
11
+ You will also find in the colab an example of how to use the model in a few-shot manner.
12
+
13
+ You can find more details about the API at https://chat.maritaca.ai/docs
14
+
15
+ # Technical Aspects
16
+
17
+ ### Is it free?
18
+ The API is available for free to all users. We plan to introduce a paid version in the future that will offer increased throughput and reliability.
19
+
20
+ ### Rate Limit
21
+ At the moment, there is a limit of 4 requests per minute to ensure that everyone has the opportunity to test the model. If your request is denied due to exceeding this limit, you will receive an HTTP 429 error.
22
+
23
+ ### Maximum sequence length
24
+ Currently, we support a maximum sequence length of 2048 tokens, which is equivalent to approximately 1000 words in Portuguese. We will soon support 8196 tokens.
25
+
26
+ ### Throughput
27
+ It takes about 1 to 2 seconds to generate the first token given a sequence of 1000 tokens as input.
28
+ After that, new tokens are generated at a rate of 10 to 15 tokens/sec.
29
+
30
+ # Web Interface
31
+ Try the Web interface at:
32
+ [chat.maritaca.ai](chat.maritaca.ai)
33
+
34
+ <img src="imgs/web_interface.png" width="600">
@@ -0,0 +1,69 @@
1
+ Metadata-Version: 2.1
2
+ Name: maritalk
3
+ Version: 0.0.1
4
+ Summary: Client library for the MariTalk API
5
+ Author-email: Maritaca AI <info@maritaca.ai>
6
+ License: The MIT License
7
+
8
+ Copyright (c) Maritaca AI (https://maritaca.ai)
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in
18
+ all copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26
+ THE SOFTWARE.
27
+ Project-URL: Homepage, https://github.com/maritaca-ai/maritalk-api
28
+ Project-URL: Bug Tracker, https://github.com/maritaca-ai/maritalk-api/issues
29
+ Classifier: Programming Language :: Python :: 3
30
+ Classifier: License :: OSI Approved :: MIT License
31
+ Classifier: Operating System :: OS Independent
32
+ Requires-Python: >=3.7
33
+ Description-Content-Type: text/markdown
34
+ License-File: LICENSE
35
+
36
+ # Introduction
37
+ This repository contains the code and documentation explaining how to use the MariTalk API.
38
+ MariTalk is a chatbot based on a language model that has been specially trained to understand Portuguese well.
39
+ It is able to follow instructions in a zero-shot manner, like ChatGPT.
40
+
41
+ # Usage Example
42
+ This Google Colab contains an example showing how to use the API, which is similar to ChatGPT's API:
43
+
44
+ [Google Colab Example](https://colab.research.google.com/drive/13tieiQdQqYDQGHI8aLtlqoBWMpJ2elyo?usp=sharing)
45
+
46
+ You will also find in the colab an example of how to use the model in a few-shot manner.
47
+
48
+ You can find more details about the API at https://chat.maritaca.ai/docs
49
+
50
+ # Technical Aspects
51
+
52
+ ### Is it free?
53
+ The API is available for free to all users. We plan to introduce a paid version in the future that will offer increased throughput and reliability.
54
+
55
+ ### Rate Limit
56
+ At the moment, there is a limit of 4 requests per minute to ensure that everyone has the opportunity to test the model. If your request is denied due to exceeding this limit, you will receive an HTTP 429 error.
57
+
58
+ ### Maximum sequence length
59
+ Currently, we support a maximum sequence length of 2048 tokens, which is equivalent to approximately 1000 words in Portuguese. We will soon support 8196 tokens.
60
+
61
+ ### Throughput
62
+ It takes about 1 to 2 seconds to generate the first token given a sequence of 1000 tokens as input.
63
+ After that, new tokens are generated at a rate of 10 to 15 tokens/sec.
64
+
65
+ # Web Interface
66
+ Try the Web interface at:
67
+ [chat.maritaca.ai](chat.maritaca.ai)
68
+
69
+ <img src="imgs/web_interface.png" width="600">
@@ -0,0 +1,9 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ setup.py
5
+ maritalk.egg-info/PKG-INFO
6
+ maritalk.egg-info/SOURCES.txt
7
+ maritalk.egg-info/dependency_links.txt
8
+ maritalk.egg-info/requires.txt
9
+ maritalk.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ requests
@@ -0,0 +1,29 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "maritalk"
7
+ version = "0.0.1"
8
+ authors = [
9
+ { name="Maritaca AI", email="info@maritaca.ai" },
10
+ ]
11
+ description = "Client library for the MariTalk API"
12
+ readme = "README.md"
13
+ requires-python = ">=3.7"
14
+ license = { file = "LICENSE" }
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ "License :: OSI Approved :: MIT License",
18
+ "Operating System :: OS Independent",
19
+ ]
20
+ dependencies = [
21
+ "requests",
22
+ ]
23
+
24
+ [tool.setuptools]
25
+ py-modules = []
26
+
27
+ [project.urls]
28
+ "Homepage" = "https://github.com/maritaca-ai/maritalk-api"
29
+ "Bug Tracker" = "https://github.com/maritaca-ai/maritalk-api/issues"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ from setuptools import setup
2
+
3
+ setup()