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 ·
8b5d085
1
Parent(s): d4647db
Upload config.json with huggingface_hub
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -36,6 +36,7 @@
|
|
| 36 |
"num_hidden_layers": 5,
|
| 37 |
"pad_token_id": 0,
|
| 38 |
"position_embedding_type": "absolute",
|
|
|
|
| 39 |
"torch_dtype": "float32",
|
| 40 |
"transformers_version": "4.32.1",
|
| 41 |
"type_vocab_size": 16,
|
|
|
|
| 36 |
"num_hidden_layers": 5,
|
| 37 |
"pad_token_id": 0,
|
| 38 |
"position_embedding_type": "absolute",
|
| 39 |
+
"task": null,
|
| 40 |
"torch_dtype": "float32",
|
| 41 |
"transformers_version": "4.32.1",
|
| 42 |
"type_vocab_size": 16,
|