How to use from the
Use from the
Transformers library
# 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", device_map="auto")
Quick Links

Trident Peril Classifier

Multi-label text classification model for builders risk insurance peril detection.

Labels

fire, flood, named_windstorm, construction_theft, transient_population, civil_unrest, earthquake

Downloads last month
2
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support