Instructions to use J-MADRAL/P-MADRAL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use J-MADRAL/P-MADRAL with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("J-MADRAL/P-MADRAL", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,13 +14,14 @@ base_model:
|
|
| 14 |
pipeline_tag: text-ranking
|
| 15 |
tags:
|
| 16 |
- ProductSearch
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
|
| 20 |
**P-MADRAL** is a BERT-sized multi-aspects dense retriever initialized from [BERT](https://huggingface.co/google-bert/bert-base-uncased) public checkpoint,
|
| 21 |
further pre-trained on e-commerce product data, and fine-tuned on product search retrieval task on the
|
| 22 |
[Amazon ESCI](https://huggingface.co/datasets/J-MADRAL/AmazonESCI) dataset.
|
| 23 |
-
|
| 24 |
The similarity function is *dot product*.
|
| 25 |
|
| 26 |
|
|
|
|
| 14 |
pipeline_tag: text-ranking
|
| 15 |
tags:
|
| 16 |
- ProductSearch
|
| 17 |
+
library_name: transformers
|
| 18 |
---
|
| 19 |
|
| 20 |
|
| 21 |
**P-MADRAL** is a BERT-sized multi-aspects dense retriever initialized from [BERT](https://huggingface.co/google-bert/bert-base-uncased) public checkpoint,
|
| 22 |
further pre-trained on e-commerce product data, and fine-tuned on product search retrieval task on the
|
| 23 |
[Amazon ESCI](https://huggingface.co/datasets/J-MADRAL/AmazonESCI) dataset.
|
| 24 |
+
It uses a symmetric encoder architecture, with a single shared encoder for both queries and products.
|
| 25 |
The similarity function is *dot product*.
|
| 26 |
|
| 27 |
|