Instructions to use OnePoint16/distilbert-medical-question_answer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OnePoint16/distilbert-medical-question_answer 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="OnePoint16/distilbert-medical-question_answer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("OnePoint16/distilbert-medical-question_answer") model = AutoModelForQuestionAnswering.from_pretrained("OnePoint16/distilbert-medical-question_answer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit 路
3eefe42
1
Parent(s): f18db25
Training in progress, step 2000
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 265492517
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:697328b7483f763a0171b43ed85d28633e45d1f8246766ba2956770a080e2c46
|
| 3 |
size 265492517
|
runs/Aug15_12-27-03_37e4ea5c183f/events.out.tfevents.1692102506.37e4ea5c183f.1442.0
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:7c1e4ec271caf758da32ea8ed4bc1cf80a830215271a9940ad697115e299fb30
|
| 3 |
+
size 30437
|