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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d213b9bf5e9660e2f903a68a989e033de57f8da44fc177f5c6dfe443ca65a264
- Size of remote file:
- 431 MB
- SHA256:
- 5f5c174fce1dd0bb0b0d6d9998bd12e61c78048571895f78f90e3a0e563efa8b
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.