Downloads · 30 days
3
1% of all-time downloads
flair/de-pos-fine-grained
de-pos-fine-grained is a machine learning model from flair. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for flair.
This Flair model was trained on the German Tweets dataset that is presented in the Fine-grained POS Tagging of German Tweets paper from Ines Rehbein.
Downloads · 30 days
3
1% of all-time downloads
All-time downloads
297
Public
Repo size
1.5 GB
Likes
0
Public
Click a slice to open those files.
.bin1.5 GB · 100%
From the Hugging Face model README
This Flair model was trained on the German Tweets dataset that is presented in the Fine-grained POS Tagging of German Tweets paper from Ines Rehbein.
It achieves an accuracy of 92.88% on the development set and an accuracy of 93.16% on the final test dataset.
All training code is released in this repository.
The model architecture uses the training strategy as proposed in the original Flair paper: German FastText embeddings and German Flair Embeddings are stacked and passed into a BiLSTM-CRF sequence labeler, achieving robost SOTA results on PoS Tagging of German Tweets.
The full training log can be found here.
from flair.data import Sentence
from flair.models import SequenceTagger
model = SequenceTagger.load('flair/de-pos-fine-grained')
sent = Sentence("@Sneeekas Ich nicht \o/", use_tokenizer=False)
model.predict(sent)
print(sent)
This yields the following output:
Sentence[4]: "@Sneeekas Ich nicht \o/" → ["@Sneeekas"/ADDRESS, "Ich"/PPER, "nicht"/PTKNEG, "\o/"/EMO]