Instructions to use TurkuNLP/web-register-classification-multilingual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TurkuNLP/web-register-classification-multilingual with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="TurkuNLP/web-register-classification-multilingual")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("TurkuNLP/web-register-classification-multilingual") model = AutoModelForSequenceClassification.from_pretrained("TurkuNLP/web-register-classification-multilingual", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -34,7 +34,7 @@ It is designed to support the development of open language models and for lingui
|
|
| 34 |
|
| 35 |
## Register labels and their abbreviations
|
| 36 |
|
| 37 |
-
Below is a list of the register labels predicted by the model. Note that some labels are hierarchical; when a sublabel is predicted, its parent label is also predicted. For a more detailed description, see
|
| 38 |
|
| 39 |
- **MT:** Machine translated or generated
|
| 40 |
- **LY:** Lyrical
|
|
|
|
| 34 |
|
| 35 |
## Register labels and their abbreviations
|
| 36 |
|
| 37 |
+
Below is a list of the register labels predicted by the model. Note that some labels are hierarchical; when a sublabel is predicted, its parent label is also predicted. For a more detailed description, see [here](https://turkunlp.org/register-annotation-docs/).
|
| 38 |
|
| 39 |
- **MT:** Machine translated or generated
|
| 40 |
- **LY:** Lyrical
|