Instructions to use hf-internal-testing/tiny-random-XLNetForTokenClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-XLNetForTokenClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="hf-internal-testing/tiny-random-XLNetForTokenClassification")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-XLNetForTokenClassification") model = AutoModelForTokenClassification.from_pretrained("hf-internal-testing/tiny-random-XLNetForTokenClassification") - Notebooks
- Google Colab
- Kaggle
Upload tiny models for XLNetForTokenClassification
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:a2d7d2610901b69588c4ef4c2361af7eaeb07d04c4eab1a49647a408e532800f
|
| 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:dc5de3f439f2ef196bbe8289b9b0023064d52c10cf9d5f4fcf52334afa1ba4a9
|
| 3 |
size 4459104
|