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