Token Classification
Transformers
PyTorch
Safetensors
Polish
xlm-roberta
part-of-speech
Eval Results (legacy)
Run this model with HF Jobs
Run wietsedv/xlm-roberta-base-ft-udpos28-pl 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/wietsedv/xlm-roberta-base-ft-udpos28-pl. 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/wietsedv/xlm-roberta-base-ft-udpos28-pl 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 wietsedv/xlm-roberta-base-ft-udpos28-pl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wietsedv/xlm-roberta-base-ft-udpos28-pl with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="wietsedv/xlm-roberta-base-ft-udpos28-pl")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("wietsedv/xlm-roberta-base-ft-udpos28-pl") model = AutoModelForTokenClassification.from_pretrained("wietsedv/xlm-roberta-base-ft-udpos28-pl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("wietsedv/xlm-roberta-base-ft-udpos28-pl")
model = AutoModelForTokenClassification.from_pretrained("wietsedv/xlm-roberta-base-ft-udpos28-pl", device_map="auto")Quick Links
XLM-RoBERTa base Universal Dependencies v2.8 POS tagging: Polish
This model is part of our paper called:
- Make the Best of Cross-lingual Transfer: Evidence from POS Tagging with over 100 Languages
Check the Space for more details.
Usage
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("wietsedv/xlm-roberta-base-ft-udpos28-pl")
model = AutoModelForTokenClassification.from_pretrained("wietsedv/xlm-roberta-base-ft-udpos28-pl")
- Downloads last month
- 33
Space using wietsedv/xlm-roberta-base-ft-udpos28-pl 1
Evaluation results
- English Test accuracy on Universal Dependencies v2.8self-reported80.500
- Dutch Test accuracy on Universal Dependencies v2.8self-reported78.300
- German Test accuracy on Universal Dependencies v2.8self-reported77.700
- Italian Test accuracy on Universal Dependencies v2.8self-reported77.500
- French Test accuracy on Universal Dependencies v2.8self-reported78.000
- Spanish Test accuracy on Universal Dependencies v2.8self-reported81.700
- Russian Test accuracy on Universal Dependencies v2.8self-reported90.600
- Swedish Test accuracy on Universal Dependencies v2.8self-reported86.000
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="wietsedv/xlm-roberta-base-ft-udpos28-pl")