Instructions to use optimum/bert-base-uncased_SWAG-neuronx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!