初始化项目,由ModelHub XC社区提供模型

Model: TucanoBR/Tucano-1b1
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-07 20:21:07 +08:00
commit be406c7d28
19 changed files with 65320 additions and 0 deletions

35
.gitattributes vendored Normal file
View File

@@ -0,0 +1,35 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text

25
EVALS-1b1.csv Normal file
View File

@@ -0,0 +1,25 @@
step,calame_pt,lambada_pt,enem,bluex,oab_exams,assin2_rte,assin2_sts,faquad_nli,hatebr,hatespeech_pt,tweet_br,arc_pt,hellaswag_pt,truthfulqa
20000,52.26,27.91,20.22,21.56,25.51,45.88,0.9,43.97,36.18,44.25,20.73,27.52,35.02,41.61
40000,53.95,28.84,20.71,23.37,23.69,33.33,7.0,43.97,33.59,23.1,35.38,28.8,36.5,40.87
60000,53.9,28.62,18.4,24.48,25.97,34.77,7.7,43.97,33.21,41.19,15.07,29.49,37.31,41.54
80000,54.77,29.3,20.99,24.76,25.74,33.77,0.98,43.97,32.76,41.23,15.16,28.63,38.7,40.94
100000,55.01,30.74,20.85,21.14,24.69,53.43,0.0,43.97,32.65,42.43,20.91,27.86,38.96,41.41
120000,54.72,29.07,20.08,21.28,25.28,33.33,0.29,43.97,33.49,22.99,21.19,28.63,39.05,40.39
140000,55.44,30.33,21.9,22.53,26.2,33.33,4.57,43.97,35.71,48.5,31.33,28.72,40.17,39.14
160000,56.5,30.62,20.22,23.5,23.19,48.56,1.59,43.97,24.33,25.71,15.64,29.23,40.33,43.85
180000,55.49,30.39,21.97,24.06,27.74,40.37,2.1,43.97,35.38,26.57,42.82,29.49,40.64,40.63
200000,55.49,34.17,20.43,23.09,26.79,46.53,2.01,43.97,26.17,42.99,35.51,29.91,40.84,41.9
220000,56.5,33.82,20.85,23.23,25.6,33.33,1.5,43.97,33.56,43.99,45.59,28.8,41.75,40.48
240000,56.36,33.01,20.22,24.48,25.47,59.28,3.81,43.97,28.21,41.19,20.73,29.49,41.71,40.13
260000,56.7,33.5,20.64,23.78,25.74,55.0,5.87,43.97,25.38,41.65,14.43,29.32,42.07,38.55
280000,56.89,31.81,20.57,22.11,25.92,65.27,17.2,43.97,33.21,41.23,33.41,29.66,42.34,39.74
300000,56.79,33.84,21.13,24.62,26.29,59.36,18.42,43.97,30.32,41.61,20.73,29.74,42.54,39.99
320000,57.42,34.08,20.15,24.62,26.24,62.9,4.53,43.97,30.45,41.23,21.46,29.57,42.84,41.08
340000,56.98,33.88,20.36,24.06,26.65,55.38,17.06,43.97,29.42,41.23,29.0,30.09,42.71,40.25
360000,56.94,34.47,20.71,24.06,25.83,55.66,15.49,43.97,30.14,41.48,32.04,30.0,42.62,40.32
380000,57.56,34.23,20.99,24.62,25.42,61.07,17.93,43.97,28.84,41.23,26.95,30.26,42.46,41.03
400000,57.76,34.8,21.13,24.34,26.24,54.06,19.49,43.97,27.73,41.57,32.57,30.09,42.8,41.35
420000,57.37,34.02,21.34,24.2,25.47,66.91,13.99,43.97,31.35,41.23,32.75,30.26,42.95,41.23
440000,58.14,34.23,20.92,25.03,25.97,58.19,13.86,43.97,30.03,41.23,32.22,29.91,42.88,41.4
460000,58.0,35.01,21.83,25.03,25.47,54.52,26.75,43.97,29.72,41.19,31.78,29.74,42.79,41.02
480000,58.24,34.7,21.41,23.37,25.97,60.82,24.63,43.97,29.0,41.19,32.18,30.43,42.84,41.59
1 step calame_pt lambada_pt enem bluex oab_exams assin2_rte assin2_sts faquad_nli hatebr hatespeech_pt tweet_br arc_pt hellaswag_pt truthfulqa
2 20000 52.26 27.91 20.22 21.56 25.51 45.88 0.9 43.97 36.18 44.25 20.73 27.52 35.02 41.61
3 40000 53.95 28.84 20.71 23.37 23.69 33.33 7.0 43.97 33.59 23.1 35.38 28.8 36.5 40.87
4 60000 53.9 28.62 18.4 24.48 25.97 34.77 7.7 43.97 33.21 41.19 15.07 29.49 37.31 41.54
5 80000 54.77 29.3 20.99 24.76 25.74 33.77 0.98 43.97 32.76 41.23 15.16 28.63 38.7 40.94
6 100000 55.01 30.74 20.85 21.14 24.69 53.43 0.0 43.97 32.65 42.43 20.91 27.86 38.96 41.41
7 120000 54.72 29.07 20.08 21.28 25.28 33.33 0.29 43.97 33.49 22.99 21.19 28.63 39.05 40.39
8 140000 55.44 30.33 21.9 22.53 26.2 33.33 4.57 43.97 35.71 48.5 31.33 28.72 40.17 39.14
9 160000 56.5 30.62 20.22 23.5 23.19 48.56 1.59 43.97 24.33 25.71 15.64 29.23 40.33 43.85
10 180000 55.49 30.39 21.97 24.06 27.74 40.37 2.1 43.97 35.38 26.57 42.82 29.49 40.64 40.63
11 200000 55.49 34.17 20.43 23.09 26.79 46.53 2.01 43.97 26.17 42.99 35.51 29.91 40.84 41.9
12 220000 56.5 33.82 20.85 23.23 25.6 33.33 1.5 43.97 33.56 43.99 45.59 28.8 41.75 40.48
13 240000 56.36 33.01 20.22 24.48 25.47 59.28 3.81 43.97 28.21 41.19 20.73 29.49 41.71 40.13
14 260000 56.7 33.5 20.64 23.78 25.74 55.0 5.87 43.97 25.38 41.65 14.43 29.32 42.07 38.55
15 280000 56.89 31.81 20.57 22.11 25.92 65.27 17.2 43.97 33.21 41.23 33.41 29.66 42.34 39.74
16 300000 56.79 33.84 21.13 24.62 26.29 59.36 18.42 43.97 30.32 41.61 20.73 29.74 42.54 39.99
17 320000 57.42 34.08 20.15 24.62 26.24 62.9 4.53 43.97 30.45 41.23 21.46 29.57 42.84 41.08
18 340000 56.98 33.88 20.36 24.06 26.65 55.38 17.06 43.97 29.42 41.23 29.0 30.09 42.71 40.25
19 360000 56.94 34.47 20.71 24.06 25.83 55.66 15.49 43.97 30.14 41.48 32.04 30.0 42.62 40.32
20 380000 57.56 34.23 20.99 24.62 25.42 61.07 17.93 43.97 28.84 41.23 26.95 30.26 42.46 41.03
21 400000 57.76 34.8 21.13 24.34 26.24 54.06 19.49 43.97 27.73 41.57 32.57 30.09 42.8 41.35
22 420000 57.37 34.02 21.34 24.2 25.47 66.91 13.99 43.97 31.35 41.23 32.75 30.26 42.95 41.23
23 440000 58.14 34.23 20.92 25.03 25.97 58.19 13.86 43.97 30.03 41.23 32.22 29.91 42.88 41.4
24 460000 58.0 35.01 21.83 25.03 25.47 54.52 26.75 43.97 29.72 41.19 31.78 29.74 42.79 41.02
25 480000 58.24 34.7 21.41 23.37 25.97 60.82 24.63 43.97 29.0 41.19 32.18 30.43 42.84 41.59

190
LICENSE Normal file
View File

@@ -0,0 +1,190 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
Copyright Nicholas Kluge Corrêa, Aniket Sen, Sophia Falk, and Shiza Fatimah
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

428
README.md Normal file
View File

@@ -0,0 +1,428 @@
---
language:
- pt
license: apache-2.0
library_name: transformers
tags:
- text-generation-inference
datasets:
- TucanoBR/GigaVerbo
metrics:
- perplexity
pipeline_tag: text-generation
widget:
- text: "A floresta da Amazônia é conhecida por sua"
example_title: Exemplo
- text: "Uma das coisas que Portugal, Angola, Brasil e Moçambique tem em comum é o"
example_title: Exemplo
- text: "O Carnaval do Rio de Janeiro é"
example_title: Exemplo
inference:
parameters:
repetition_penalty: 1.2
temperature: 0.1
top_k: 50
top_p: 1.0
max_new_tokens: 150
co2_eq_emissions:
emissions: 960000
source: CodeCarbon
training_type: pre-training
geographical_location: Germany
hardware_used: NVIDIA A100-SXM4-80GB
model-index:
- name: Tucano-1b1
results:
- task:
type: text-generation
name: Text Generation
dataset:
name: CALAME-PT
type: NOVA-vision-language/calame-pt
split: all
args:
num_few_shot: 0
metrics:
- type: acc
value: 58.24
name: accuracy
source:
url: https://huggingface.co/datasets/NOVA-vision-language/calame-pt
name: Context-Aware LAnguage Modeling Evaluation for Portuguese
- task:
type: text-generation
name: Text Generation
dataset:
name: LAMBADA-PT
type: TucanoBR/lambada-pt
split: train
args:
num_few_shot: 0
metrics:
- type: acc
value: 34.7
name: accuracy
source:
url: https://huggingface.co/datasets/TucanoBR/lambada-pt
name: LAMBADA-PT
- task:
type: text-generation
name: Text Generation
dataset:
name: ENEM Challenge (No Images)
type: eduagarcia/enem_challenge
split: train
args:
num_few_shot: 3
metrics:
- type: acc
value: 21.41
name: accuracy
source:
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard
name: Open Portuguese LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: BLUEX (No Images)
type: eduagarcia-temp/BLUEX_without_images
split: train
args:
num_few_shot: 3
metrics:
- type: acc
value: 23.37
name: accuracy
source:
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard
name: Open Portuguese LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: OAB Exams
type: eduagarcia/oab_exams
split: train
args:
num_few_shot: 3
metrics:
- type: acc
value: 25.97
name: accuracy
source:
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard
name: Open Portuguese LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: Assin2 RTE
type: assin2
split: test
args:
num_few_shot: 15
metrics:
- type: f1_macro
value: 60.82
name: f1-macro
source:
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard
name: Open Portuguese LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: Assin2 STS
type: eduagarcia/portuguese_benchmark
split: test
args:
num_few_shot: 10
metrics:
- type: pearson
value: 24.63
name: pearson
source:
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard
name: Open Portuguese LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: FaQuAD NLI
type: ruanchaves/faquad-nli
split: test
args:
num_few_shot: 15
metrics:
- type: f1_macro
value: 43.97
name: f1-macro
source:
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard
name: Open Portuguese LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: HateBR Binary
type: ruanchaves/hatebr
split: test
args:
num_few_shot: 25
metrics:
- type: f1_macro
value: 29.0
name: f1-macro
source:
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard
name: Open Portuguese LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: PT Hate Speech Binary
type: hate_speech_portuguese
split: test
args:
num_few_shot: 25
metrics:
- type: f1_macro
value: 41.19
name: f1-macro
source:
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard
name: Open Portuguese LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: tweetSentBR
type: eduagarcia-temp/tweetsentbr
split: test
args:
num_few_shot: 25
metrics:
- type: f1_macro
value: 32.18
name: f1-macro
source:
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard
name: Open Portuguese LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: ARC-Challenge (PT)
type: arc_pt
args:
num_few_shot: 25
metrics:
- type: acc_norm
value: 30.43
name: normalized accuracy
source:
url: https://github.com/nlp-uoregon/mlmm-evaluation
name: Evaluation Framework for Multilingual Large Language Models
- task:
type: text-generation
name: Text Generation
dataset:
name: HellaSwag (PT)
type: hellaswag_pt
args:
num_few_shot: 10
metrics:
- type: acc_norm
value: 42.84
name: normalized accuracy
source:
url: https://github.com/nlp-uoregon/mlmm-evaluation
name: Evaluation Framework for Multilingual Large Language Models
- task:
type: text-generation
name: Text Generation
dataset:
name: TruthfulQA
type: truthfulqa_pt
args:
num_few_shot: 0
metrics:
- type: mc2
value: 41.59
name: bleurt
source:
url: https://github.com/nlp-uoregon/mlmm-evaluation
name: Evaluation Framework for Multilingual Large Language Models
---
# Tucano-1b1
<img src="./logo.png" alt="An illustration of a Tucano bird showing vibrant colors like yellow, orange, blue, green, and black." height="200">
## Model Summary
**[Tucano](https://huggingface.co/TucanoBR)** is a series of decoder-transformers natively pretrained in Portuguese. All Tucano models were trained on **[GigaVerbo](https://huggingface.co/datasets/TucanoBR/GigaVerbo)**, a concatenation of deduplicated Portuguese text corpora amounting to 200 billion tokens.
Read our preprint [here](https://arxiv.org/abs/2411.07854).
## Details
- **Architecture:** a Transformer-based model pre-trained via causal language modeling
- **Size:** 1,100,048,384 parameters
- **Context length:** 2048 tokens
- **Dataset:** [TucanoBR/GigaVerbo](https://huggingface.co/datasets/TucanoBR/GigaVerbo)
- **Language:** Portuguese
- **Number of steps:** 480,000
- **GPU:** 16 NVIDIA A100-SXM4-80GB
- **Training time**: ~ 180 hours
- **Emissions:** 962 KgCO2 (Germany)
- **Total energy consumption:** 2524 kWh
This repository has the [source code](https://github.com/Nkluge-correa/Tucano) used to train this model. The main libraries used are:
- [PyTorch](https://github.com/pytorch/pytorch)
- [Transformers](https://github.com/huggingface/transformers)
- [Datasets](https://github.com/huggingface/datasets)
- [Tokenizers](https://github.com/huggingface/tokenizers)
- [Sentencepiece](https://github.com/google/sentencepiece)
- [Accelerate](https://github.com/huggingface/accelerate)
- [FlashAttention](https://github.com/Dao-AILab/flash-attention)
- [Liger Kernel](https://github.com/linkedin/Liger-Kernel)
- [Codecarbon](https://github.com/mlco2/codecarbon)
- [TRL](https://github.com/huggingface/trl)
## Intended Uses
The primary intended use of the Tucano models is to serve as foundations for research and development involving native Portuguese language modeling. Checkpoints saved during training are designed to provide a controlled setting for performing comparative experiments, specifically regarding the effects of active pretraining on the performance of currently available benchmarks. You may also fine-tune and adapt Tucano models for deployment if your use follows the Apache 2.0 license. If you decide to use the Tucano models as a basis for your fine-tuned model, please conduct your own risk and bias assessment.
## Out-of-scope Use
- Tucano models are **not intended for deployment**. They are not an out-of-the-box product and should not be used for human-facing interactions.
- Tucano models are for **the Portuguese language only** and are unsuitable for text generation tasks in other languages.
- Tucano models have **not been fine-tuned** for downstream tasks.
## Basic usage
Using the `pipeline`:
```python
from transformers import pipeline
generator = pipeline("text-generation", model="TucanoBR/Tucano-1b1")
completions = generator("A floresta da Amazônia é conhecida por sua", num_return_sequences=2, max_new_tokens=100)
for comp in completions:
print(f"🤖 {comp['generated_text']}")
```
Using the `AutoTokenizer` and `AutoModelForCausalLM`:
```python
from transformers import GenerationConfig, TextGenerationPipeline, AutoTokenizer, AutoModelForCausalLM
import torch
# Specify the model and tokenizer
model_id = "TucanoBR/Tucano-1b1"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
# Specify the generation parameters as you like
generation_config = GenerationConfig(
**{
"do_sample": True,
"max_new_tokens": 2048,
"renormalize_logits": True,
"repetition_penalty": 1.2,
"temperature": 0.1,
"top_k": 50,
"top_p": 1.0,
"use_cache": True,
}
)
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
generator = TextGenerationPipeline(model=model, task="text-generation", tokenizer=tokenizer, device=device)
# Generate text
prompt = "A floresta da Amazônia é conhecida por sua"
completion = generator(prompt, generation_config=generation_config)
print(completion[0]['generated_text'])
```
## Limitations
Like almost all other language models trained on large text datasets scraped from the web, the Tucano models show behavior that does not make them an out-of-the-box solution to many real-world applications, especially those requiring factual, reliable, and nontoxic text generation. Tucano models are all subject to the following:
- **Hallucinations:** Tucano models can produce content that can be mistaken as true facts, but are misleading or entirely false, i.e., hallucination.
- **Biases and Toxicity:** Tucano models inherit the social and historical stereotypes from the data used to train them. Given these biases, the model can produce toxic content, i.e., harmful, offensive, or detrimental to individuals, groups, or communities.
- **Unreliable Code:** Tucano models may produce incorrect code snippets and statements. These code generations should not be treated as suggestions or accurate solutions.
- **Language Limitations:** Tucano models are primarily designed to interact with Portuguese. Other languages might challenge its comprehension, leading to potential misinterpretations or errors in response.
- **Repetition and Verbosity:** Tucano models may get stuck on repetition loops (especially if the repetition penalty during generations is set to a meager value) or produce verbose responses unrelated to the prompt it was given.
Hence, even though our models are released with a permissive license, we urge users to perform their risk analysis on them if they intend to use them for real-world applications.
## Evaluations
The table below compares our models against several Portuguese and multilingual language models on the evaluation harness used in our study. More information on it can be found [here](https://github.com/Nkluge-correa/Tucano/tree/main/evaluations/README.md). To learn more about our evaluation harness selection, [read our preprint](https://arxiv.org/abs/2411.07854).
| | Average | Calame-PT | Lambada-PT | ARC-PT | HellaSwag-PT |
|-----------------|---------|-----------|------------|--------|--------------|
| Llama-3.2-3B | 52 | 58.43 | 49.1 | 43.25 | 57.2 |
| Granite-3.0-2b | 51.63 | 56.36 | 47.55 | 42.56 | 60.05 |
| **Tucano-2b4** | 43.58 | 59.06 | 37.67 | 30.43 | 47.17 |
| Llama-3.2-1B | 42.95 | 51.83 | 41.02 | 33.5 | 45.44 |
| **Tucano-1b1** | 41.55 | 58.24 | 34.7 | 30.43 | 42.84 |
| Gemma-2b | 40.38 | 51.16 | 39.88 | 37.95 | 32.53 |
| Bloom-1b7 | 40.37 | 55.64 | 31.98 | 30.34 | 43.52 |
| **Tucano-630m** | 39.5 | 56.55 | 33.13 | 28.89 | 39.41 |
| Gemma-2-2b | 39.21 | 56.7 | 47.1 | 24.19 | 28.85 |
| Bloom-1b1 | 38.18 | 52.94 | 30.22 | 29.83 | 39.74 |
| GlórIA-1b3 | 36.05 | 52.79 | 27.71 | 26.67 | 37.04 |
| **Tucano-160m** | 35.14 | 52.31 | 28.16 | 27.01 | 33.07 |
| Xglm-564m | 34.55 | 50.58 | 27.42 | 25.56 | 34.64 |
| Bloom-560m | 34.32 | 49.95 | 25.44 | 24.74 | 37.15 |
| TTL-460m | 33.78 | 49.42 | 23.29 | 29.4 | 33 |
| mGPT-1b3 | 31.81 | 47.14 | 29.92 | 23.81 | 26.37 |
| TTL-160m | 30.78 | 46.72 | 20.98 | 26.15 | 29.29 |
| Lola-v1 | 30.19 | 26.4 | 18.32 | 30.42 | 45.61 |
| GPorTuguese | 28.92 | 40.61 | 22.98 | 22.48 | 29.62 |
## Cite as 🤗
```latex
@misc{correa2024tucanoadvancingneuraltext,
title={{Tucano: Advancing Neural Text Generation for Portuguese}},
author={Corr{\^e}a, Nicholas Kluge and Sen, Aniket and Falk, Sophia and Fatimah, Shiza},
year={2024},
eprint={2411.07854},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2411.07854},
}
@article{correa2025tucanoadvancingneuraltext,
title={{Tucano: Advancing Neural Text Generation for Portuguese}},
author={Corr{\^e}a, Nicholas Kluge and Sen, Aniket and Falk, Sophia and Fatimah, Shiza},
journal={Patterns},
publisher={Elsevier},
year={2025},
doi={10.1016/j.patter.2025.101325},
url={https://doi.org/10.1016/j.patter.2025.101325},
issn={2666-3899}
}
```
## Aknowlegments
We gratefully acknowledge the granted access to the [Marvin cluster](https://www.hpc.uni-bonn.de/en/systems/marvin) hosted by [University of Bonn](https://www.uni-bonn.de/en) along with the support provided by its High Performance Computing \& Analytics Lab.
## License
Tucano is licensed under the Apache License, Version 2.0. For more details, see the [LICENSE](LICENSE) file.

29
config.json Normal file
View File

@@ -0,0 +1,29 @@
{
"architectures": [
"LlamaForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 1,
"eos_token_id": 2,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 5632,
"max_position_embeddings": 2048,
"mlp_bias": false,
"model_type": "llama",
"num_attention_heads": 32,
"num_hidden_layers": 22,
"num_key_value_heads": 4,
"pad_token_id": 3,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": null,
"rope_theta": 10000.0,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.44.2",
"use_cache": false,
"vocab_size": 32000
}

25
emissions-1b1.csv Normal file
View File

@@ -0,0 +1,25 @@
timestamp,project_name,run_id,experiment_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue
2024-09-12T17:57:41,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,27247.30610721185,10.015943914189045,0.0003675939145975,112.5,367.0054245822304,1462.5000000000002,0.8514773174590948,14.381625306124391,11.058914476269631,26.29201709985312,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-13T01:31:35,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,54481.02228879742,20.018853414582708,0.000367446361569,112.5,1202.0844283824615,1462.5000000000002,1.702529874832604,28.734935375707693,22.11235339910605,52.54981864964616,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-13T09:05:29,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,81715.3288690485,30.02337704778622,0.0003674142595191,112.5,617.6210274117044,1462.5000000000002,2.553600868572124,43.09225272266352,33.166003733312,78.8118573245471,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-13T16:39:24,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,108950.1702327542,40.03416571860192,0.000367453906984,112.5,365.938992304721,1462.5000000000002,3.4046885920949217,57.46582310762173,44.21983012625034,105.09034182596643,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-14T00:13:18,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,136183.92325444147,50.0461611129213,0.0003674894944788,112.5,949.472214724526,1462.5000000000002,4.255742306321944,71.84291667762068,55.27333501243925,131.3719939963809,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-14T07:47:09,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,163414.38181183022,60.04621527208906,0.0003674475563676,112.5,1238.7117060242454,1462.5000000000002,5.106693056424311,86.19022114073286,66.32538603145373,157.6223002286102,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-14T15:20:59,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,190644.5751017444,70.05201998267046,0.0003674482735492,112.5,368.5193681459602,1462.5000000000002,5.957635524559434,100.55273258073282,77.37733364735453,183.8877017526459,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-14T22:54:50,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,217875.8166771913,80.05203165067356,0.0003674204547872,112.5,849.5914898694652,1462.5000000000002,6.808610736360269,114.8995535784582,88.42973213005351,210.13789644487088,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-15T06:28:35,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,245101.1975362292,90.06297075282262,0.0003674521857018,112.5,840.0899355701943,1462.5000000000002,7.6594028130907645,129.27761091006164,99.4797621078563,236.41677583100832,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-15T14:02:35,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,272341.17733823974,100.0626755223104,0.0003674166224156,112.5,610.6057202793899,1462.5000000000002,8.510651128973068,143.61977097655824,110.53574280406498,262.66616490959547,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-15T21:36:27,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,299572.78397507034,110.06126118823016,0.0003673940593928,112.5,1216.2523624595644,1462.5000000000002,9.36163774911384,157.9626341391729,121.5883444346695,288.9126163229562,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-16T05:10:29,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,326814.46961872093,120.07239822584046,0.0003674023318671,112.5,402.815642710474,1462.5000000000002,10.212939346087309,172.33412914108192,132.64494680575658,315.1920152929268,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-16T12:44:13,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,354039.2915133182,130.07487299097775,0.0003674023649606,112.5,1195.163045723905,1462.5000000000002,11.063713956480903,186.69023233123312,143.69472936782282,341.44867565553943,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-16T20:18:08,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,381273.43513399456,140.08072102660702,0.0003674022581126,112.5,482.9755664710794,1462.5000000000002,11.914779838264565,201.05121404334253,154.74819702692602,367.7141909085366,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-17T03:51:56,Tucano,8abb3496-d41b-4a51-b17e-a344e2e1352d,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,408501.7608240498,150.09189364544437,0.0003674204325158,112.5,953.6389801278068,1462.5000000000002,12.765663931582212,215.4286528697289,165.79936647849755,393.99368327981193,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-18T05:57:52,Tucano,864e6844-11e3-45b6-bbb0-1333f2ae0ee5,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,27851.25258282479,10.152379069287823,0.0003645214533564,112.5,756.6053800865693,1462.5000000000002,0.87035047546809,14.475888117367871,11.30392302755469,26.650161620390666,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-18T13:35:36,Tucano,864e6844-11e3-45b6-bbb0-1333f2ae0ee5,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,55315.04723507911,20.235332617435333,0.0003658196752763,112.5,637.7939329785544,1462.5000000000002,1.7285929697236868,28.93881821770273,22.45066892134178,53.11808010876842,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-18T21:13:04,Tucano,864e6844-11e3-45b6-bbb0-1333f2ae0ee5,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,82762.61081709992,30.312462356454848,0.0003662579280327,112.5,400.48957049723305,1462.5000000000002,2.586328122884097,43.39359732512796,33.5907855546255,79.57071100263774,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-19T04:50:43,Tucano,864e6844-11e3-45b6-bbb0-1333f2ae0ee5,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,110221.83750608563,40.40472902317392,0.0003665764419953,112.5,1164.9782858892354,1462.5000000000002,3.444427902429404,57.88302197471387,44.735626702916505,106.06307658006016,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-19T12:27:56,Tucano,864e6844-11e3-45b6-bbb0-1333f2ae0ee5,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,137654.75071955938,50.48607026952909,0.0003667586480352,112.5,962.1376956361358,1462.5000000000002,4.30170536021414,72.35508819763535,55.86996919193136,132.52676274978106,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-19T20:05:29,Tucano,864e6844-11e3-45b6-bbb0-1333f2ae0ee5,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,165107.72437085118,60.57791843631831,0.0003668993602034,112.5,1102.4296833726032,1462.5000000000002,5.159609678366945,86.8462373791566,67.01218270049823,159.01802975802156,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-20T03:42:56,Tucano,864e6844-11e3-45b6-bbb0-1333f2ae0ee5,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,192554.66328676045,70.67413439067057,0.0003670341355764,112.5,733.1988038000194,1462.5000000000002,6.017325388716304,101.35139402438364,78.15204286717484,185.5207622802745,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-20T11:20:04,Tucano,864e6844-11e3-45b6-bbb0-1333f2ae0ee5,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,219982.53006535865,80.74964817739655,0.0003670730041763,112.5,395.9890626628256,1462.5000000000002,6.874445116567186,115.81044917134082,89.28425698495373,211.96915127286135,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
2024-09-20T18:29:20,Tucano,864e6844-11e3-45b6-bbb0-1333f2ae0ee5,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,245739.14120792225,90.2243318290321,0.0003671549081906021,112.5,1902.1283936862594,1462.5000000000002,7.6793381486377355,129.4228860443372,99.73812711043004,236.84035130340487,Germany,DEU,north rhine-westphalia,,,Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34,3.11.3,2.7.1,512,AMD EPYC 7713 64-Core Processor,4,4 x NVIDIA A100-SXM4-80GB,7.0932,50.7263,3900,machine,N,1.0
1 timestamp project_name run_id experiment_id duration emissions emissions_rate cpu_power gpu_power ram_power cpu_energy gpu_energy ram_energy energy_consumed country_name country_iso_code region cloud_provider cloud_region os python_version codecarbon_version cpu_count cpu_model gpu_count gpu_model longitude latitude ram_total_size tracking_mode on_cloud pue
2 2024-09-12T17:57:41 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 27247.30610721185 10.015943914189045 0.0003675939145975 112.5 367.0054245822304 1462.5000000000002 0.8514773174590948 14.381625306124391 11.058914476269631 26.29201709985312 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
3 2024-09-13T01:31:35 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 54481.02228879742 20.018853414582708 0.000367446361569 112.5 1202.0844283824615 1462.5000000000002 1.702529874832604 28.734935375707693 22.11235339910605 52.54981864964616 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
4 2024-09-13T09:05:29 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 81715.3288690485 30.02337704778622 0.0003674142595191 112.5 617.6210274117044 1462.5000000000002 2.553600868572124 43.09225272266352 33.166003733312 78.8118573245471 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
5 2024-09-13T16:39:24 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 108950.1702327542 40.03416571860192 0.000367453906984 112.5 365.938992304721 1462.5000000000002 3.4046885920949217 57.46582310762173 44.21983012625034 105.09034182596643 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
6 2024-09-14T00:13:18 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 136183.92325444147 50.0461611129213 0.0003674894944788 112.5 949.472214724526 1462.5000000000002 4.255742306321944 71.84291667762068 55.27333501243925 131.3719939963809 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
7 2024-09-14T07:47:09 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 163414.38181183022 60.04621527208906 0.0003674475563676 112.5 1238.7117060242454 1462.5000000000002 5.106693056424311 86.19022114073286 66.32538603145373 157.6223002286102 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
8 2024-09-14T15:20:59 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 190644.5751017444 70.05201998267046 0.0003674482735492 112.5 368.5193681459602 1462.5000000000002 5.957635524559434 100.55273258073282 77.37733364735453 183.8877017526459 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
9 2024-09-14T22:54:50 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 217875.8166771913 80.05203165067356 0.0003674204547872 112.5 849.5914898694652 1462.5000000000002 6.808610736360269 114.8995535784582 88.42973213005351 210.13789644487088 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
10 2024-09-15T06:28:35 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 245101.1975362292 90.06297075282262 0.0003674521857018 112.5 840.0899355701943 1462.5000000000002 7.6594028130907645 129.27761091006164 99.4797621078563 236.41677583100832 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
11 2024-09-15T14:02:35 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 272341.17733823974 100.0626755223104 0.0003674166224156 112.5 610.6057202793899 1462.5000000000002 8.510651128973068 143.61977097655824 110.53574280406498 262.66616490959547 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
12 2024-09-15T21:36:27 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 299572.78397507034 110.06126118823016 0.0003673940593928 112.5 1216.2523624595644 1462.5000000000002 9.36163774911384 157.9626341391729 121.5883444346695 288.9126163229562 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
13 2024-09-16T05:10:29 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 326814.46961872093 120.07239822584046 0.0003674023318671 112.5 402.815642710474 1462.5000000000002 10.212939346087309 172.33412914108192 132.64494680575658 315.1920152929268 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
14 2024-09-16T12:44:13 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 354039.2915133182 130.07487299097775 0.0003674023649606 112.5 1195.163045723905 1462.5000000000002 11.063713956480903 186.69023233123312 143.69472936782282 341.44867565553943 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
15 2024-09-16T20:18:08 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 381273.43513399456 140.08072102660702 0.0003674022581126 112.5 482.9755664710794 1462.5000000000002 11.914779838264565 201.05121404334253 154.74819702692602 367.7141909085366 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
16 2024-09-17T03:51:56 Tucano 8abb3496-d41b-4a51-b17e-a344e2e1352d 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 408501.7608240498 150.09189364544437 0.0003674204325158 112.5 953.6389801278068 1462.5000000000002 12.765663931582212 215.4286528697289 165.79936647849755 393.99368327981193 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
17 2024-09-18T05:57:52 Tucano 864e6844-11e3-45b6-bbb0-1333f2ae0ee5 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 27851.25258282479 10.152379069287823 0.0003645214533564 112.5 756.6053800865693 1462.5000000000002 0.87035047546809 14.475888117367871 11.30392302755469 26.650161620390666 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
18 2024-09-18T13:35:36 Tucano 864e6844-11e3-45b6-bbb0-1333f2ae0ee5 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 55315.04723507911 20.235332617435333 0.0003658196752763 112.5 637.7939329785544 1462.5000000000002 1.7285929697236868 28.93881821770273 22.45066892134178 53.11808010876842 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
19 2024-09-18T21:13:04 Tucano 864e6844-11e3-45b6-bbb0-1333f2ae0ee5 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 82762.61081709992 30.312462356454848 0.0003662579280327 112.5 400.48957049723305 1462.5000000000002 2.586328122884097 43.39359732512796 33.5907855546255 79.57071100263774 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
20 2024-09-19T04:50:43 Tucano 864e6844-11e3-45b6-bbb0-1333f2ae0ee5 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 110221.83750608563 40.40472902317392 0.0003665764419953 112.5 1164.9782858892354 1462.5000000000002 3.444427902429404 57.88302197471387 44.735626702916505 106.06307658006016 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
21 2024-09-19T12:27:56 Tucano 864e6844-11e3-45b6-bbb0-1333f2ae0ee5 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 137654.75071955938 50.48607026952909 0.0003667586480352 112.5 962.1376956361358 1462.5000000000002 4.30170536021414 72.35508819763535 55.86996919193136 132.52676274978106 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
22 2024-09-19T20:05:29 Tucano 864e6844-11e3-45b6-bbb0-1333f2ae0ee5 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 165107.72437085118 60.57791843631831 0.0003668993602034 112.5 1102.4296833726032 1462.5000000000002 5.159609678366945 86.8462373791566 67.01218270049823 159.01802975802156 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
23 2024-09-20T03:42:56 Tucano 864e6844-11e3-45b6-bbb0-1333f2ae0ee5 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 192554.66328676045 70.67413439067057 0.0003670341355764 112.5 733.1988038000194 1462.5000000000002 6.017325388716304 101.35139402438364 78.15204286717484 185.5207622802745 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
24 2024-09-20T11:20:04 Tucano 864e6844-11e3-45b6-bbb0-1333f2ae0ee5 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 219982.53006535865 80.74964817739655 0.0003670730041763 112.5 395.9890626628256 1462.5000000000002 6.874445116567186 115.81044917134082 89.28425698495373 211.96915127286135 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0
25 2024-09-20T18:29:20 Tucano 864e6844-11e3-45b6-bbb0-1333f2ae0ee5 5b0fa12a-3dd7-45bb-9766-cc326314d9f1 245739.14120792225 90.2243318290321 0.0003671549081906021 112.5 1902.1283936862594 1462.5000000000002 7.6793381486377355 129.4228860443372 99.73812711043004 236.84035130340487 Germany DEU north rhine-westphalia Linux-5.14.0-284.30.1.el9_2.x86_64-x86_64-with-glibc2.34 3.11.3 2.7.1 512 AMD EPYC 7713 64-Core Processor 4 4 x NVIDIA A100-SXM4-80GB 7.0932 50.7263 3900 machine N 1.0

15
evals.yaml Normal file
View File

@@ -0,0 +1,15 @@
arc_pt: 30.43
assin2_rte: 60.82
assin2_sts: 24.63
bluex: 23.37
calame_pt: 58.24
enem: 21.41
faquad_nli: 43.97
hatebr: 29.0
hatespeech_pt: 41.19
hellaswag_pt: 42.84
lambada_pt: 34.7
oab_exams: 25.97
step: 480000
truthfulqa: 41.59
tweet_br: 32.18

3
flax_model.msgpack Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9315bc666fd55d8601ff09affb5497f36fbb3ad2a24037c5a6acbc7033f25f47
size 2200106300

14
generation_config.json Normal file
View File

@@ -0,0 +1,14 @@
{
"bos_token_id": 1,
"eos_token_id": 2,
"pad_token_id": 3,
"do_sample": true,
"max_new_tokens": 1024,
"renormalize_logits": true,
"repetition_penalty": 1.2,
"temperature": 0.1,
"top_k": 50,
"top_p": 1.0,
"use_cache": true,
"transformers_version": "4.42.3"
}

BIN
logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

3
model.safetensors Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52ee689a8f10dde0a84f73609ef1a478c9edd6a16eca73157c3a354565c195ff
size 2200119864

3
pytorch_model.bin Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:952f134948c5fd84c233fb5eb8e14d8ad0a35a302d9846aaa467cc825fde2dbb
size 4400258750

37
results-multilingual.json Normal file
View File

@@ -0,0 +1,37 @@
{
"results": {
"arc_pt": {
"acc": 0.2452991452991453,
"acc_stderr": 0.012584274496277251,
"acc_norm": 0.30427350427350425,
"acc_norm_stderr": 0.013456870841977919
},
"hellaswag_pt": {
"acc": 0.35518474374255066,
"acc_stderr": 0.004981854172537992,
"acc_norm": 0.4284321161555965,
"acc_norm_stderr": 0.005151350797741933
},
"truthfulqa_pt": {
"mc1": 0.233502538071066,
"mc1_stderr": 0.015080432502225448,
"mc2": 0.4158988776785719,
"mc2_stderr": 0.014912096381642538
}
},
"versions": {
"arc_pt": 0,
"hellaswag_pt": 1,
"truthfulqa_pt": 1
},
"config": {
"model": "hf-auto",
"model_args": "pretrained=/lustre/mlnvme/data/asen_hpc-mula/checkpoints-llama/slurm_job_17032105/step_480000",
"batch_size": 1,
"device": "cuda:0",
"no_cache": false,
"limit": null,
"bootstrap_iters": 100000,
"description_dict": {}
}
}

1303
results-pt.json Normal file

File diff suppressed because it is too large Load Diff

30
special_tokens_map.json Normal file
View File

@@ -0,0 +1,30 @@
{
"bos_token": {
"content": "<s>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"eos_token": {
"content": "</s>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<pad>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"unk_token": {
"content": "<unk>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}

63120
tokenizer.json Normal file

File diff suppressed because it is too large Load Diff

54
tokenizer_config.json Normal file
View File

@@ -0,0 +1,54 @@
{
"add_bos_token": false,
"add_eos_token": false,
"add_prefix_space": null,
"added_tokens_decoder": {
"0": {
"content": "<unk>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"1": {
"content": "<s>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"2": {
"content": "</s>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"3": {
"content": "<pad>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
}
},
"bos_token": "<s>",
"bos_token_id": 1,
"clean_up_tokenization_spaces": false,
"eos_token": "</s>",
"eos_token_id": 2,
"legacy": false,
"model_max_length": 2048,
"pad_token": "<pad>",
"pad_token_id": 3,
"padding_side": "right",
"sp_model_kwargs": {},
"tokenizer_class": "LlamaTokenizer",
"unk_token": "<unk>",
"unk_token_id": 0,
"use_default_system_prompt": false
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0cf1f4376c5219e4d0f82774089beac2bc54dc8220a89b834dfea3a6dca3462
size 10119649

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0738f8af75529ac2471fb2a8035f2a02d3e71c12a9e32f127e1ddefaaa4dc40
size 3317