Downloads · 30 days
7
0% of all-time downloads
noeminaepli/swiss_german_stts_pos_model
swiss_german_stts_pos_model is a token classification model from noeminaepli. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as cc.
The swissgermanposmodel is a part-of-speech tagging model for Swiss German. The model is trained on STTS POS Tags. Note that there is also a model trained on Universal POS tags (upos): swissgermanposmodel.
Downloads · 30 days
7
0% of all-time downloads
All-time downloads
6.5K
Public
Repo size
875 MB
Likes
1
Public
Click a slice to open those files.
.bin438 MB · 100%
From the Hugging Face model README
The swiss_german_pos_model is a part-of-speech tagging model for Swiss German. The model is trained on STTS POS Tags. Note that there is also a model trained on Universal POS tags (upos): swiss_german_pos_model.
from transformers import AutoTokenizer, AutoModelForTokenClassification, pipeline
model = AutoModelForTokenClassification.from_pretrained("noeminaepli/swiss_german_stts_pos_model")
tokenizer = AutoTokenizer.from_pretrained("noeminaepli/swiss_german_stts_pos_model")
pos_tagger = pipeline('ner', model=model, tokenizer=tokenizer, aggregation_strategy="simple")
tokens = pos_tagger("Worum söu mes ned chönne?")
The following hyperparameters were used during training:
title = "Improving Zero-Shot Cross-lingual Transfer Between Closely Related Languages by Injecting Character-Level Noise",
author = {Aepli, No{\"e}mi and
Sennrich, Rico},
booktitle = "Findings of the Association for Computational Linguistics: ACL 2022",
month = may,
year = "2022",
address = "Dublin, Ireland",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2022.findings-acl.321",
doi = "10.18653/v1/2022.findings-acl.321",
pages = "4074--4083",
abstract = "Cross-lingual transfer between a high-resource language and its dialects or closely related language varieties should be facilitated by their similarity. However, current approaches that operate in the embedding space do not take surface similarity into account. This work presents a simple yet effective strategy to improve cross-lingual transfer between closely related varieties. We propose to augment the data of the high-resource source language with character-level noise to make the model more robust towards spelling variations. Our strategy shows consistent improvements over several languages and tasks: Zero-shot transfer of POS tagging and topic identification between language varieties from the Finnic, West and North Germanic, and Western Romance language branches. Our work provides evidence for the usefulness of simple surface-level noise in improving transfer between language varieties.",
} ```