new 010a520
Keith commited on
How to use thisiskeithkwan/stanford-deidentifier-base-onnx-nonquantized with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("thisiskeithkwan/stanford-deidentifier-base-onnx-nonquantized")
model = AutoModel.from_pretrained("thisiskeithkwan/stanford-deidentifier-base-onnx-nonquantized", device_map="auto")