How to use microsoft/deberta-v3-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="microsoft/deberta-v3-small")
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/deberta-v3-small", dtype="auto")
See docs: https://huggingface.co/docs/hub/models-widgets#enabling-a-widget
LGTM
· Sign up or log in to comment