Instructions to use hf-internal-testing/tiny-random-XLNetModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-XLNetModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-XLNetModel")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-XLNetModel") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-XLNetModel") - Notebooks
- Google Colab
- Kaggle
Upload tiny models for XLNetModel
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 4397558
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fbc97ab37207c4b25fa147f627579fca135581b13cae1d043637c2cbb85a0f4
|
| 3 |
size 4397558
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4450744
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a84c3e3a94c6c123a269e55d2a3b65341d8ef77a9cbaf7cc9231d86481159aa3
|
| 3 |
size 4450744
|