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 AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-Kosmos2Model") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-Kosmos2Model") - Notebooks
- Google Colab
- Kaggle
Update tiny models for Kosmos2Model
#4
by hf-transformers-bot - opened
- model.safetensors +1 -1
- tokenizer.json +0 -0
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 443672
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59f9fc4a2a78aafd96aed580d97a0571ca6b75e324191be4f1a07b9e42f9bc84
|
| 3 |
size 443672
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|