asrman
For life, for speech-related research
Wednesday, November 5, 2025
ML 101-Part1
›
def scaled_dot_attn(Q, K, V, mask=None): # Q, K, V: [B, T, d_k] scores = torch.matmul(Q, K.transpose(-2, -1) ) / math.sqrt(Q.siz...
Monday, November 3, 2025
What is k-Means? what is its pros and cons?
›
Q: What is k-Means? what is its pros and cons? Please provide a minimal PyTorch code implementation from scratch. Please provide necessa...
Sunday, September 14, 2025
My favorite separation line marker: # ▼▼▼ and # ▲▲▲
›
TL;DR: # ▼▼▼ START: Some_documentation ▼▼▼ # ▲▲▲ END: Some_documentation ▲▲▲ # Example: # solution to https://leetcode.com/problems/ro...
Monday, February 17, 2025
How to set up remote ssh without password from VSCode
›
You can set up passwordless SSH access from VSCode by using SSH keys. Here’s how: Generate an SSH key pair (if you don’t have one): Open yo...
Saturday, February 1, 2025
Tutorial: load(s) and dump(s) for Json
›
>>> help(json.load) load(fp, *, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pai...
›
Home
View web version