kernelmachine / demix Goto Github PK
View Code? Open in Web Editor NEWDEMix Layers for Modular Language Modeling
License: Other
DEMix Layers for Modular Language Modeling
License: Other
Could you please release the checkpoints of the pre-trained models?
I followed the tutorial and tried to execute tutorial/train.sh
with the given parameters. However, it gives the following error:
0: Traceback (most recent call last):
0: File "/home/edwardhu/demix/fairseq_cli/train.py", line 597, in <module>
0: cli_main()
0: File "/home/edwardhu/demix/fairseq_cli/train.py", line 593, in cli_main
0: distributed_utils.call_main(cfg, main)
0: File "/home/edwardhu/demix/fairseq/distributed_utils.py", line 318, in call_main
0: torch.multiprocessing.spawn(
0: File "/home/edwardhu/anaconda3/envs/demix/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 230, in spawn
0: return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
0: File "/home/edwardhu/anaconda3/envs/demix/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 188, in start_processes
0: while not context.join():
0: File "/home/edwardhu/anaconda3/envs/demix/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 150, in join
0: raise ProcessRaisedException(msg, error_index, failed_process.pid)
0: torch.multiprocessing.spawn.ProcessRaisedException:
0:
0: -- Process 3 terminated with the following error:
0: Traceback (most recent call last):
0: File "/home/edwardhu/anaconda3/envs/demix/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 59, in _wrap
0: fn(i, *args)
0: File "/home/edwardhu/demix/fairseq/distributed_utils.py", line 305, in distributed_main
0: main(cfg, **kwargs)
0: File "/home/edwardhu/demix/fairseq_cli/train.py", line 86, in main
0: task.load_dataset(valid_sub_split, combine=False, epoch=1)
0: File "/home/edwardhu/demix/fairseq/tasks/multidomain_language_modeling.py", line 548, in load_dataset
0: dataset = ConcatDataset(ds)
0: File "/home/edwardhu/demix/fairseq/data/concat_dataset.py", line 26, in __init__
0: assert len(datasets) > 0, "datasets should not be an empty iterable"
0: AssertionError: datasets should not be an empty iterable
It seems like there are problems with datasets. I followed the tutorials from demix-data and generated imbd dataset with no issues. Is there something I'm missing here? Any help will be appreciated.
The link for tutorial is unavailable. Could you please update the link?
Thanks!
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.