How to use leblanciii/trident-peril-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="leblanciii/trident-peril-classifier")
# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("leblanciii/trident-peril-classifier") model = AutoModelForMaskedLM.from_pretrained("leblanciii/trident-peril-classifier")
The community tab is the place to discuss and collaborate with the HF community!