ONNX-converted models
Collection
Models converted to ONNX for faster CPU inference on LLM Guard. • 20 items • Updated • 2
How to use protectai/guishe-nuner-v1_orgs-onnx with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="protectai/guishe-nuner-v1_orgs-onnx") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("protectai/guishe-nuner-v1_orgs-onnx")
model = AutoModelForTokenClassification.from_pretrained("protectai/guishe-nuner-v1_orgs-onnx", device_map="auto")THIS PROJECT HAS BEEN ARCHIVED.
This project and its associated code on GitHub are no longer under active development or maintained.
This model is a conversion of guishe/nuner-v1_orgs to ONNX format using the 🤗 Optimum library.