Views
No views yet
1from sentence_transformers import SparseEncoder
2
3sparse_model = SparseEncoder("cnmoro/inference-free-splade-co-condenser-en-ptbr-v2")
4
5sparse_embeddings = sparse_model.encode(["Hello", "World"], show_progress_bar=True)Luyu/co-condenser-marcosentence-transformers/natural-questionscnmoro/GPT4-500k-Augmented-PTBR-Cleancnmoro/WizardVicuna-PTBR-Instruct-Clean12SpladeLoss(SparseMultipleNegativesRankingLoss)0.0302e-50.1fp16=TrueNO_DUPLICATESquery -> query, answer -> documentlearning_rate: 2e-05lr_scheduler_type: cosinewarmup_steps: 0.1weight_decay: 0.01gradient_accumulation_steps: 4max_grad_norm: 5.0fp16: Truedisable_tqdm: Truedataloader_num_workers: 4batch_sampler: no_duplicatesrouter_mapping: {'query': 'query', 'answer': 'document'}learning_rate_mapping: {'\.query\.0\.': 0.001}1@inproceedings{reimers-2019-sentence-bert,
2 title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
3 author = "Reimers, Nils and Gurevych, Iryna",
4 booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
5 month = "11",
6 year = "2019",
7 publisher = "Association for Computational Linguistics",
8 url = "https://arxiv.org/abs/1908.10084",
9}1@misc{formal2022distillationhardnegativesampling,
2 title={From Distillation to Hard Negative Sampling: Making Sparse Neural IR Models More Effective},
3 author={Thibault Formal and Carlos Lassance and Benjamin Piwowarski and Stéphane Clinchant},
4 year={2022},
5 eprint={2205.04733},
6 archivePrefix={arXiv},
7 primaryClass={cs.IR},
8 url={https://arxiv.org/abs/2205.04733},
9}1@misc{oord2019representationlearningcontrastivepredictive,
2 title={Representation Learning with Contrastive Predictive Coding},
3 author={Aaron van den Oord and Yazhe Li and Oriol Vinyals},
4 year={2019},
5 eprint={1807.03748},
6 archivePrefix={arXiv},
7 primaryClass={cs.LG},
8 url={https://arxiv.org/abs/1807.03748},
9}1@article{paria2020minimizing,
2 title={Minimizing flops to learn efficient sparse representations},
3 author={Paria, Biswajit and Yeh, Chih-Kuan and Yen, Ian EH and Xu, Ning and Ravikumar, Pradeep and P{'o}czos, Barnab{'a}s},
4 journal={arXiv preprint arXiv:2004.05665},
5 year={2020}
6}