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