Instructions to use celinelee/answer-extraction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use celinelee/answer-extraction 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="celinelee/answer-extraction")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("celinelee/answer-extraction") model = AutoModelForQuestionAnswering.from_pretrained("celinelee/answer-extraction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from celinelee/answer-extraction: direct link, hf CLI and curl.
- Browser
- Download file 265 MB
-
https://huggingface.co/celinelee/answer-extraction/resolve/refs%2Fpr%2F1/pytorch_model.bin
- Command line
-
hf download hf://celinelee/answer-extraction@refs/pr/1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/celinelee/answer-extraction/resolve/refs%2Fpr%2F1/pytorch_model.bin
265 MB
- Xet hash:
- 64c4847488bdf770df8da7caf8f553ae6c98eeb73a5b8b271b704f007847fcd6
- Size of remote file:
- 265 MB
- SHA256:
- 34b24d5445bb21715ac971ff59b12d21017f7660f9cfc632b1ff3f7e8651815b
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.