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 4500
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:a9f0db81cb4067018e591a71663e8535201c461a6ef722e1a3e973ab186165dd
|
| 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:75d1f8c9f8557b106942b132096dd2fa908f7885bc675a940e4bdbb2e05ee91e
|
| 3 |
+
size 9254
|