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
Upload config.json with huggingface_hub
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -43,7 +43,7 @@
|
|
| 43 |
"position_embedding_type": "absolute",
|
| 44 |
"task": "text-classification",
|
| 45 |
"torch_dtype": "float32",
|
| 46 |
-
"transformers_version": "4.
|
| 47 |
"type_vocab_size": 16,
|
| 48 |
"use_cache": true,
|
| 49 |
"vocab_size": 1124
|
|
|
|
| 43 |
"position_embedding_type": "absolute",
|
| 44 |
"task": "text-classification",
|
| 45 |
"torch_dtype": "float32",
|
| 46 |
+
"transformers_version": "4.36.2",
|
| 47 |
"type_vocab_size": 16,
|
| 48 |
"use_cache": true,
|
| 49 |
"vocab_size": 1124
|