NOTE: This is a research checkpoint of a model for which training has not been completed. It is being provided in its current state for research and testing purposes. Care should be taken when using the outputs of the model. Once pretraining has completed we intend to release additional instruction-tuned and chat-tuned varieties.
Poro is a 34B parameter decoder-only transformer pretrained on Finnish, English and code. It is being trained on 1 trillion tokens (500 billion as of this release). Poro is a fully open source model and is made available under the Apache 2.0 License.
Poro was created in a collaboration between SiloGen from Silo AI, the TurkuNLP group of the University of Turku, and High Performance Language Technologies (HPLT). Training was conducted on the LUMI supercomputer, using compute resources generously provided by CSC - IT Center for Science, Finland.
This project is part of an ongoing effort to create open source large language models for non-English and especially low resource languages like Finnish. Through the combination of English and Finnish training data we get a model that outperforms previous Finnish only models, while also being fluent in English and code, and capable of basic translation between English and Finnish.
Poro 34B is only the first model of our model family. Work is already underway on our next models which will support additional languages, and include features like flash attention, rotary embeddings, and grouped query attention.
What does Poro mean? Poro is the Finnish word for Reindeer! 🦌 These animals are native to Finland and hold a significant and historical role in Finnish culture.
NOTE: In addition to being an early research release, Poro is a base model which needs further fine tuning for most use cases.
Poro is a generative pretrained transformer using a BLOOM architecture, and makes use of ALiBi embeddings to support context length extrapolation at inference time.
Checkpoints are available as branches in the repository. Checkpoints will be released roughly every 100B tokens. The main branch will always point to the latest checkpoint. The following checkpoints are available:
The transformers library allows you to load a checkpoint from a branch as follows:
branch = "200B" model = transformers.AutoModelForCausalLM.from_pretrained( "LumiOpen/Poro-34B", torch_dtype=torch.bfloat16, revision=branch, )
Poro was trained on the LUMI supercomputer, using 512 AMD MI250X GPUs. Each MI250X GPU has two Graphics Complex Dies (GCDs) for a world size of 1024 during training, using activation checkpointing, a micro batch size of 1, gradient accumulation of 16, and a 3D parallelism strategy of TP=2, PP=4, DP=128.
Training began in September 2023 using a custom fork of the Megatron-Deepspeed framework.
|Learning rate||1.5e-4||10B tokens warm-up, cosine decay to 2e-5|
|Batch size||2048||2048 samples x 2048 tokens = 4194304 tokens|
Poro uses a custom 128K Bloom tokenizer trained on the same English, Finnish and Code dataset used to train the model.
Poro is being trained on a 1 trillion token mixed dataset of English, Finnish and Code.
|SlimPajama||Excluding books3 data||54.16%||1x||541.7B|
|Finnish||TurkuNLP Finnish dataset||13.05%||4x||131.5B|
|Tatoeba||English/Finnish sentence pairs||0.81%||1x||8.0B|
|Project Gutenberg||from Dolma dataset||0.46%||1x||4.5B|
The Finnish dataset is a combination of many Finnish resources:
- Finnish Internet Parsebank
- mC4 multilingual colossal, cleaned Common Crawl
- Common Crawl Finnish
- Finnish Wikipedia
- Lönnrot Projekti Lönnrot
- Suomi24 The Suomi 24 Corpus 2001-2020
- Reddit r/Suomi submissions and comments
- STT Finnish News Agency Archive 1992-2018
- Yle Finnish News Archive 2011-2018
- Yle Finnish News Archive 2019-2020
- Yle News Archive Easy-to-read Finnish 2011-2018
- Yle News Archive Easy-to-read Finnish 2019-2020
Full evaluation results will be published with the final model.
Poro 34B is a release of a partially trained model, and special care should be taken when using any output.
Poro is an advanced language model, primarily optimized for English, Finnish and code, with no meaningful proficiency in any other languages. As with most AI-driven systems, Poro is a product of the vast data it has been trained on, which may reflect the imperfections, biases, and idiosyncrasies of the wider web. Poro may, at times, produce outputs that can be considered inaccurate, prejudiced, or controversial. Users and developers engaging with Poro should exercise discretion and consider additional evaluation and customization to ensure the model's responses align with their specific needs and ethical standards.
Poro is released under the Apache 2.0 license.
- Downloads last month