Instructions to use optimum/tiny_random_bert_neuron with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use optimum/tiny_random_bert_neuron with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="optimum/tiny_random_bert_neuron")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("optimum/tiny_random_bert_neuron") model = AutoModel.from_pretrained("optimum/tiny_random_bert_neuron") - Notebooks
- Google Colab
- Kaggle
Optimum commited on
Commit ·
fe98d77
1
Parent(s): 6ee8f47
Upload config.json with huggingface_hub
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
| 26 |
"attention_mask",
|
| 27 |
"token_type_ids"
|
| 28 |
],
|
|
|
|
| 29 |
"output_names": [
|
| 30 |
"logits"
|
| 31 |
],
|
|
|
|
| 26 |
"attention_mask",
|
| 27 |
"token_type_ids"
|
| 28 |
],
|
| 29 |
+
"model_type": "None",
|
| 30 |
"output_names": [
|
| 31 |
"logits"
|
| 32 |
],
|