[source code analysis] how Facebook trains super large models---
[source code analysis] how Facebook trains super large models -- (4)
0x00 summary
As we mentioned earlier, Microsoft ZeRO can expand a trillion parameter model on 4096 NVIDIA A100 GPU s using 8-way model parallel, 64-way pipeline parallel and 8-way data parallel. FSDP (full sharded data parallel) is an upgraded version of PyTorch DDP proposed ...
Added by steve55 on Wed, 26 Jan 2022 00:35:45 +0200
Image data enhancement Library
This article is mainly reproduced in Blog github project address: https://github.com/albu/albumentations Help document - evaluations This paper mainly introduces some common methods of image data enhancement library augmentation
Python image processing library – augmentations, which can be used for image data enhancement during net ...
Added by jonskinny12 on Tue, 25 Jan 2022 23:28:27 +0200
Wu Enda's machine learning homework: Logistic regression
Assignment topic 1 Logistic regression
In this part of the exercise, you will build a logistic regression model to predict whether a student can enter college. Suppose you are an administrator of a university. You want to decide whether each applicant is admitted according to the results of two exams. You have historical data from previous app ...
Added by Dinosoles on Tue, 25 Jan 2022 06:33:05 +0200
Bayes theorem
1. Bayesian theorem
Bayesian theorem:
P
(
H
∣
X
)
=
P
(
X
...
Added by suncore on Tue, 25 Jan 2022 06:13:06 +0200
Propeller rewrites Boston house price
Dataset hyperlink
#Load the propeller, Numpy and related class libraries
import paddle
from paddle.nn import Linear
import paddle.nn.functional as F
import numpy as np
import os
import random
Dynamic graph mode (imperative programming paradigm, analogy to Python): analytical execution mode. Users do not need to define a complete network str ...
Added by mubeena on Mon, 24 Jan 2022 21:45:41 +0200
Matplotlib drawing summary
catalogue
1. Line chart
Style:
Set font
Axis setting
Use of marker and annotate
Sketchpad settings
Draw multiple graphs
2. Bar chart
Vertical bar chart
Horizontal bar chart
Grouped bar chart
Stacked bar chart
3. Histogram
4. Scatter diagram
5. Pie chart
6. Box diagram
7. Radar chart
Subgraph creation
Dependencies used:
impo ...
Added by M4F on Mon, 24 Jan 2022 19:10:26 +0200
Use CodeMirror to build the IDE used by data scientists
1. Introduction to codemirrorCodeMirror is a general text editor implemented with JavaScript. It is specially used for code editing. It has built-in multiple development language modes and plug-ins, and supports code highlighting, automatic completion, search, shortcut keys, etc.CodeMirror is an open source project licensed by MIT. At present, ...
Added by keyur.delhi on Mon, 24 Jan 2022 12:50:48 +0200
[source code analysis] deep learning distributed training framework horovod -- background thread architecture
[source code analysis] deep learning distributed training framework horovod (6) - background thread architecture
0x00 summary
Horovod is an easy-to-use high-performance distributed training framework released by Uber in 2017, which has been widely used in the industry.
This series will lead you to understand Horovod through source code a ...
Added by DRTechie on Mon, 24 Jan 2022 05:49:53 +0200
Actual housing price prediction of machine learning project
Machine learning project practical series} housing price forecast
catalogue
Machine learning project practical series} housing price forecast
1, Overview
2, Analysis data
1. Data import
2. Basic statistical operation
3. Characteristic Observation
4. Establish model
5. Analyze model performance
(1) Learning curve
(2) Complexity curve ...
Added by Bulbe on Sun, 23 Jan 2022 20:37:41 +0200
[Python from zero to one] twelve Regression analysis of machine learning 10000 word summary network launch (linear regression, polynomial regression, logical regression)
Welcome to "Python from zero to one", where I will share about 200 Python series articles, take you to learn and play, and see the interesting world of Python. All articles will be explained in combination with cases, codes and the author's experience. I really want to share my nearly ten years of programming experience with you. I ho ...
Added by saadatshah on Sun, 23 Jan 2022 19:42:31 +0200