Instructions to use zeromodels/tipsv2-b14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/tipsv2-b14 with KerasFormers:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Keras
How to use zeromodels/tipsv2-b14 with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://zeromodels/tipsv2-b14") - Notebooks
- Google Colab
- Kaggle
File size: 950 Bytes
30d034f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | {
"library_name": "kerasformers",
"kerasformers_version": "1.2.5",
"model_module": "kerasformers.models.tipsv2",
"model_class": "Tipsv2Model",
"variant": "tipsv2-b14",
"weights": "model.weights.h5",
"schema_version": 2,
"model_type": "tipsv2",
"text_config": {
"hidden_dim": 768,
"num_layers": 12,
"num_heads": 12,
"mlp_dim": 3072,
"vocab_size": 32000,
"max_seq_len": 64,
"hidden_act": "relu",
"layer_norm_eps": 1e-05,
"scale_sqrt_depth": true,
"pooling_epsilon": 1e-08,
"pad_token_id": 0
},
"vision_config": {
"hidden_dim": 768,
"num_layers": 12,
"num_heads": 12,
"mlp_ratio": 4,
"hidden_act": "gelu",
"image_size": 448,
"patch_size": 14,
"num_channels": 3,
"qkv_bias": true,
"layerscale_value": 1.0,
"use_swiglu_ffn": false,
"num_register_tokens": 1,
"layer_norm_eps": 1e-06
},
"temperature_init_value": 0.005065968260169029
} |