Instructions to use optimum-internal-testing/tiny_random_bert_neuronx 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_neuronx 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_neuronx")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("optimum-internal-testing/tiny_random_bert_neuronx") model = AutoModel.from_pretrained("optimum-internal-testing/tiny_random_bert_neuronx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.neuron from optimum-internal-testing/tiny_random_bert_neuronx: direct link, hf CLI and curl.
- Browser
- Download file 444 kB
-
https://huggingface.co/optimum-internal-testing/tiny_random_bert_neuronx/resolve/d57b68e4e8cc0c2e34082d2a9155ecff8d0701fe/model.neuron
- Command line
-
hf download hf://optimum-internal-testing/tiny_random_bert_neuronx@d57b68e4e8cc0c2e34082d2a9155ecff8d0701fe/model.neuron
-
curl -L -o model.neuron https://huggingface.co/optimum-internal-testing/tiny_random_bert_neuronx/resolve/d57b68e4e8cc0c2e34082d2a9155ecff8d0701fe/model.neuron
444 kB
- Xet hash:
- ec6867c63c1a2b66308ff1f57f082715b26e6ae4a842a32849ed25b56dac2d26
- Size of remote file:
- 444 kB
- SHA256:
- da3b72c83d172ea708450c2686acde2a7e35a1add87a6f551738538ae4a48667
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.