Project: NCHLT Text IV

Type: RoBERTa
Language: Sepedi (nso)
Date: 2023-02-28
Version: 1.0

Description: 
	Contextual masked language model based on the RoBERTa architecture (Liu et al., 2019). The model is trained as a masked language model and not fine-tuned for any downstream process.
	The model can be used both as a masked LM or as an embedding model to provide real-valued vectorised respresentations of words or string sequences for Sepedi text.

Model:
	Vocab size: 30,000
	Embedding dimensions: 768

Training data sources:
	The model is trained on a combination of data sources, including:
		- NCHLT Sepedi Text Corpora
		- Autshumato Sepedi Monolingual corpus
		- Leipzig Corpus Collection
		- Common Crawl
	as well as data internally available at CTexT which is not available for distribution.
	All data was language identified with the NCHLT Web Services Language Identifier (Puttkammer et al., 2019) and duplicate paragraphs across the entire set were removed, since at least four of the corpora source data from the web, with substantial overlap.

Training corpus:
	Paragraphs: 292,594
	Token count: 8,908,709

Usage:
	Example code for loading the RoBERTa model is available from https://github.com/reiselen/TrainEmbeddings/scripts
	More details on the RoBERTa architecture is available from https://huggingface.co/docs/transformers/model_doc/roberta

Reference:
	Liu, Yinhan, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer & Veselin Stoyanov. 2019. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692.
	Puttkammer, Martin J., Roald Eiselen, Justin Hocking & Frederik Koen. 2018. NLP Web Services for Resource-Scarce Languages. 56th Annual Meeting of the Association for Computational Linguistics 2018. Melbourne, Australia: Association for Computational Linguistics.
_________________________________________________________________________________
Licence for distribution: Creative Commons Attribution 4.0 International
 
URL: http://creativecommons.org/licenses/by/4.0/
 
Attribute work to: 
	CTexT® (Centre for Text Technology, North-West University), South Africa; 
	Department of Sport, Arts and Culture, South Africa.
Attribute work to URL:	
	http://humanities.nwu.ac.za/ctext
	http://www.dac.gov.za
