Instructions to use hf-internal-testing/tiny-random-T5Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-T5Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-T5Model")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-T5Model") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-T5Model") - Notebooks
- Google Colab
- Kaggle
[Awaiting approval] Upload ONNX weights
Browse files[Automated] Converted using [Optimum](https://github.com/huggingface/optimum). Models will be merged manually by @Xenova once they have been checked with [Transformers.js](https://github.com/xenova/transformers.js).
onnx/decoder_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49ea5d43d99edae73b1b1c4713155825acc12e2386fa44738c7b363c33af2bcd
|
| 3 |
+
size 4464733
|
onnx/decoder_model_merged.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d64278e2391b6346e84ad7528b5ffbc65f4c5206c54370de3cbd38bf9ef5019
|
| 3 |
+
size 4605454
|
onnx/decoder_with_past_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:613d334460e812ef130a075c7f1bd4bc336dccb63c8bdac1d135a97e1f10b7c7
|
| 3 |
+
size 4415777
|
onnx/encoder_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f82b00954dc1efd55716fc53ff1f93597ea8ef5951a32f840122b798f96b231
|
| 3 |
+
size 4307962
|