Instructions to use hf-internal-testing/tiny-random-StableLmModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-StableLmModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-StableLmModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-StableLmModel") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-StableLmModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-StableLmModel: direct link, hf CLI and curl.
- Browser
- Download file 455 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-StableLmModel/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-StableLmModel@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-StableLmModel/resolve/refs%2Fpr%2F1/model.safetensors
455 kB
- Xet hash:
- ddb72b9744188c403132a216bb32102ea7d0c21035a71c81e280d48a74abd135
- Size of remote file:
- 455 kB
- SHA256:
- 82e13bcba240d60483375f5533eb7d84cbd645f83ac6847b8a821287435109d6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.