Instructions to use AiLab-IMCS-UL/lvbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AiLab-IMCS-UL/lvbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="AiLab-IMCS-UL/lvbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("AiLab-IMCS-UL/lvbert") model = AutoModel.from_pretrained("AiLab-IMCS-UL/lvbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Updated README
Browse files1223456578791011121314151617181920219101112131415161722232425262728293031323320212223---license: gpl-3.0license: apache-2.0language:- lv---
Latvian BERT-base-cased model.# Latvian BERT base model (cased)
```A pretrained model on the Latvian language using a masked language modeling (MLM) objective. It was introduced in [this paper](http://ebooks.iospress.nl/volumearticle/55531) and first released via the [CLARIN-LV repository](http://hdl.handle.net/20.500.12574/43).
This model is case-sensitive. It is primarily intended to be fine-tuned on downstream natural language understanding (NLU) tasks.
Developed at [AiLab.lv](https://ailab.lv)
### BibTeX entry and citation info
Please cite this paper if you use `lvbert':
```bibtex@inproceedings{Znotins-Barzdins:2020:BalticHLT, author = "A. Znotins and G. Barzdins", title = "LVBERT: Transformer-Based Model for Latvian Language Understanding", year = 2020, booktitle = "Human Language Technologies - The Baltic Perspective", publisher = "IOS Press", volume = 328, pages = "111-115", doi = "10.3233/FAIA200610", url = "http://ebooks.iospress.nl/volumearticle/55531" author = {Arturs Znotins and Guntis Barzdins}, title = {{LVBERT: Transformer-Based Model for Latvian Language Understanding}}, booktitle = {Human Language Technologies - The Baltic Perspective}, series = {Frontiers in Artificial Intelligence and Applications}, volume = {328}, publisher = {IOS Press}, year = {2020}, pages = {111-115}, doi = {10.3233/FAIA200610}, url = {http://ebooks.iospress.nl/volumearticle/55531}}```
Please use the following text to cite this item or export to a predefined format:
Znotiņš, Artūrs, 2020, LVBERT - Latvian BERT, CLARIN-LV digital library at IMCS, University of Latvia, http://hdl.handle.net/20.500.12574/43README.md+26-16