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 434 kB
-
https://huggingface.co/optimum-internal-testing/tiny_random_bert_neuronx/resolve/dc41233dbfec0c812907dbae65b7e5d198d238b9/model.neuron
- Command line
-
hf download hf://optimum-internal-testing/tiny_random_bert_neuronx@dc41233dbfec0c812907dbae65b7e5d198d238b9/model.neuron
-
curl -L -o model.neuron https://huggingface.co/optimum-internal-testing/tiny_random_bert_neuronx/resolve/dc41233dbfec0c812907dbae65b7e5d198d238b9/model.neuron
434 kB
- Xet hash:
- 14710da7dc4ed5fb081f20c3d548e198c32cea756d5a82a65ab78e2df32b797c
- Size of remote file:
- 434 kB
- SHA256:
- e6fc524cd0c344d97112b465219310be9e4a064b33cc6e6593352273717a4e67
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.