Instructions to use hf-internal-testing/tiny-random-LongT5Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-LongT5Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-LongT5Model")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-LongT5Model") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-LongT5Model") - 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:c6277b6ec46bd0731302fe5f57f612a6d7b03a42a5b26663d8a1afea4832fde2
|
| 3 |
+
size 4465489
|
onnx/decoder_model_merged.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c3a96d6878412e0b6263ad97b1c4fc39e13d875659df1606c3e94b231a193e7
|
| 3 |
+
size 4606788
|
onnx/decoder_with_past_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad1721eae95e3f9814a4ed57c0c77089258a9a561e97880976efb077b3d9f44e
|
| 3 |
+
size 4416353
|
onnx/encoder_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5105626ad9bfcd7d786c392cdc65d31c66a3ebe0b43883e0c29d6b39bd6278b
|
| 3 |
+
size 4617873
|