Open in app

Sign In

Write

Sign In

Yaokun Lin @ MachineLearningQuickNotes
Yaokun Lin @ MachineLearningQuickNotes

439 Followers

Home

About

Published in

Level Up Coding

·1 day ago

19 Loss Functions in PyTorch

basic usage criterion = LossCriterion() #build your own loss parameter loss = criterion(x, y) 19 loss functions 1 L1 norm loss L1Loss Computes the absolute value of the difference between output and target. torch.nn.L1Loss(reduction='mean') parameter: reduction — three values, none: no reduction is used; mean: returns the mean of loss sum; sum: returns the sum…

Machine Learning

6 min read

19 Loss Functions in PyTorch
19 Loss Functions in PyTorch
Machine Learning

6 min read


1 day ago

This Interview Question was Asked by DoorDash 29 times, Intuit 13 Times, and Microsoft 10 Times

37. Sudoku Solver Hard 8K 210

Leetcode Hard

3 min read

This Interview Question was Asked by DoorDash 29 times, Intuit 13 Times, and Microsoft 10 Times
This Interview Question was Asked by DoorDash 29 times, Intuit 13 Times, and Microsoft 10 Times
Leetcode Hard

3 min read


May 21

This Interview Question Was Asked by Amazon, Apple, Lyft, Paypal, and Oracle

238. Product of Array Except Self Medium 17.5K 960

Leetcode Medium

2 min read

This Interview Question Was Asked by Amazon, Apple, Lyft, Paypal, and Oracle
This Interview Question Was Asked by Amazon, Apple, Lyft, Paypal, and Oracle
Leetcode Medium

2 min read


Published in

Level Up Coding

·May 19

GPT-4 wins the new SOTA of the most difficult mathematical reasoning data set, and the new Prompting makes the reasoning ability of large models soar

Simulating the human reasoning process, Huawei Noah’s Ark lab proposed Progressive-Hint Prompting (PHP) to guide the large model to asymptotically correct answers. Recently, Huawei and Hong Kong Chinese published a paper “Progressive-Hint Prompting Improves Reasoning in Large Language Models”, proposing Progressive-Hint Prompting (PHP), which is used to simulate the process…

9 min read

GPT-4 wins the new SOTA of the most difficult mathematical reasoning data set, and the new…
GPT-4 wins the new SOTA of the most difficult mathematical reasoning data set, and the new…

9 min read


May 19

The Interview Question Was Asked by Oracle 8 Times

We will solve it in three different ways 347. Top K Frequent Elements Medium 13.5K 496

2 min read

The Interview Question Was Asked by Oracle 8 Times
The Interview Question Was Asked by Oracle 8 Times

2 min read


Published in

Level Up Coding

·Apr 15

Amazon entered the ChatGPT war with a high profile and released the Titan model and AI programming assistant for free. CEO: Change all experiences

The new tool is called Bedrock, which is used to replace ChatGPT and DALL-E 2 in a package, and supports the Titan large model. Overnight, Amazon came to a “curve overtaking”. When the world’s major technology giants are embracing today’s hottest model, AIGC, Amazon has only one impression: stealth. Although…

7 min read

Amazon entered the ChatGPT war with a high profile and released the Titan model and AI programming…
Amazon entered the ChatGPT war with a high profile and released the Titan model and AI programming…

7 min read


Apr 15

Top 15 Most Popular Python Libraries, 100 million + Downloads!

I list the most downloaded Python packages on PyPI in the last year. Now let's take a look at what these packages do, how they relate to each other, and why they are so popular. 1. Urllib3: 893 million downloads Urllib3 is an HTTP client for Python that provides many features not found in the…

10 min read

Top 15 Most Popular Python Libraries, 100 million + Downloads!
Top 15 Most Popular Python Libraries, 100 million + Downloads!

10 min read


Published in

Level Up Coding

·Feb 12

Py-spy: Excellent Python program performance monitoring and analyzer

py-spy is a performance monitoring and analyzer for Python programs. It allows you to visualize how long your Python program takes without restarting the program or modifying the code in any way. py-spy has very low overhead: to maximize speed, it’s written in Rust and doesn’t run in the same…

Python

3 min read

Py-spy: Excellent Python program performance monitoring and analyzer
Py-spy: Excellent Python program performance monitoring and analyzer
Python

3 min read


Feb 12

How many TCP connections can one server support at most?

1. The maximum number of files that can be opened by a server 1. Limit parameters We know that everything is a file in Linux, so how many files can a server open at most? The maximum number of files that can be opened on Linux is affected by three parameters, namely: fs.file-max (system-level parameter): This parameter describes the maximum number of files that can be…

System Design Concepts

11 min read

How many TCP connections can one server support at most?
How many TCP connections can one server support at most?
System Design Concepts

11 min read


Published in

Level Up Coding

·Feb 10

Google’s version of ChatGPT made its debut, the first demo was overturned, and the market value plummeted by 700 billion

Today’s Google is a bit of a lost taste. After Microsoft updated the Bing search supported by ChatGPT, everyone paid close attention to the debut of Google Bard. How do you know that the Demo crash that was exposed recently caused the stock to plummet by 700 billion yuan overnight…

Bard

8 min read

Google’s version of ChatGPT made its debut, the first demo was overturned, and the market value…
Google’s version of ChatGPT made its debut, the first demo was overturned, and the market value…
Bard

8 min read

Yaokun Lin @ MachineLearningQuickNotes

Yaokun Lin @ MachineLearningQuickNotes

439 Followers

Actuary | ML Practitioner | Apply Tomorrow's Technology to Solve Today's Problems

Following
  • NYU Center for Data Science

    NYU Center for Data Science

  • Abhijit Mondal

    Abhijit Mondal

  • Tarantool

    Tarantool

  • 李少兰

    李少兰

See all (19)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams