microsoft / simxns Goto Github PK
View Code? Open in Web Editor NEWSimXNS is a research project for information retrieval. This repo contains official implementations by MSRA NLC team.
Home Page: https://aka.ms/simxns
License: MIT License
SimXNS is a research project for information retrieval. This repo contains official implementations by MSRA NLC team.
Home Page: https://aka.ms/simxns
License: MIT License
I am writing to inform you that I have been facing an issue with downloading the checkpoints for the past 4 days. The download stops when it reaches 6-7 GB in size, and I am not sure if others are facing the same problem.
Could you please look into this and let me know if there is a solution or if anyone else is encountering a similar issue?
According to the code
random.choices(neg_candidates, weights=neg_scores, k=num_hard_negatives)
If it's true, why it is better than without replacement?
FileNotFoundError: [Errno 2] No such file or directory: '/home/socialab/Desktop/Kailash/SimXNS-main/SimANS/output/co_training_tq_SimANS_test/log.txt'
Datasets and ckpts are not accessible now!!!
Traceback (most recent call last):
File "co_training/co_training_marco_generate.py", line 401, in
main()
File "co_training/co_training_marco_generate.py", line 392, in main
get_new_dataset(args, model, global_step, renew_tools)
File "co_training/co_training_marco_generate.py", line 354, in get_new_dataset
renew_tools.get_question_topk(train_q, train_q_embed, train_q_embed2id, ground_truth_path,
File "/SimXNS/SimANS/co_training/co_training_generate.py", line 439, in get_question_topk
train_pos_qp, train_pos_qp_add = load_pos_examples(mode)
File "/SimXNS/SimANS/co_training/co_training_generate.py", line 141, in load_pos_examples
with open(file_add) as inp:
FileNotFoundError: [Errno 2] No such file or directory: 'data/MS-Pas/qrels.train.addition.tsv'
why there is no def SimANS(pos_pair, neg_pairs_list) in the code?
OSError: Can't load the configuration of 'ckpt/MS-Doc/adore-star'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'ckpt/MS-Doc/adore-star' is the correct path to a directory containing a config.json file
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 18826) of binary: /home/socialab/miniconda3/envs/IR_SimANS-env/bin/python
orch.cuda.set_device(args.local_rank)
File "/home/socialab/miniconda3/envs/IR_SimANS-env/lib/python3.10/site-packages/torch/cuda/init.py", line 314, in set_device
torch._C._cuda_setDevice(device)
RuntimeError: CUDA error: invalid device ordinal
Hi, 麻烦问下。
对Fig.1的梯度均值,统计的是整体loss对模型的梯度向量的L2范数吗?
对Fig.1的梯度方差,统计的是[正样本doc的loss的梯度的L2范数, 负样本doc的loss梯度的L2范数】这个向量的方差吗?
如果可以的话,可以提供一个简单的作图代码。感谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.