Gal POS
Collection
4 items • Updated
How to use homersimpson/gal-pos-xlmr with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="homersimpson/gal-pos-xlmr") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("homersimpson/gal-pos-xlmr")
model = AutoModelForTokenClassification.from_pretrained("homersimpson/gal-pos-xlmr", device_map="auto")No model card