Text Retrieval
Transformers
Safetensors
English
qwen3
information-retrieval
LLM
Embedding
disaster-management
text-generation-inference
Instructions to use DMIR01/DMRetriever-596M-PT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DMIR01/DMRetriever-596M-PT with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("DMIR01/DMRetriever-596M-PT") model = AutoModel.from_pretrained("DMIR01/DMRetriever-596M-PT") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,11 +10,11 @@ tags:
|
|
| 10 |
|
| 11 |
This model is trained through the approach described in [DMRetriever: A Family of Models for Improved Text Retrieval in Disaster Management](https://www.arxiv.org/abs/2510.15087).
|
| 12 |
The associated GitHub repository is available [here](https://github.com/KaiYin97/DMRETRIEVER).
|
| 13 |
-
This model has
|
| 14 |
|
| 15 |
## 🧠 Model Overview
|
| 16 |
|
| 17 |
-
**DMRetriever-596M** has the following features:
|
| 18 |
|
| 19 |
- Model Type: Text Embedding
|
| 20 |
- Supported Languages: English
|
|
@@ -52,7 +52,7 @@ import torch.nn.functional as F
|
|
| 52 |
from transformers import AutoTokenizer
|
| 53 |
from bidirectional_qwen3 import Qwen3BiModel # custom bidirectional backbone
|
| 54 |
|
| 55 |
-
MODEL_ID = "DMIR01/DMRetriever-
|
| 56 |
|
| 57 |
# Device & dtype
|
| 58 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
|
| 10 |
|
| 11 |
This model is trained through the approach described in [DMRetriever: A Family of Models for Improved Text Retrieval in Disaster Management](https://www.arxiv.org/abs/2510.15087).
|
| 12 |
The associated GitHub repository is available [here](https://github.com/KaiYin97/DMRETRIEVER).
|
| 13 |
+
This model has 596M parameters and it is the pre-trained version (trained using only unlabeled dataset containing in-batch negative).
|
| 14 |
|
| 15 |
## 🧠 Model Overview
|
| 16 |
|
| 17 |
+
**DMRetriever-596M-PT** has the following features:
|
| 18 |
|
| 19 |
- Model Type: Text Embedding
|
| 20 |
- Supported Languages: English
|
|
|
|
| 52 |
from transformers import AutoTokenizer
|
| 53 |
from bidirectional_qwen3 import Qwen3BiModel # custom bidirectional backbone
|
| 54 |
|
| 55 |
+
MODEL_ID = "DMIR01/DMRetriever-596M-PT"
|
| 56 |
|
| 57 |
# Device & dtype
|
| 58 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|