Instructions to use optimum/tiny_random_bert_neuronx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use optimum/tiny_random_bert_neuronx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="optimum/tiny_random_bert_neuronx")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("optimum/tiny_random_bert_neuronx") model = AutoModel.from_pretrained("optimum/tiny_random_bert_neuronx") - Notebooks
- Google Colab
- Kaggle
Optimum commited on
Commit ·
c58bc09
1
Parent(s): c353061
Upload config.json with huggingface_hub
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -38,7 +38,7 @@
|
|
| 38 |
"position_embedding_type": "absolute",
|
| 39 |
"task": null,
|
| 40 |
"torch_dtype": "float32",
|
| 41 |
-
"transformers_version": "4.34.
|
| 42 |
"type_vocab_size": 16,
|
| 43 |
"use_cache": true,
|
| 44 |
"vocab_size": 1124
|
|
|
|
| 38 |
"position_embedding_type": "absolute",
|
| 39 |
"task": null,
|
| 40 |
"torch_dtype": "float32",
|
| 41 |
+
"transformers_version": "4.34.1",
|
| 42 |
"type_vocab_size": 16,
|
| 43 |
"use_cache": true,
|
| 44 |
"vocab_size": 1124
|