Shi Yu

Results 9 issues of Shi Yu

Hello, I'm working on the GenQ setting and find that the model loading part seems incorrect. In `query_gen_and_train.py`, the model loading part is like: ```python #### Provide any sentence-transformers model...

Dear Luyu, Thank you for the great package simplifying the cumbersome DR training & evaluation process! I try using it in DDP mode and I read the code. I have...

### Feature request Some datasets may contain an id-like field, for example the `id` field in [wikimedia/wikipedia](https://huggingface.co/datasets/wikimedia/wikipedia) and the `_id` field in [BeIR/dbpedia-entity](https://huggingface.co/datasets/BeIR/dbpedia-entity). HF datasets support efficient random access via...

enhancement

It seems that the 6th query "Which is the better type?" from topic 81, CAsT-20 is mistakenly put in `automatic_evaluation_topics_annotated_v1.1.json` since the query doesn't exist in either `2020_automatic_evaluation_topics_v1.0.json` or `2020_manual_evaluation_topics_v1.0.json`.

ANCE uses a layer norm over the embeddings: https://github.com/microsoft/ANCE/blob/master/model/models.py#L146

`strip` should be `rstrip` to avoid removing the leading `/` in the local path