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 vocab.txt with huggingface_hub
Optimum43526d9 -
Upload tokenizer_config.json with huggingface_hub
Optimum74927d8 -
Upload config.json with huggingface_hub
Optimum77378cd -
Upload model.neuron with huggingface_hub
Optimum4c47022 -
Upload special_tokens_map.json with huggingface_hub
Optimumad038f7
-
upload
6dc99cf -
initial commit
7d7520b