Fastai: A Layered API for Deep Learning

被引:508
|
作者
Howard, Jeremy [1 ,2 ]
Gugger, Sylvain [1 ]
机构
[1] Fastai, San Francisco, CA 94117 USA
[2] Univ San Francisco, Data Sci Inst, San Francisco, CA 94117 USA
关键词
deep learning; data processing pipelines;
D O I
10.3390/info11020108
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
fastai is a deep learning library which provides practitioners with high-level components that can quickly and easily provide state-of-the-art results in standard deep learning domains, and provides researchers with low-level components that can be mixed and matched to build new approaches. It aims to do both things without substantial compromises in ease of use, flexibility, or performance. This is possible thanks to a carefully layered architecture, which expresses common underlying patterns of many deep learning and data processing techniques in terms of decoupled abstractions. These abstractions can be expressed concisely and clearly by leveraging the dynamism of the underlying Python language and the flexibility of the PyTorch library. fastai includes: a new type dispatch system for Python along with a semantic type hierarchy for tensors; a GPU-optimized computer vision library which can be extended in pure Python; an optimizer which refactors out the common functionality of modern optimizers into two basic pieces, allowing optimization algorithms to be implemented in 4-5 lines of code; a novel 2-way callback system that can access any part of the data, model, or optimizer and change it at any point during training; a new data block API; and much more. We used this library to successfully create a complete deep learning course, which we were able to write more quickly than using previous approaches, and the code was more clear. The library is already in wide use in research, industry, and teaching.
引用
收藏
页数:26
相关论文
共 50 条
  • [41] Deep learning for effective Android malware detection using API call graph embeddings
    Abdurrahman Pektaş
    Tankut Acarman
    Soft Computing, 2020, 24 : 1027 - 1043
  • [42] Inverse design of layered periodic wave barriers based on deep learning
    Liu, Chen-Xu
    Yu, Gui-Lan
    PROCEEDINGS OF THE INSTITUTION OF MECHANICAL ENGINEERS PART L-JOURNAL OF MATERIALS-DESIGN AND APPLICATIONS, 2022, 236 (11) : 2255 - 2268
  • [43] Deep learning based Sequential model for malware analysis using Windows exe API Calls
    Catak, Ferhat Ozgur
    Yaz, Ahmet Faruk
    Elezaj, Ogerta
    Ahmed, Javed
    PEERJ COMPUTER SCIENCE, 2020,
  • [44] Towards a Model of API Learning
    Kelleher, Caitlin
    Ichinco, Michelle
    2019 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC 2019), 2019, : 163 - 168
  • [45] Assessing User Interest in Web API Recommendation using Deep Learning Probabilistic Matrix Factorization
    Ramathulasi, T.
    Babu, M. Rajasekhara
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2023, 14 (01) : 744 - 752
  • [46] UA-Miner: Deep Learning Systems for Expose Unprotected API Vulnerability in Source Code
    He, Yuan
    Sun, Hongyu
    Feng, Hantao
    2020 12TH INTERNATIONAL CONFERENCE ON ADVANCED COMPUTATIONAL INTELLIGENCE (ICACI), 2020, : 378 - 384
  • [47] Deep learning based Sequential model for malware analysis using Windows exe API Calls
    Catak F.O.
    Yazi A.F.
    Elezaj O.
    Ahmed J.
    PeerJ Computer Science, 2020, 6 : 1 - 23
  • [48] Deep Semi-supervised Learning Using Multi-Layered Extreme Learning Machines
    Er, Meng Joo
    Kashyap, Anurag
    Wang, Ning
    2016 IEEE INTERNATIONAL CONFERENCE ON CYBER TECHNOLOGY IN AUTOMATION, CONTROL, AND INTELLIGENT SYSTEMS (CYBER), 2016, : 457 - 462
  • [49] An API Learning Service for Inexperienced Developers Based on API Knowledge Graph
    Yin, Hang
    Zheng, Yuanhao
    Sun, Yanchun
    Huang, Gang
    2021 IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES, ICWS 2021, 2021, : 251 - 261
  • [50] Multi-Layered Deep Learning Features Fusion for Human Action Recognition
    Kiran, Sadia
    Khan, Muhammad Attique
    Javed, Muhammad Younus
    Alhaisoni, Majed
    Tariq, Usman
    Nam, Yunyoung
    Damasevicius, Robertas
    Sharif, Muhammad
    CMC-COMPUTERS MATERIALS & CONTINUA, 2021, 69 (03): : 4061 - 4075