Instructions to use hf-internal-testing/tiny-random-Kosmos2Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-Kosmos2Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-Kosmos2Model")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-Kosmos2Model") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-Kosmos2Model") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- c9defe1c378b4698232042e70901d9c99d6697bc71d0f4c1653bcdb3468d7d60
- Size of remote file:
- 444 kB
- SHA256:
- 59f9fc4a2a78aafd96aed580d97a0571ca6b75e324191be4f1a07b9e42f9bc84
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.