CoolFace
Modelpublic

TurkuNLP/gpt3-finnish-13B

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
14likes130downloads
Model Card

Generative Pretrained Transformer with 13B parameteres for Finnish.

TurkuNLP Finnish GPT-3-models are a model family of pretrained monolingual GPT-style language models that are based on BLOOM-architecture. Note that the models are pure language models, meaning that they are not instruction finetuned for dialogue or answering questions.

These models are intended to be used as foundational models that can be e.g. instruction finetuned to serve as modern chat-models.

All models are trained for 300B tokens.

Parameters | Model | Layers | Dim | Heads | Params | |--------|--------|------|-------|--------| | Small | 12 | 768 | 12 | 186M | | Medium | 24 | 1024 | 16 | 437M | | Large | 24 | 1536 | 16 | 881M | | XL | 24 | 2064 | 24 | 1.5B | | ”3B” | 32 | 2560 | 32 | 2.8B | | ”8B” | 32 | 4096 | 32 | 7.5B | | "13B" | 40 | 5120 | 40 | 13.3B |

Datasets

We used a combination of multiple Finnish resources.

  • Finnish Internet Parsebank https://turkunlp.org/finnish_nlp.html mC4 multilingual colossal, cleaned Common Crawl https://huggingface.co/datasets/mc4
  • Common Crawl Finnish https://TODO
  • Finnish Wikipedia https://fi.wikipedia.org/wiki
  • Lönnrot Projekti Lönnrot http://www.lonnrot.net/
  • ePub National library ”epub” collection
  • National library ”lehdet” collection
  • Suomi24 The Suomi 24 Corpus 2001-2020 http://urn.fi/urn:nbn:fi:lb-2021101527
  • Reddit r/Suomi submissions and comments https://www.reddit.com/r/Suomi
  • STT Finnish News Agency Archive 1992-2018 http://urn.fi/urn:nbn:fi:lb-2019041501
  • Yle Finnish News Archive 2011-2018 http://urn.fi/urn:nbn:fi:lb-2017070501
  • Yle Finnish News Archive 2019-2020 http://urn.fi/urn:nbn:fi:lb-2021050401
  • Yle News Archive Easy-to-read Finnish 2011-2018 http://urn.fi/urn:nbn:fi:lb-2019050901
  • Yle News Archive Easy-to-read Finnish 2019-2020 http://urn.fi/urn:nbn:fi:lb-2021050701
  • ROOTS TODO

Sampling ratios

DatasetCharsRatioWeightW.Ratio
Parsebank35.0B16.9\%1.522.7\%
mC4-Fi46.3B22.4\%1.020.0\%
CC-Fi79.6B38.5\%1.034.4\%
Fiwiki0.8B0.4\%3.01.0\%
Lönnrot0.8B0.4\%3.01.0\%
Yle1.6B0.8\%2.01.4\%
STT2.2B1.1\%2.01.9\%
ePub13.5B6.5\%1.05.8\%
Lehdet5.8B2.8\%1.02.5\%
Suomi2420.6B9.9\%1.08.9\%
Reddit-Fi0.7B0.4\%1.00.3\%
TOTAL207.0B100.0\%N/A100.0\%

More documentation and a paper coming soon.