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