Upload tokenizer
Browse files- README.md +87 -34
- chat_template.jinja +2 -2
README.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
---
|
| 2 |
-
---
|
| 3 |
license: other
|
| 4 |
license_name: trillion
|
| 5 |
license_link: LICENSE
|
|
@@ -12,49 +11,97 @@ language:
|
|
| 12 |
- ja
|
| 13 |
pipeline_tag: text-generation
|
| 14 |
library_name: transformers
|
| 15 |
-
extra_gated_prompt:
|
| 16 |
-
|
| 17 |
-
Tri- Model Series Version Effective Date: February 1, 2025
|
| 18 |
|
| 19 |
-
"**Agreement**" means the terms and conditions for use, reproduction, distribution
|
|
|
|
| 20 |
|
| 21 |
-
"**Documentation**" means the specifications, manuals and documentation accompanying
|
|
|
|
| 22 |
|
| 23 |
-
"**Licensee**" or "**you**" means you, or your employer or any other person or entity
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
-
"**Model**" means the artificial intelligence model series provided by Licensor
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
-
"**Trillion Labs**" or "**we**" means Trillion Labs, the owner, developer, and provider
|
|
|
|
| 28 |
|
| 29 |
-
By clicking "I Accept" below or by using or distributing any portion or element
|
|
|
|
| 30 |
|
| 31 |
1\. **License Grant and Redistribution**.
|
| 32 |
|
| 33 |
-
a. Grant of Rights. You are granted a limited, non-exclusive, non-transferable,
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
b. Redistribution and Use.
|
| 36 |
|
| 37 |
-
i. If you distribute or make available the Model (or any derivative works thereof),
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
5\. **Intellectual Property**.
|
| 50 |
|
| 51 |
-
a. No trademark licenses are granted under this Agreement, and in connection with
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
extra_gated_fields:
|
| 59 |
First Name: text
|
| 60 |
Last Name: text
|
|
@@ -71,12 +118,18 @@ extra_gated_fields:
|
|
| 71 |
- Reporter
|
| 72 |
- Other
|
| 73 |
geo: ip_location
|
| 74 |
-
By clicking Submit below I accept the terms of the license and acknowledge that
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
|
|
|
|
|
|
| 78 |
extra_gated_button_content: Submit
|
| 79 |
-
extra_gated_heading:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
---
|
| 81 |
|
| 82 |
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
license: other
|
| 3 |
license_name: trillion
|
| 4 |
license_link: LICENSE
|
|
|
|
| 11 |
- ja
|
| 12 |
pipeline_tag: text-generation
|
| 13 |
library_name: transformers
|
| 14 |
+
extra_gated_prompt: '**TRILLION LABS AI MODEL LICENSE AGREEMENT** Tri- Model Series
|
| 15 |
+
Version Effective Date: February 1, 2025
|
|
|
|
| 16 |
|
| 17 |
+
"**Agreement**" means the terms and conditions for use, reproduction, distribution
|
| 18 |
+
and modification of the Trillion Labs AI Model series set forth herein.
|
| 19 |
|
| 20 |
+
"**Documentation**" means the specifications, manuals and documentation accompanying
|
| 21 |
+
the Tri- Model series distributed by Trillion Labs.
|
| 22 |
|
| 23 |
+
"**Licensee**" or "**you**" means you, or your employer or any other person or entity
|
| 24 |
+
(if you are entering into this Agreement on such person or entity''s behalf), of
|
| 25 |
+
the age required under applicable laws, rules or regulations to provide legal consent
|
| 26 |
+
and that has legal authority to bind your employer or such other person or entity
|
| 27 |
+
if you are entering in this Agreement on their behalf.
|
| 28 |
|
| 29 |
+
"**Model**" means the artificial intelligence model series provided by Licensor
|
| 30 |
+
("Tri-" series), including software, algorithms, machine learning models, and related
|
| 31 |
+
components provided by Licensor, including all updates, enhancements, improvements,
|
| 32 |
+
bug fixes, patches, or other modifications.
|
| 33 |
|
| 34 |
+
"**Trillion Labs**" or "**we**" means Trillion Labs, the owner, developer, and provider
|
| 35 |
+
of the Model, holding all rights, title, and interest in the Model.
|
| 36 |
|
| 37 |
+
By clicking "I Accept" below or by using or distributing any portion or element
|
| 38 |
+
of the Model, you agree to be bound by this Agreement.
|
| 39 |
|
| 40 |
1\. **License Grant and Redistribution**.
|
| 41 |
|
| 42 |
+
a. Grant of Rights. You are granted a limited, non-exclusive, non-transferable,
|
| 43 |
+
worldwide, revocable license under Trillion Labs'' intellectual property or other
|
| 44 |
+
rights to use, reproduce, distribute, and make modifications to the Model for research
|
| 45 |
+
purposes.
|
| 46 |
|
| 47 |
b. Redistribution and Use.
|
| 48 |
|
| 49 |
+
i. If you distribute or make available the Model (or any derivative works thereof),
|
| 50 |
+
or a product or service that contains any of them, you shall (A) provide a copy
|
| 51 |
+
of this Agreement with any such Model; and (B) prominently display "Built with Tri-"
|
| 52 |
+
on a related website, user interface, blogpost, about page, or product documentation.
|
| 53 |
+
If you use the Model to create, train, fine tune, or otherwise improve an AI model,
|
| 54 |
+
which is distributed or made available, you shall also include "Tri-" followed by
|
| 55 |
+
the original Model version at the beginning of any such AI model name.
|
| 56 |
+
|
| 57 |
+
ii. You must retain in all copies of the Model that you distribute the following
|
| 58 |
+
attribution notice within a "Notice" text file distributed as a part of such copies:
|
| 59 |
+
"Tri- Model Series is licensed under the Trillion Labs AI Model License Agreement,
|
| 60 |
+
Copyright © Trillion Labs. All Rights Reserved."
|
| 61 |
+
|
| 62 |
+
iii. Your use of the Model must comply with applicable laws and regulations (including
|
| 63 |
+
trade compliance laws and regulations).
|
| 64 |
+
|
| 65 |
+
2\. **Additional Commercial Terms**. If the monthly active users of the products
|
| 66 |
+
or services made available by or for Licensee, or Licensee''s affiliates, is greater
|
| 67 |
+
than 1 million monthly active users OR Annual Recurring Revenue is greater than
|
| 68 |
+
$10 million USD, you must request a commercial license from Trillion Labs, and you
|
| 69 |
+
are not authorized to exercise any commercial rights under this Agreement unless
|
| 70 |
+
or until Trillion Labs otherwise expressly grants you such rights.
|
| 71 |
+
|
| 72 |
+
3\. **Disclaimer of Warranty**. THE MODEL, DERIVATIVES, AND OUTPUT ARE PROVIDED
|
| 73 |
+
ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, AND TRILLION LABS DISCLAIMS
|
| 74 |
+
ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED, INCLUDING, WITHOUT LIMITATION,
|
| 75 |
+
ANY WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR
|
| 76 |
+
PURPOSE.
|
| 77 |
+
|
| 78 |
+
4\. **Limitation of Liability**. IN NO EVENT WILL TRILLION LABS BE LIABLE UNDER
|
| 79 |
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY,
|
| 80 |
+
OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT,
|
| 81 |
+
SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES.
|
| 82 |
|
| 83 |
5\. **Intellectual Property**.
|
| 84 |
|
| 85 |
+
a. No trademark licenses are granted under this Agreement, and in connection with
|
| 86 |
+
the Model, neither Trillion Labs nor Licensee may use any name or mark owned by
|
| 87 |
+
or associated with the other or any of its affiliates, except as required for reasonable
|
| 88 |
+
and customary use in describing and redistributing the Model or as set forth in
|
| 89 |
+
this Section 5(a).
|
| 90 |
+
|
| 91 |
+
b. All rights, title, and interest in the Model, including modifications, Derivatives,
|
| 92 |
+
and documentation, remain exclusively with Trillion Labs.
|
| 93 |
+
|
| 94 |
+
6\. **Term and Termination**. The term of this Agreement will commence upon your
|
| 95 |
+
acceptance of this Agreement or access to the Model and will continue in full force
|
| 96 |
+
and effect until terminated in accordance with the terms and conditions herein.
|
| 97 |
+
Trillion Labs may terminate this Agreement if you are in breach of any term or condition
|
| 98 |
+
of this Agreement. Upon termination of this Agreement, you shall delete and cease
|
| 99 |
+
use of the Model. Sections 3, 4 and 5 shall survive the termination of this Agreement.
|
| 100 |
+
|
| 101 |
+
7\. **Governing Law and Jurisdiction**. This Agreement will be governed and construed
|
| 102 |
+
under the laws of the State of California without regard to choice of law principles.
|
| 103 |
+
The courts of California shall have exclusive jurisdiction of any dispute arising
|
| 104 |
+
out of this Agreement.'
|
| 105 |
extra_gated_fields:
|
| 106 |
First Name: text
|
| 107 |
Last Name: text
|
|
|
|
| 118 |
- Reporter
|
| 119 |
- Other
|
| 120 |
geo: ip_location
|
| 121 |
+
? By clicking Submit below I accept the terms of the license and acknowledge that
|
| 122 |
+
the information I provide will be collected stored processed and shared in accordance
|
| 123 |
+
with the Trillion Labs Privacy Policy
|
| 124 |
+
: checkbox
|
| 125 |
+
extra_gated_description: The information you provide will be collected, stored, processed
|
| 126 |
+
and shared in accordance with the Trillion Labs Privacy Policy.
|
| 127 |
extra_gated_button_content: Submit
|
| 128 |
+
extra_gated_heading: Please be sure to provide your full legal name, date of birth,
|
| 129 |
+
and full organization name with all corporate identifiers. Avoid the use of acronyms
|
| 130 |
+
and special characters. Failure to follow these instructions may prevent you from
|
| 131 |
+
accessing this model and others on Hugging Face. You will not have the ability to
|
| 132 |
+
edit this form after submission, so please ensure all information is accurate.
|
| 133 |
---
|
| 134 |
|
| 135 |
|
chat_template.jinja
CHANGED
|
@@ -16,7 +16,7 @@
|
|
| 16 |
{%- if messages[0]['role'] == 'system' %}
|
| 17 |
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 18 |
{%- else %}
|
| 19 |
-
{{- '<|im_start|>system\nYou are Trillion, created by TrillionLabs. You
|
| 20 |
{%- endif %}
|
| 21 |
{%- endif %}
|
| 22 |
{%- for message in messages %}
|
|
@@ -40,7 +40,7 @@
|
|
| 40 |
{{- '<|im_end|>\n' }}
|
| 41 |
{%- elif message.role == "tool" %}
|
| 42 |
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 43 |
-
{{- '<|im_start|>tool\n' }}
|
| 44 |
{%- endif %}
|
| 45 |
{% for tool_response in message.content %}
|
| 46 |
{{- tool_response | tojson }}
|
|
|
|
| 16 |
{%- if messages[0]['role'] == 'system' %}
|
| 17 |
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 18 |
{%- else %}
|
| 19 |
+
{{- '<|im_start|>system\nYou are Trillion, created by TrillionLabs. You a re a helpful assistant.<|im_end|>\n' }}
|
| 20 |
{%- endif %}
|
| 21 |
{%- endif %}
|
| 22 |
{%- for message in messages %}
|
|
|
|
| 40 |
{{- '<|im_end|>\n' }}
|
| 41 |
{%- elif message.role == "tool" %}
|
| 42 |
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 43 |
+
{{- '<|im_start|>tool' + '\n' }}
|
| 44 |
{%- endif %}
|
| 45 |
{% for tool_response in message.content %}
|
| 46 |
{{- tool_response | tojson }}
|