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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload model.neuron with huggingface_hub
Optimumdaf44e0
-
Upload model.neuron with huggingface_hub
Optimum44d9a5d -
Upload model.neuron with huggingface_hub
Optimum422fcbb
-
Upload model.neuron with huggingface_hub
Optimum5af7460 -
Upload model.neuron with huggingface_hub
Optimum7cec4d3 -
Upload model.neuron with huggingface_hub
Optimuma26b44c -
Upload model.neuron with huggingface_hub
Optimumda0a59e -
Upload model.neuron with huggingface_hub
Optimum4c47022
-
upload
6dc99cf