Instructions to use hf-internal-testing/tiny-random-XLNetForQuestionAnsweringSimple with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-XLNetForQuestionAnsweringSimple with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="hf-internal-testing/tiny-random-XLNetForQuestionAnsweringSimple")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-XLNetForQuestionAnsweringSimple") model = AutoModelForQuestionAnswering.from_pretrained("hf-internal-testing/tiny-random-XLNetForQuestionAnsweringSimple") - Notebooks
- Google Colab
- Kaggle
Upload tiny models for XLNetForQuestionAnsweringSimple
Browse files- pytorch_model.bin +1 -1
- tf_model.h5 +1 -1
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4399420
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5c437990c5ed32809556ef3fc7610e4ccf76f09fe7c2ac84e19d7a70c8bf573
|
| 3 |
size 4399420
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4459104
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:076b43bab01118cb84ba8977c1b0533d14744354c78276823153183762d1404a
|
| 3 |
size 4459104
|