4-Minute PyTorch Tutorial: Hands-On Linear Regression

4-Minute PyTorch Tutorial: Hands-On Linear Regression

Follow our WeChat public account “ML_NLP“ Set as “Starred“, important content delivered first-hand! Produced by Big Data Digest Compiled by: Hong Yingfei, Ning Jing PyTorch is one of the deep learning framework libraries, an open-source deep learning platform from Facebook, providing seamless connection from research prototype to production deployment. This article aims to introduce the … Read more

5 Useful Tensor Operations in PyTorch

5 Useful Tensor Operations in PyTorch

Click on the above“Beginner’s Guide to Vision” to select and add a Bookmark or “Pin” Important content delivered promptly This article is reprinted from: AI Park Introduction While there are other ways to achieve the same results, these operations make usage more convenient. PyTorch is a scientific package based on Python that performs advanced operations … Read more

Beginner’s Guide to Pytorch for Deep Learning

Beginner's Guide to Pytorch for Deep Learning

Click the above “Beginner’s Visual Learning”, select to add a star mark or “pin” Important content delivered promptly Datawhale Insights Author: Li Zuxian, Datawhale University Group Member, Shenzhen University With the development of deep learning, deep learning frameworks have begun to emerge in large numbers. Especially in the past two years, giants like Google, Facebook, … Read more

Understanding PyTorch Memory Management Mechanism

Understanding PyTorch Memory Management Mechanism

Author丨Mia Luo @ Zhihu (Authorized Reprint) Source丨https://zhuanlan.zhihu.com/p/486360176Editor丨Xiaoshutong, Jizhi Shutong 1. Background Introduction The analysis of the PyTorch memory management mechanism mainly aims to reduce the impact of “memory fragmentation”. A simple example is: As shown in the figure above, suppose we want to allocate 800MB of memory. Although the total free memory is 1000MB, the … Read more

13 Essential Features of PyTorch You Must Know

13 Essential Features of PyTorch You Must Know

Click on the above“Beginner Learning Vision”, select to add “Starred” or “Pinned” Essential content delivered promptly Compiled by | ronghuaiyang Source | Frontiers of Artificial Intelligence PyTorch has gained a lot of attention in both academic and industrial research applications. It is a deep learning framework with great flexibility, utilizing a wealth of practical tools … Read more

Comprehensive Insights into PyTorch Internals from Core Developer

Comprehensive Insights into PyTorch Internals from Core Developer

Source: Ezyang Blog Information Network Engineering Research Center This article is approximately 9000 words long and is recommended for a reading time of over 15 minutes. This article is a long version of a talk about the internal mechanisms of PyTorch. Edward Z. Yang, a PhD student at Stanford University and a research engineer at … Read more

Common PyTorch Code Snippets

Common PyTorch Code Snippets

Click on "Xiaobai Studies Vision" above, select to add "Star" or "Top" Heavy content, delivered first time For academic sharing only, does not represent the position of this public account. Contact for deletion if infringing. Reprinted from:Source | Jishi Platform Author | Jack Stark@Zhihu The best resource for PyTorch is the official documentation. This article … Read more

Introduction to Deep Learning: Essential PyTorch Models

Introduction to Deep Learning: Essential PyTorch Models

“Standing on the shoulders of giants” — this is precisely the benefit that pre-trained models bring in deep learning. Training deep neural networks from scratch is both resource-intensive and time-consuming. However, the good news is that PyTorch’s pre-trained models can effectively solve this issue. PyTorch provides models that have learned robust features on large datasets, … Read more

Understanding PyTorch Memory Management Mechanism

Understanding PyTorch Memory Management Mechanism

Author丨Mialo@Zhihu Source丨https://zhuanlan.zhihu.com/p/486360176 1. Background Introduction Analyzing the PyTorch memory management mechanism primarily aims to reduce the impact of “memory fragmentation”. A simple example is as follows: As shown in the figure above, suppose we want to allocate 800MB of memory. Although the total free memory is 1000MB, the free memory shown in the upper figure … Read more

Essential Pytorch Knowledge Explained

Introduction When constructing models, especially when dealing with the input-output data formats between layers, some commonly used data processing functions such as tensor calculations and broadcasting mechanisms are very important. They remain indispensable when later using the Transformers library with pre-trained models. This article aims to explain the most commonly used Pytorch processing functions for … Read more