Run this model with HF Jobs
Run mbruton/gal_enpt_XLM-R 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/mbruton/gal_enpt_XLM-R. 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/mbruton/gal_enpt_XLM-R 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 mbruton/gal_enpt_XLM-R with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mbruton/gal_enpt_XLM-R with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="mbruton/gal_enpt_XLM-R")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("mbruton/gal_enpt_XLM-R") model = AutoModelForTokenClassification.from_pretrained("mbruton/gal_enpt_XLM-R", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse filesupdated citation information
153 unmodified lines154155156157158159160161162163164153 unmodified lines**BibTeX:**```@mastersthesis{bruton-galician-srl-23,author = {Bruton, Micaella},title = {BERTie Bott's Every Flavor Labels: A Tasty Guide to Developing a Semantic Role Labeling Model for Galician},school = {Uppsala University},year = {2023},type = {Master's thesis},}```153 unmodified lines154155156157158159160161162163164165166167168169170171172173174175153 unmodified lines**BibTeX:**```@inproceedings{bruton-beloucif-2023-bertie,title = "{BERT}ie Bott{'}s Every Flavor Labels: A Tasty Introduction to Semantic Role Labeling for {G}alician",author = "Bruton, Micaella andBeloucif, Meriem",editor = "Bouamor, Houda andPino, Juan andBali, Kalika",booktitle = "Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing",month = dec,year = "2023",address = "Singapore",publisher = "Association for Computational Linguistics",url = "https://aclanthology.org/2023.emnlp-main.671",doi = "10.18653/v1/2023.emnlp-main.671",pages = "10892--10902",abstract = "In this paper, we leverage existing corpora, WordNet, and dependency parsing to build the first Galician dataset for training semantic role labeling systems in an effort to expand available NLP resources. Additionally, we introduce verb indexing, a new pre-processing method, which helps increase the performance when semantically parsing highly-complex sentences. We use transfer-learning to test both the resource and the verb indexing method. Our results show that the effects of verb indexing were amplified in scenarios where the model was both pre-trained and fine-tuned on datasets utilizing the method, but improvements are also noticeable when only used during fine-tuning. The best-performing Galician SRL model achieved an f1 score of 0.74, introducing a baseline for future Galician SRL systems. We also tested our method on Spanish where we achieved an f1 score of 0.83, outperforming the baseline set by the 2009 CoNLL Shared Task by 0.025 showing the merits of our verb indexing method for pre-processing.",}```
README.md+17-6