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