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