Instructions to use optimum-internal-testing/tiny_random_bert_neuron with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use optimum-internal-testing/tiny_random_bert_neuron with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="optimum-internal-testing/tiny_random_bert_neuron")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("optimum-internal-testing/tiny_random_bert_neuron") model = AutoModel.from_pretrained("optimum-internal-testing/tiny_random_bert_neuron", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload model.neuron with huggingface_hub
Verified signature89ef496 -
Upload model.neuron with huggingface_hub
Verified signature0f72487 -
Upload model.neuron with huggingface_hub
Verified signature715684c -
Upload model.neuron with huggingface_hub
Verified signatured3c58ef
-
Upload model.neuron with huggingface_hub
Verified signaturefe13dce -
Upload model.neuron with huggingface_hub
Verified signatured67ef12
-
Upload model.neuron with huggingface_hub
Verified signatureb573c2b -
Upload model.neuron with huggingface_hub
Verified signature4355a2b -
Upload model.neuron with huggingface_hub
Verified signature22eb1f4
-
Upload model.neuron with huggingface_hub
Verified signaturebbc0860