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 +0 -1
config.json
CHANGED
|
@@ -21,7 +21,6 @@
|
|
| 21 |
"disable_fallback": false,
|
| 22 |
"disable_fast_relayout": false,
|
| 23 |
"dynamic_batch_size": false,
|
| 24 |
-
"inline_weights_to_neff": false,
|
| 25 |
"input_names": [
|
| 26 |
"input_ids",
|
| 27 |
"attention_mask",
|
|
|
|
| 21 |
"disable_fallback": false,
|
| 22 |
"disable_fast_relayout": false,
|
| 23 |
"dynamic_batch_size": false,
|
|
|
|
| 24 |
"input_names": [
|
| 25 |
"input_ids",
|
| 26 |
"attention_mask",
|