opennlplab / transnormer Goto Github PK
View Code? Open in Web Editor NEW[EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer
[EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer
@Doraemonzzz Hello, I am trying to reproduce the experiments. However, I find that LRA experiments need https://github.com/OpenNLPLab/lra.gits, which is not found. Could you please release it? Thank you.
Hello, I have the following error when running train_alm.sh with the environment in env1.yaml. Could you please help me?
Traceback (most recent call last):
File "/home/wangxiyuan/miniconda3/envs/transnormer/bin/fairseq-train", line 33, in
sys.exit(load_entry_point('fairseq', 'console_scripts', 'fairseq-train')())
File "/data1/wangxiyuan/Transnormer/fairseq/fairseq_cli/train.py", line 502, in cli_main
distributed_utils.call_main(cfg, main)
File "/data1/wangxiyuan/Transnormer/fairseq/fairseq/distributed/utils.py", line 369, in call_main
main(cfg, **kwargs)
File "/data1/wangxiyuan/Transnormer/fairseq/fairseq_cli/train.py", line 123, in main
trainer = Trainer(cfg, task, model, criterion, quantizer)
File "/data1/wangxiyuan/Transnormer/fairseq/fairseq/trainer.py", line 143, in init
if self.data_parallel_rank == 0:
File "/data1/wangxiyuan/Transnormer/fairseq/fairseq/trainer.py", line 176, in data_parallel_rank
return distributed_utils.get_data_parallel_rank()
File "/data1/wangxiyuan/Transnormer/fairseq/fairseq/distributed/utils.py", line 463, in get_data_parallel_rank
return get_rank(get_data_parallel_group())
File "/data1/wangxiyuan/Transnormer/fairseq/fairseq/distributed/utils.py", line 405, in get_rank
return dist.get_rank(group=group)
File "/home/wangxiyuan/miniconda3/envs/transnormer/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 688, in get_rank
default_pg = _get_default_group()
File "/home/wangxiyuan/miniconda3/envs/transnormer/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 347, in _get_default_group
raise RuntimeError("Default process group has not been initialized, "
RuntimeError: Default process group has not been initialized, please make sure to call init_process_group.
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.