Instructions to use aisingapore/SPANBert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aisingapore/SPANBert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="aisingapore/SPANBert") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("aisingapore/SPANBert") model = AutoModelForQuestionAnswering.from_pretrained("aisingapore/SPANBert") - Notebooks
- Google Colab
- Kaggle
Commit History
update README.md - include demo a3b557c
kellywong commited on
Update README.md 43988d8
update README.md - minor fix 99d2ed8
kellywong commited on
upload model for SPANBert 10acd88
kellywong commited on
update README.md e7787d9
kellywong commited on