How to use hf-tiny-model-private/tiny-random-XLMForTokenClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="hf-tiny-model-private/tiny-random-XLMForTokenClassification")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-XLMForTokenClassification") model = AutoModelForTokenClassification.from_pretrained("hf-tiny-model-private/tiny-random-XLMForTokenClassification")
What is a pickle import?