This is quantized version of
dice-research/lola_v1 created using llama.cpp
LOLA is a massively multilingual large language model trained on more than 160 languages using a sparse Mixture-of-Experts Transformer architecture. Our architectural and implementation choices address the challenge of harnessing linguistic diversity while maintaining efficiency and avoiding the common pitfalls of multilinguality. Our analysis of the evaluation results shows competitive performance in natural language generation and understanding tasks. Additionally, we demonstrate how the learned expert-routing mechanism exploits implicit phylogenetic linguistic patterns to potentially alleviate the curse of multilinguality. We provide an in-depth look at the training process, an analysis of the datasets, and a balanced exploration of the model's strengths and limitations. As an open-source model, LOLA promotes reproducibility and serves as a robust foundation for future research. Our findings enable the development of compute-efficient multilingual models with strong, scalable performance across languages.
This pre-trained (causal language modeling) model can only be used for text-generation and requires further fine-tuning on downstream tasks.
You can use this model directly with a pipeline for text generation.
1>>> from transformers import pipeline
2
3>>> generator = pipeline('text-generation', model="dice-research/lola_v1", trust_remote_code=True)
4>>> generator("The quick brown fox", max_length=13)
5[{'generated_text': 'The quick brown fox jumps over the lazy dog.'}]
Note: The tokenizer used in the model comes from mGPT (
https://github.com/ai-forever/mgpt)
1@misc{srivastava2024lolaopensourcemassively,
2 title={LOLA -- An Open-Source Massively Multilingual Large Language Model},
3 author={Nikit Srivastava and Denis Kuchelev and Tatiana Moteu Ngoli and Kshitij Shetty and Michael Roeder and Diego Moussallem and Hamada Zahera and Axel-Cyrille Ngonga Ngomo},
4 year={2024},
5 eprint={2409.11272},
6 archivePrefix={arXiv},
7 primaryClass={cs.CL},
8 url={https://arxiv.org/abs/2409.11272},
9}