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 条
  • [11] Deep SAS: A Deep Signature-based API Specification Learning Approach
    Bahrami, Mehdi
    Assefi, Mehdi
    Thomas, Ian
    Chen, Wei-Peng
    Choudhary, Shridhar
    Arabnia, Hamid R.
    2020 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2020, : 1994 - 2001
  • [12] Learning Embeddings of API Tokens to Facilitate Deep Learning Based Program Processing
    Lu, Yangyang
    Li, Ge
    Miao, Rui
    Jin, Zhi
    KNOWLEDGE SCIENCE, ENGINEERING AND MANAGEMENT, KSEM 2016, 2016, 9983 : 527 - 539
  • [13] A deep learning approaches and fastai text classification to predict 25 medical diseases from medical speech utterances, transcription and intent
    Yogesh Kumar
    Apeksha Koul
    Seema Mahajan
    Soft Computing, 2022, 26 : 8253 - 8272
  • [14] Diagnosis of coronary layered plaque by deep learning
    Araki, Makoto
    Park, Sangjoon
    Nakajima, Akihiro
    Lee, Hang
    Ye, Jong Chul
    Jang, Ik-Kyung
    SCIENTIFIC REPORTS, 2023, 13 (01):
  • [15] Polyphonic pitch tracking with deep layered learning
    Elowsson, Anders
    Journal of the Acoustical Society of America, 2020, 148 (01): : 446 - 468
  • [16] Polyphonic pitch tracking with deep layered learning
    Elowsson, Anders
    JOURNAL OF THE ACOUSTICAL SOCIETY OF AMERICA, 2020, 148 (01): : 446 - 468
  • [17] Diagnosis of coronary layered plaque by deep learning
    Park, S.
    Arakai, M.
    Nakajima, A.
    Lee, H.
    Ye, J. C.
    Jang, I. K.
    EUROPEAN HEART JOURNAL, 2022, 43 : 338 - 338
  • [18] Diagnosis of coronary layered plaque by deep learning
    Makoto Araki
    Sangjoon Park
    Akihiro Nakajima
    Hang Lee
    Jong Chul Ye
    Ik-Kyung Jang
    Scientific Reports, 13 (1)
  • [19] Comparing Deep Learning and Shallow Learning Techniques for API Calls Malware Prediction: A Study
    Cannarile, Angelo
    Dentamaro, Vincenzo
    Galantucci, Stefano
    Iannacone, Andrea
    Impedovo, Donato
    Pirlo, Giuseppe
    APPLIED SCIENCES-BASEL, 2022, 12 (03):
  • [20] A deep learning approaches and fastai text classification to predict 25 medical diseases from medical speech utterances, transcription and intent
    Kumar, Yogesh
    Koul, Apeksha
    Mahajan, Seema
    SOFT COMPUTING, 2022, 26 (17) : 8253 - 8272