Instructions to use BridgeTower/bridgetower-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BridgeTower/bridgetower-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BridgeTower/bridgetower-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +3 -3
config.json
CHANGED
|
@@ -11,9 +11,9 @@
|
|
| 11 |
"share_link_tower_layers": false,
|
| 12 |
"link_tower_type": "add",
|
| 13 |
"max_text_len": 50,
|
| 14 |
-
"mlp_ratio
|
| 15 |
-
"num_attention_heads
|
| 16 |
-
"num_hidden_layers
|
| 17 |
"text_config_dict": null,
|
| 18 |
"text_config":{
|
| 19 |
"architectures": ["BridgeTowerTextModel"],
|
|
|
|
| 11 |
"share_link_tower_layers": false,
|
| 12 |
"link_tower_type": "add",
|
| 13 |
"max_text_len": 50,
|
| 14 |
+
"mlp_ratio": 4,
|
| 15 |
+
"num_attention_heads": 12,
|
| 16 |
+
"num_hidden_layers": 6,
|
| 17 |
"text_config_dict": null,
|
| 18 |
"text_config":{
|
| 19 |
"architectures": ["BridgeTowerTextModel"],
|