ONNX-converted models
Collection
Models converted to ONNX for faster CPU inference on LLM Guard. • 20 items • Updated • 2
How to use protectai/lakshyakh93-deberta_finetuned_pii-onnx with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="protectai/lakshyakh93-deberta_finetuned_pii-onnx") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("protectai/lakshyakh93-deberta_finetuned_pii-onnx")
model = AutoModelForTokenClassification.from_pretrained("protectai/lakshyakh93-deberta_finetuned_pii-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 lakshyakh93/deberta_finetuned_pii to ONNX format using the 🤗 Optimum library.
Base model
lakshyakh93/deberta_finetuned_pii