Instructions to use pythonist/bert-base-cased-PubmedQAmodel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pythonist/bert-base-cased-PubmedQAmodel 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="pythonist/bert-base-cased-PubmedQAmodel")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("pythonist/bert-base-cased-PubmedQAmodel") model = AutoModelForQuestionAnswering.from_pretrained("pythonist/bert-base-cased-PubmedQAmodel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from pythonist/bert-base-cased-PubmedQAmodel: direct link, hf CLI and curl.
- Browser
- Download file 431 MB
-
https://huggingface.co/pythonist/bert-base-cased-PubmedQAmodel/resolve/main/model.safetensors
- Command line
-
hf download hf://pythonist/bert-base-cased-PubmedQAmodel/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/pythonist/bert-base-cased-PubmedQAmodel/resolve/main/model.safetensors
431 MB
- Xet hash:
- 956ee70ec4004b2165db77bb7320069c3bc1d1d5034e4e7ef821db4a6ee4427a
- Size of remote file:
- 431 MB
- SHA256:
- e7bf6efa1d01ba742f5815995d45186a56b5423bd8145e01d519d52d574c8b36
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.