This is a byte-level language model based on the qwen3 architecture, which means it predicts letter instead of word chunks+. It consists of about 133k parameters and was trained on about 7 billion total characters of Swedish text. I have tested the models ability to predict the next letter of a sequence by analysing the percentage of correctly predicted next letter from the story "rödluvan och vargen"(https://godnattsagan.se/sv/rodlovan-och-vargen). The model sees at most 110 characters back and it predicts the next character 59% of times. The training took about 2 hours on a rtx 4070 laptop with a speed of 1300k/s.
By examining model outputs, I have estimated a model vocab of over 3000 swedish words(see ordförråd.txt, ranked by frequency)
Since this is a relatively small llm, it is not so good at producing coherent text.
By examining 100 000 samples with 1024 character each with the model, it is possible to give an estimate of the model total vocabulary of swedish
words. To know if a word is generated by the LM is real or not, we compare it to a large vocabulary list. This vocabulary list was made by
extracting all words from the training set. A reasonable estimate for the models vocabulary size would be around 5000 words.
The following graph shows how the amount of "real" words diminishes when analysing words used by the model, ordered from most frequent to less. frequent.
For example, 99.9% of the top 4 500 words used by the model are real words, and 99% of all top 7 500 words used by the model are real.