👨🏻⚕️ Spanish Clinical Encoders Analysis
Collection
Models and datasets used in the paper `A comparative analysis of Spanish Clinical encoder-based models on NER and classification tasks` • 91 items • Updated • 3
Run IIC/XLM-R_Galen 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:
Use HF Jobs to fine-tune https://huggingface.co/IIC/XLM-R_Galen. 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.
Use HF Jobs to run batch inference with https://huggingface.co/IIC/XLM-R_Galen 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.
How to use IIC/XLM-R_Galen with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="IIC/XLM-R_Galen") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("IIC/XLM-R_Galen")
model = AutoModel.from_pretrained("IIC/XLM-R_Galen", device_map="auto")This is a third party reupload of the original XLM-R Galén model, available in GitHub.
Please refer to the original publication for more information
@article{9430499,
author={López-García, Guillermo and Jerez, José M. and Ribelles, Nuria and Alba, Emilio and Veredas, Francisco J.},
journal={IEEE Access},
title={Transformers for Clinical Coding in Spanish},
year={2021},
volume={9},
number={},
pages={72387-72397},
doi={10.1109/ACCESS.2021.3080085}}