Instructions to use Hansollll/qa_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hansollll/qa_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="Hansollll/qa_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Hansollll/qa_model") model = AutoModelForQuestionAnswering.from_pretrained("Hansollll/qa_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 1000
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 265491109
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fbaa376306df4a6e10b90782bb8a462db15d749d8ac1b697a231a067a33fac59
|
| 3 |
size 265491109
|
runs/May11_00-19-35_songhansol-ui-MacBookPro.local/events.out.tfevents.1683731982.songhansol-ui-MacBookPro.local.62420.6
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3381e47dea5357b428cec7de2adc76de84f72f044964f31cfbb6493923501a96
|
| 3 |
+
size 7884
|