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