Instructions to use optimum-internal-testing/tiny_random_bert_neuronx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use optimum-internal-testing/tiny_random_bert_neuronx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="optimum-internal-testing/tiny_random_bert_neuronx")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("optimum-internal-testing/tiny_random_bert_neuronx") model = AutoModel.from_pretrained("optimum-internal-testing/tiny_random_bert_neuronx") - Notebooks
- Google Colab
- Kaggle
Upload config.json with huggingface_hub
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
| 17 |
"auto_cast": null,
|
| 18 |
"auto_cast_type": null,
|
| 19 |
"compiler_type": "neuronx-cc",
|
| 20 |
-
"compiler_version": "2.
|
| 21 |
"dynamic_batch_size": false,
|
| 22 |
"float_dtype": "fp32",
|
| 23 |
"inline_weights_to_neff": true,
|
|
|
|
| 17 |
"auto_cast": null,
|
| 18 |
"auto_cast_type": null,
|
| 19 |
"compiler_type": "neuronx-cc",
|
| 20 |
+
"compiler_version": "2.21.33363.0+82129205",
|
| 21 |
"dynamic_batch_size": false,
|
| 22 |
"float_dtype": "fp32",
|
| 23 |
"inline_weights_to_neff": true,
|