All authors
wenmin-wu avatar

Claude Skills by wenmin-wu

github.com/wenmin-wu
535 skillsA× 5350 installs257 views
Class Balanced Dataset MergeA

Merges multiple training datasets while keeping all positive examples and downsampling negatives to control class imbalance.

datapython
0
61
Cls Null Score Span RerankingA

Reranks candidate answer spans by subtracting the CLS token's start+end logit sum as a null-answer baseline score.

testingpythongit
0
61
Cp1252 Utf8 Encoding NormalizationA

Resolves mixed cp1252/utf-8 encoding artifacts in text via round-trip encode/decode with custom error handlers and unidecode normalization.

developmentpythondatabase
0
61
Cross Model Candidate PoolA

Merge candidate pools from multiple independent seq2seq models before MBR selection to reduce shared failure modes

code-qualitypythongo
0
61
Custom Bpe TokenizerA

Trains a Byte-Pair Encoding tokenizer on the task corpus to capture domain-specific vocabulary, typos, and subword patterns.

ai-agentspython
0
61
Cyclical Lr TriangularA

Cyclical learning rate (CLR) Keras callback that oscillates LR between base and max each batch for faster convergence

developmentpythonangular
0
61
Deberta ClassificationA

Fine-tunes DeBERTa-v3 for text classification tasks. Use when building text classifiers, sentiment analysis, or multi-label classification on domain-specific data.

datapython
0
61
Domain Special Token EmbeddingA

Add domain-specific categorical values as new special tokens, resize embeddings, and prepend them to input so the model learns domain-aware representations

ai-agentspythongo
0
61
Domain Wordpiece TfidfA

Trains a WordPiece tokenizer on in-domain text, then feeds its subword token IDs into TF-IDF vectorization for domain-adapted sparse features.

testingpython
0
61
Dropout Disabled InferenceA

Explicitly zero all dropout probabilities in transformer config at load time for fully deterministic inference

developmentpython
0
61
Dual Embedding ConcatA

Concatenate GloVe and FastText embedding matrices along feature axis for richer 600d word representations

ai-agentspython
0
61
Dynamic Batch PaddingA

Pads each batch to its actual max sequence length instead of the global max_len, reducing wasted computation.

datapython
0
61
Embedding Aware Punct NormalizationA

Use pretrained embedding vocab to decide which punctuation to keep, split, or remove before tokenization

ai-agentspythongo
0
61
Embedding Coverage AnalysisA

Measure pretrained embedding coverage over dataset vocab and return OOV words sorted by frequency for targeted preprocessing

ai-agentspythongo
0
61
Embedding Matrix Oov Gaussian InitA

Initialize out-of-vocabulary word embeddings with Gaussian noise matching the pretrained embedding distribution

ai-agentspython
0
61
Encoder Decoder Lr SplitA

Use separate learning rates for pretrained backbone (low) and randomly initialized classification head (high)

toolspython
0
61
Fill Mask Entity ClassificationA

Uses a fine-tuned masked language model to classify candidate entity spans by comparing fill-mask probabilities for positive vs negative marker tokens.

toolspythonapi
0
61
Gpu Tfidf Cosine MatchingA

GPU-accelerated TF-IDF vectorization via RAPIDS cuML with chunked cosine similarity for large-scale text matching

ai-agentspythongo
0
61
Gradient CheckpointingA

Trades compute for memory by recomputing intermediate activations during backprop instead of storing them, reducing memory from O(n) to O(sqrt(n)).

toolspython
0
61
Head Tail TruncationA

Preserves both the start and end of long text sequences when truncating for transformer input limits.

developmentpythongo
0
61
Hierarchical Label EncodingA

Concatenate multi-level categorical fields into a compound label (Category:Subcategory) for flat multiclass classification

developmentpythongo
0
61
Identity Weighted Bce LossA

Weight BCE loss by identity subgroup membership to debias predictions — upweight samples where identity conflicts with label

developmentpythongo
0
61
In Task PretrainingA

Further pretrains a transformer with masked language modeling on the target task's own text before fine-tuning.

datapythonperformance
0
61
Jaccard Dedup Prediction FilterA

Deduplicates extracted entity predictions by filtering out candidates whose Jaccard word-overlap with already-accepted labels exceeds a threshold.

developmentpythonapi
0
61
Jaccard Fbeta Ner MetricA

Computes micro F-beta for NER where true positives are determined by Jaccard word-overlap >= threshold rather than exact string match.

datapython
0
61
Japanese Transliteration NormalizationA

Converts Japanese scripts (Hiragana, Katakana, Kanji) to romanized ASCII using pykakasi for cross-script entity matching.

toolspython
0
61
Joint Span Answer Type HeadA

Dual-head transformer model that jointly predicts start/end span logits from sequence output and answer type from pooled CLS output.

datapythongit
0
61
Kendall Tau Ordering MetricA

Evaluates predicted sequence ordering quality using Kendall Tau correlation via efficient O(n log n) inversion counting.

code-qualitypython
0
61
Keystroke Essay ReconstructionA

Replay keystroke activity logs (Input/Replace/Paste/Remove/Move) against a string buffer to reconstruct the evolving essay text

datapython
0
61
Label Smoothing BinaryA

Applies label smoothing to binary cross-entropy loss to reduce overconfidence and improve generalization in text classification.

datapythongo
0
61
Last Hidden States ConcatA

Concatenate the last two transformer hidden states along the feature dimension before the task head for richer token representations

developmentpythongit
0
61
Layerwise Lr DecayA

Applies different learning rates to transformer encoder vs task-specific head, with no weight decay on bias and LayerNorm.

documentationpython
0
61
Lda Topic ModelingA

Latent Dirichlet Allocation on CountVectorizer bag-of-words to discover latent topics with per-document topic distributions for feature engineering or EDA

developmentpython
0
61
Learned Attention PoolingA

Replace mean pooling with a trainable attention network (Linear-Tanh-Linear-Softmax) that learns token importance weights over transformer hidden states

developmentpython
0
61
Length Sorted BatchingA

Sort texts by length before batching with dynamic padding to minimize wasted padding tokens and speed up transformer inference

datapython
0
61
Lstm Over Transformer LayersA

Feeds CLS token embeddings from each transformer layer into a BiLSTM to learn an optimal combination across layer depth.

toolspythonexpress
0
61
Map At K MetricA

Custom MAP@K evaluation metric — scores top-K classification predictions with reciprocal rank weighting for HuggingFace Trainer

devopspythongit
0
61
Masked Bce Span LossA

Binary cross-entropy loss with mask to ignore special and padding tokens in token-level span classification

documentationpythongit
0
61
Mbr Decoding RerankingA

Minimum Bayes Risk decoding — select the candidate with highest average chrF++ agreement against all others in the pool

developmentpythongo
0
61
Mean Max Concat PoolingA

Concatenates token-level mean pooling and max pooling from the last hidden state for a richer sequence representation.

businesspythongit
0
61
Mean Pooling With MaskA

Computes attention-mask-weighted mean of token embeddings, excluding padding tokens from the average.

ai-agentspython
0
61
Minmax Normalized Ensemble BlendA

Min-max normalizes each model's predictions to [0,1] before averaging, ensuring equal contribution regardless of score distribution scale.

datapython
0
61
Multi Metric String SimilarityA

Computes multiple complementary string similarity scores (Gestalt, Levenshtein, Jaro-Winkler, LCS) per field pair as features for entity matching classifiers.

developmentpythongo
0
61
Multi Retriever Union EnsembleA

Run multiple independent retrieve-rerank pipelines and union-merge their predicted IDs per query via explode-groupby-unique

ai-agentspythongo
0
61
Multi Temperature Candidate SamplingA

Generate diverse translation candidates by running nucleus sampling at multiple temperatures then pooling for MBR selection

developmentpythongo
0
61
Multisample DropoutA

Applies multiple dropout masks to the same hidden state and averages predictions for regularization and variance reduction.

developmentpythongit
0
61
Negative Sample DownsamplingA

Downsamples documents with no entity labels while keeping all positive samples, balancing class distribution in NER training without discarding entity-bearing examples.

datapython
0
61
Neutral Short Text FallbackA

Override model span predictions with full text for neutral sentiment or very short inputs where sub-span extraction is unreliable

developmentpython
0
61
O Class Threshold SuppressionA

Thresholds the O-class (non-entity) softmax probability in NER: if below threshold, overrides with the best non-O class to boost entity recall.

toolspythongit
0
61
Onnx Mixed Precision ExportA

Exports a HuggingFace transformer to ONNX with dynamic axes, then auto-converts to BF16 mixed precision for 30-200% GPU inference speedup with 2x memory reduction.

businesspythongit
0
61