Instructions to use zhufy/squad-ms-bert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zhufy/squad-ms-bert-base with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="zhufy/squad-ms-bert-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("zhufy/squad-ms-bert-base") model = AutoModelForQuestionAnswering.from_pretrained("zhufy/squad-ms-bert-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
61d4fd7
-
Update README.md
91418aa -
Update README.md
7f7cbf1 -
Update README.md
b4a325c -
Update README.md
a3226de -
Create README.md
df668fd -
Update config.json
e314202 -
Upload pytorch_model.bin with git-lfs
25589f2 -
Upload vocab.txt
3d060e5 -
Upload tokenizer_config.json
dbb2d5c -
Upload special_tokens_map.json
bf427b4 -
Upload config.json
be8a0bb -
initial commit
b2f657a