How to use optimum/bert-base-uncased_SWAG-neuronx with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("optimum/bert-base-uncased_SWAG-neuronx") model = AutoModelForMultipleChoice.from_pretrained("optimum/bert-base-uncased_SWAG-neuronx")
The community tab is the place to discuss and collaborate with the HF community!