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%2F4/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-StableLmModel@refs/pr/4/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-StableLmModel/resolve/refs%2Fpr%2F4/model.safetensors
455 kB
- Xet hash:
- 2a86715378d980b5e96d337dccee1348ce137b2d8feb73623f3d78dca274f550
- Size of remote file:
- 455 kB
- SHA256:
- 6543d13ccd4616d001c4f7064a0afd334ca30cdbac99156b5805a55b062da66c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.