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