Instructions to use ddosdub/DualEncoderModernBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ddosdub/DualEncoderModernBERT with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from ddosdub/DualEncoderModernBERT: direct link, hf CLI and curl.
- Browser
- Download file 824 Bytes
-
https://huggingface.co/ddosdub/DualEncoderModernBERT/resolve/main/adapter_config.json
- Command line
-
hf download hf://ddosdub/DualEncoderModernBERT/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/ddosdub/DualEncoderModernBERT/resolve/main/adapter_config.json
824 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "answerdotai/ModernBERT-base", | |
| "bias": "none", | |
| "corda_config": null, | |
| "eva_config": null, | |
| "exclude_modules": null, | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 40, | |
| "lora_bias": false, | |
| "lora_dropout": 0.07644825534662132, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 56, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "Wi", | |
| "Wqkv", | |
| "dense", | |
| "Wo" | |
| ], | |
| "task_type": "FEATURE_EXTRACTION", | |
| "trainable_token_indices": null, | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |