Instructions to use zeromodels/tipsv2-g14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/tipsv2-g14 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-g14 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-g14") - Notebooks
- Google Colab
- Kaggle
| { | |
| "library_name": "kerasformers", | |
| "kerasformers_version": "1.2.5", | |
| "model_module": "kerasformers.models.tipsv2", | |
| "model_class": "Tipsv2Model", | |
| "variant": "tipsv2-g14", | |
| "weights": "model.weights.h5", | |
| "schema_version": 2, | |
| "model_type": "tipsv2", | |
| "text_config": { | |
| "hidden_dim": 1536, | |
| "num_layers": 12, | |
| "num_heads": 24, | |
| "mlp_dim": 6144, | |
| "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": 1536, | |
| "num_layers": 40, | |
| "num_heads": 24, | |
| "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": true, | |
| "num_register_tokens": 1, | |
| "layer_norm_eps": 1e-06 | |
| }, | |
| "temperature_init_value": 0.003622700460255146 | |
| } |