Run this model with HF Jobs
Run ltg/norbert on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ltg/norbert. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ltg/norbert on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use ltg/norbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ltg/norbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ltg/norbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("ltg/norbert") model = AutoModelForMaskedLM.from_pretrained("ltg/norbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Quickstart
Release 1.1 (February 13, 2021)
Please check also our newer models: NorBERT 2 and NorBERT 3, trained on a much larger corpus and with better architectures.
Download the model here:
- Cased Norwegian BERT Base: 216.zip
More about NorBERT training corpora and training procedure: http://norlm.nlpl.eu/
Associated code: https://github.com/ltgoslo/NorBERT
Check this paper for more details:
Andrey Kutuzov, Jeremy Barnes, Erik Velldal, Lilja Øvrelid, Stephan Oepen. Large-Scale Contextualised Language Modelling for Norwegian, NoDaLiDa'21 (2021)
NorBERT was trained as a part of NorLM, a joint initiative of the projects EOSC-Nordic (European Open Science Cloud) and SANT (Sentiment Analysis for Norwegian), coordinated by the Language Technology Group (LTG) at the University of Oslo.
The computations were performed on resources provided by UNINETT Sigma2 - the National Infrastructure for High Performance Computing and Data Storage in Norway.
NorBERT-3
In 2023, we released a new family of NorBERT-3 language models for Norwegian. In general, we now recommend using these models:
- NorBERT 3 xs (15M parameters)
- NorBERT 3 small (40M parameters)
- NorBERT 3 base (123M parameters)
- NorBERT 3 large (323M parameters)
NorBERT-3 is described in detail in this paper: NorBench – A Benchmark for Norwegian Language Models (Samuel et al., NoDaLiDa 2023)
- Downloads last month
- 174