Archives for JERRYLSU.NET

Python docx using lxml

Multiprocessing in FastAPI

asyncio get_event_loop vs get_running_loop

FastAPI for CPU-Bound Task

Longformer Torch2Paddle

Python-encode-decode Base64-encode-decode

Paddle gather index_select

Paddle.nn.functional.unfold

Pytorch tensor.stride & tensor.as_strided

Pytorch View vs Reshape

pytorch.nn.functional.pad

Image tilt correction

Joblib parallel

Creating folds properly

Longformer BigBird

Mapping chars and words to tokens

Feedback prize evaluating student writing

Scipy stats

Binomial distribution

Numpy [None, ...]

Hierarchical Position Embedding

Paddle dtype

Tokenizer offerset mapping

paddle implements torch.repeat_interleave/K.repeat_elements using paddle.reshape & paddle.tile

Mac m1 install Paddle

Pandas-regex

Pandas-list-mapping

Data EDA

Pandas-to-csv

Bert as Service

Faiss

Docker Python Mysql

Docker build

Docker export vs commit

Docker Build GPU Base Image

Cross Entropy

Python - setdefault

NLP Unicode Tokenizer Mapping

Numpy np.where

Python Encode Decode

Python -m

Text-Generation

Jmeter

Git LFS Bandwidth Issue

Python Coroutine

Apache2 MacOS

Isso-Comment-Server

Apache2 Deploy Multi-sites

Python Blinker

Scatter_nd

Transformer

Pointer Networkers

Sliding Window

Utterance Rewriter

Numpy Indexing

Viterbi Algorithm

HMM Viterbi Algorithm

Capsule Networkers

Pytorch fancy indexing

ConditionalRandomField

tensor.detach/torch.detach_/torch.data

torch.lt/torch.gt/torch.le/torch.ge/torch.ne

BertForQuestionAnswering

Pytorch-create-tensor

batch padding

Python dataclasses

torch.rand/randn/randint

torch.nn.CrossEntropyLoss

Python - typing

Google-android

Python - Generator

Python - Iterable vs Iterator

Python - os

Python Requests

Python Decorator

Python Built-in Functions

CategoricalCrossentropy VS SparseCategoricalCrossentropy

tf.not_equal/reduce_any/boolean_mask

Python - list.index

Huggingface-Writing a dataset loading script

tf.broadcast_to

tf.concat/split/stack

tf.transpose/expand_dims/squeeze

tf.math

cmrc2018 dataset

Convert pytorch checkpoint to tensorflow2

CMRC Metric

JDMDC2020

Deploy model in production

NLP Resources

Pytorch Transformer

Pytorch contiguous

【NLP】Teacher Forcing

Pytorch distributed train

Iterator

【RL】Reinforcement Learning

A* Heuristic Algorithm

Sort

C++

LinkedList

【RL】Q Learning

Algorithms

【RL】User Simulator

BackTracking

NLP Attention

【NLP】BERT

【NLP】ELMo

【RL】Policy Gradient

【NLP】RASA Issues

CNN

Deploy my blog quickly

【NLP】RASA Dialogue Transformers

【NLP】RASA Featurizer

【NLP】Embedding

【NLP】GlobalAveragePooling1D

Cross Validation-CV

Docker

Conda

Logistic Regression

Spark

Spark Partitions with Coalesce and Repartition

Scala Tips

Spark Tips

Scala Collection

Automated Feature Engineering: Featuretools

PCA

SQLite Full-text Search

L1 and L2 Regularization

Bias vs Variance

Topological Sorting

Breadth First Search

GBDT

Dynamic Programming

Closure

Passing a function as an argument: Lambda Function

Using groupBy on multiple columns

Python Object and Reference

Cygwin

Case Class vs Class

Singleton & Companion Object

Binary Tree

Auto-generated subtitles for any video

Using loguru and notifiers instead of logging

Checking DataFrame/Series missing values

Binary Search

Python email

Python logging

Spark SQL Join

Spark: Shuffling and Partitioning

Scala with Gradle in Intellij

Debugging Spark Application

Linux

Scala

Spark RDD

Adaboost

CART

Information Theory

Data Structure and Algorithm in Python

Hexo blog sync and migration

Leetcode Index

Vim

Building Python Package with Pybuilder

Git

Keeping a fork synced with the origin repo