Instructions to use Jingya/tiny-random-t5-neuronx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jingya/tiny-random-t5-neuronx with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Jingya/tiny-random-t5-neuronx", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
+
Model for internal fast test on inf2, do not use in other scenarios.
|
| 5 |
+
|
| 6 |
+
To build the model:
|
| 7 |
+
|
| 8 |
+
```bash
|
| 9 |
+
optimum-cli export neuron --model hf-internal-testing/tiny-random-t5 --task text2text-generation --batch_size 1 --sequence_length 18 --num_beams 4 tiny_random_t5_neuronx/
|
| 10 |
+
```
|