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