Instructions to use hf-internal-testing/tiny-random-longformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-longformer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-longformer")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-longformer") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-longformer") - Notebooks
- Google Colab
- Kaggle
Commit ·
5690941
1
Parent(s): 9e037d6
v3
Browse files- pytorch_model.bin +2 -2
- tf_model.h5 +2 -2
pytorch_model.bin
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:02b21b426183b4189455af54deb4243b81be8cb454879a6df295303ee8bea295
|
| 3 |
+
size 586489
|
tf_model.h5
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:07913467fb798d1e3226752050c3c2aadaeb8e1b9767412702ae1141a902b694
|
| 3 |
+
size 18797516
|