Text Classification
Transformers
PyTorch
Safetensors
Norwegian
Norwegian Bokmål
Norwegian Nynorsk
bert
Generated from Trainer
text-embeddings-inference
Instructions to use thusken/nb-bert-large-user-needs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thusken/nb-bert-large-user-needs with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="thusken/nb-bert-large-user-needs")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("thusken/nb-bert-large-user-needs") model = AutoModelForSequenceClassification.from_pretrained("thusken/nb-bert-large-user-needs", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,8 +17,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 17 |
|
| 18 |
# nb-bert-large-user-needs
|
| 19 |
|
| 20 |
-
This model is a fine-tuned version of
|
| 21 |
-
It achieves the following results on the evaluation set:
|
| 22 |
- Loss: 1.0102
|
| 23 |
- Accuracy: 0.8900
|
| 24 |
- F1: 0.8859
|
|
|
|
| 17 |
|
| 18 |
# nb-bert-large-user-needs
|
| 19 |
|
| 20 |
+
This model is a fine-tuned version of NbAiLab/nb-bert-base on a dataset of 2000 articles from Bergens Tidende, published between 06/01/2020 and 02/02/2020. These articles are labelled as one of six classes / user needs, as introduced by the BBC in 2017. It achieves the following results on the evaluation set:
|
|
|
|
| 21 |
- Loss: 1.0102
|
| 22 |
- Accuracy: 0.8900
|
| 23 |
- F1: 0.8859
|