Điểm qua automl/NASLib: 596 sao trên GitHub, viết chủ yếu bằng Python. NASLib is a Neural Architecture Search (NAS) library for facilitating NAS research for the community by providing interfaces to several state-of-the-art NAS search spaces and optimizers.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
** For the Zero-Cost NAS Competition, please switch to the automl-conf-competition branch **
NASLib is a modular and flexible framework created with the aim of providing a common codebase to the community to facilitate research on Neural Architecture Search (NAS). It offers high-level abstractions for designing and reusing search spaces, interfaces to benchmarks and evaluation pipelines, enabling the implementation and extension of state-of-the-art NAS methods with a few lines of code. The modularized nature of NASLib
allows researchers to easily innovate on individual components (e.g., define a new
search space while reusing an optimizer and evaluation pipeline, or propose a new
optimizer with existing search spaces). It is designed to be modular, extensible and easy to use.
NASLib was developed by the AutoML Freiburg group and with the help of the NAS community, we are constantly adding new search spaces, optimizers and benchmarks to the library. Please reach out to [email protected] for any questions or potential collaborations.
Setup
| Usage
| Docs
| Contributing
| Cite
Setup
While installing the repository, creating a new conda environment is recomended. Install PyTorch GPU/CPU for your setup.
The test coverage can be seen with coverage report.
Queryable Benchmarks
NASLib allows you to query the following (tabular and surrogate) benchmarks for the performance of any architecture, for a given search space, dataset and task. To set them up, simply download the benchmark data files from the these URLs and place them in naslib/data.
search_space = SimpleCellSearchSpace()
optimizer = DARTSOptimizer(**config.search)
optimizer.adapt_search_space(search_space, config.dataset)
trainer = Trainer(optimizer, config)
trainer.search() # Search for an architecture
trainer.evaluate() # Evaluate the best architecture
For more examples see naslib tutorial, intro to search spaces and intro to predictors.
Scripts for running multiple experiments on a cluster
The scripts folder contains code for generating config files for running experiments across various configurations and seeds. It writes them into the naslib/configs folder.
cd scripts
bash bbo/make_configs_asr.sh
It also contains scheduler.sh files to automatically read these generated config files and submits a corresponding job to the cluster using SLURM.
Contributing
We welcome contributions to the library along with any potential issues or suggestions. Please create a pull request to the Develop branch.
Cite
If you use this code in your own work, please use the following bibtex entries:
@misc{naslib-2020,
title={NASLib: A Modular and Flexible Neural Architecture Search Library},
author={Ruchte, Michael and Zela, Arber and Siems, Julien and Grabocka, Josif and Hutter, Frank},
year={2020}, publisher={GitHub},
howpublished={\url{https://github.com/automl/NASLib}} }
@inproceedings{mehta2022bench,
title={NAS-Bench-Suite: NAS Evaluation is (Now) Surprisingly Easy},
author={Mehta, Yash and White, Colin and Zela, Arber and Krishnakumar, Arjun and Zabergja, Guri and Moradian, Shakiba and Safari, Mahmoud and Yu, Kaicheng and Hutter, Frank},
booktitle={International Conference on Learning Representations},
year={2022}
}
NASLib has been used to run an extensive comparison of 31 performance predictors (figure above). See the separate readme: predictors.md
and our paper: How Powerful are Performance Predictors in Neural Architecture Search?
@article{white2021powerful,
title={How Powerful are Performance Predictors in Neural Architecture Search?},
author={White, Colin and Zela, Arber and Ru, Robin and Liu, Yang and Hutter, Frank},
journal={Advances in Neural Information Processing Systems},
volume={34},
year={2021}
}
automl/NASLib có 596 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/automl/NASLib. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
automl/NASLib có những chủ đề gì?
GitHub topics của automl/NASLib: "automl", "nas", "neural-architecture-search". TopGit xếp repo vào nhóm mã nguồn mở.
automl/NASLib còn đang phát triển không?
Commit gần nhất trên automl/NASLib là 2.0 năm trước (theo timestamp GitHub). Repo có 133 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
automl/NASLib là gì?
automl/NASLib (automl/NASLib) là dự án Python trên GitHub. Theo mô tả gốc: NASLib is a Neural Architecture Search (NAS) library for facilitating NAS research for the community by providing interfaces to several state-of-the-art NAS search spaces and optimizers.
automl/NASLib viết bằng ngôn ngữ gì?
automl/NASLib chủ yếu viết bằng Python. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
NASLib có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về NASLib.