Instructions to use Hansollll/Question_Answering with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hansollll/Question_Answering 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="Hansollll/Question_Answering")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Hansollll/Question_Answering") model = AutoModelForQuestionAnswering.from_pretrained("Hansollll/Question_Answering", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.b87934a
-
Training in progress, step 500
d629084 -
Training in progress, step 10500
d94d3be -
Training in progress, step 10000
faf3baa -
Training in progress, step 9500
fbd1b8b -
Training in progress, step 9000
937562a -
Training in progress, step 8500
0c70805 -
Training in progress, step 8000
f1f837a -
Training in progress, step 7500
ca9ac7b -
Training in progress, step 7000
bed2e54 -
Training in progress, step 6500
a1de310 -
Training in progress, step 6000
643c2b3 -
Training in progress, step 5500
ee91758 -
Training in progress, step 5000
de95282 -
Training in progress, step 4500
7044a4a -
Training in progress, step 4000
72175c5 -
Training in progress, step 3500
d92eaa1 -
Training in progress, step 3000
b6674e3 -
Training in progress, step 2500
e73f87f -
Training in progress, step 2000
54e444a -
Training in progress, step 1500
3c158d5 -
Training in progress, step 1000
29a66af -
Training in progress, step 500
54c0332
-
Training in progress, step 7000
57c7284 -
Training in progress, step 6500
b6d1929 -
Training in progress, step 6000
65d7e49 -
Training in progress, step 5500
a4e0b00 -
Training in progress, step 5000
eb5208a -
Training in progress, step 4500
aeebe69 -
Training in progress, step 4000
95db120 -
Training in progress, step 3500
eec3bb4 -
Training in progress, step 3000
f144a7c -
Training in progress, step 2500
62b8610 -
Training in progress, step 2000
75c8f39 -
Training in progress, step 1500
c4a6649 -
Training in progress, step 1000
3f2d80a -
Training in progress, step 500
a86d923 -
initial commit
4c00eb3