Instructions to use hf-internal-testing/tiny-random-BartModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-BartModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-BartModel")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-BartModel") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-BartModel") - 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:414fdabf9c33d82357532e1395d50d113f181fe5c8c2fcabc23c90a912c835e9
|
| 3 |
+
size 195161
|
onnx/decoder_model_merged.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b0c74b8b690db98ef639e7874cb8fcb7cc6a5763a539a3338f636feef107b73
|
| 3 |
+
size 284139
|
onnx/decoder_with_past_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:212e222885f037f5f4dff214528de5f77e102110aea0c9d9619d369eac0ad0be
|
| 3 |
+
size 172320
|
onnx/encoder_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2cd3b0e5de77b3ff7788316e87cd5edceb872c3399440b605ff8be6797b69b4
|
| 3 |
+
size 131008
|