Gptqmodel Tokenizer Normalization
ModelCloud/GPTQModel
Diagnose and correct GPT-QModel tokenizer initialization, tokenization normalization, special-token handling, prompt rendering, and chat-template problems.
Text preprocessing technique catalog: tokenization, normalization, stopwords, morphological analysis, embedding selection, and language-specific processing guides.
$ npx skills add revfactory/harness-100 --skill nlp-preprocessing-toolkit -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install revfactory/harness-100 nlp-preprocessing-toolkit --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit .claude/skills/nlp-preprocessing-toolkit && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "nlp-preprocessing-toolkit" agent skill from https://github.com/revfactory/harness-100/tree/main/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit into .claude/skills/nlp-preprocessing-toolkit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nlp-preprocessing-toolkit", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/revfactory/harness-100/tree/main/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkitType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add revfactory/harness-100 --skill nlp-preprocessing-toolkit -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install revfactory/harness-100 nlp-preprocessing-toolkit --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .agents/skills && cp -r skills-src/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit .agents/skills/nlp-preprocessing-toolkit && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "nlp-preprocessing-toolkit" agent skill from https://github.com/revfactory/harness-100/tree/main/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit into .agents/skills/nlp-preprocessing-toolkit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nlp-preprocessing-toolkit", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill nlp-preprocessing-toolkit -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install revfactory/harness-100 nlp-preprocessing-toolkit --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit .cursor/skills/nlp-preprocessing-toolkit && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "nlp-preprocessing-toolkit" agent skill from https://github.com/revfactory/harness-100/tree/main/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit into .cursor/skills/nlp-preprocessing-toolkit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nlp-preprocessing-toolkit", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/revfactory/harness-100.git --path en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add revfactory/harness-100 --skill nlp-preprocessing-toolkit -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install revfactory/harness-100 nlp-preprocessing-toolkit --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit .gemini/skills/nlp-preprocessing-toolkit && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "nlp-preprocessing-toolkit" agent skill from https://github.com/revfactory/harness-100/tree/main/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit into .gemini/skills/nlp-preprocessing-toolkit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nlp-preprocessing-toolkit", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install revfactory/harness-100 nlp-preprocessing-toolkitInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add revfactory/harness-100 --skill nlp-preprocessing-toolkit -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .github/skills && cp -r skills-src/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit .github/skills/nlp-preprocessing-toolkit && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "nlp-preprocessing-toolkit" agent skill from https://github.com/revfactory/harness-100/tree/main/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit into .github/skills/nlp-preprocessing-toolkit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nlp-preprocessing-toolkit", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill nlp-preprocessing-toolkit -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install revfactory/harness-100 nlp-preprocessing-toolkit --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit .opencode/skills/nlp-preprocessing-toolkit && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "nlp-preprocessing-toolkit" agent skill from https://github.com/revfactory/harness-100/tree/main/en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit into .opencode/skills/nlp-preprocessing-toolkit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nlp-preprocessing-toolkit", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
nlp-preprocessing-toolkitText preprocessing technique catalog: tokenization, normalization, stopwords, morphological analysis, embedding selection, and language-specific processing guides.
NLP Preprocessing Toolkit is an agent skill from revfactory/harness-100. Text preprocessing technique catalog: tokenization, normalization, stopwords, morphological analysis, embedding selection, and language-specific processing guides. Use this skill for requests involving 'text preprocessing', 'tokenization', 'morphological analysis', 'KoNLPy', 'stopwords', 'normalization', 'TF-IDF', 'embeddings', 'Word2Vec', 'NLP preprocessing', etc. Enhances the text processing capabilities of the preprocessor and extractor agents. Note: sentiment analysis models and classification algorithm…
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering Natural language processing, Embeddings and Database schema design. It works with Java. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
NLP Preprocessing Toolkit loads about 1.4k tokens when it runs. Until then it costs about 146 tokens; SKILL.md has 214 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 214 words, ~1,372 tokens.
.claude/skills/nlp-preprocessing-toolkit/SKILL.md (or your agent's skills folder).A catalog of preprocessing techniques for transforming text data into analysis-ready formats.
Raw Text
├── 1. Encoding normalization (UTF-8)
├── 2. HTML/special character removal
├── 3. Unicode normalization (NFKC)
├── 4. Lowercasing (for alphabetic scripts)
├── 5. Tokenization
├── 6. Stopword removal
├── 7. Morphological analysis / stemming
├── 8. Regex filtering
└── 9. Vectorization (TF-IDF / embeddings)| Analyzer | Speed | Accuracy | Custom Dictionary | Installation |
|---|---|---|---|---|
| Mecab | Fastest | High | Yes | C dependency |
| Okt (Twitter) | Fast | Medium | Yes | Java dependency |
| Komoran | Medium | High | Yes | Java dependency |
| Kkma | Slow | High | No | Java dependency |
| Kiwi | Fast | High | Yes | Python native |
# Kiwi (easiest installation, excellent performance)
from kiwipiepy import Kiwi
kiwi = Kiwi()
tokens = kiwi.tokenize("FatherEnteredTheRoom")
# [Token(form='Father', tag='NNG'), Token(form='subject', tag='JKS'),
# Token(form='Room', tag='NNG'), Token(form='to', tag='JKB'),
# Token(form='entered', tag='VV'), Token(form='hon', tag='EP'),
# Token(form='past', tag='EP'), Token(form='decl', tag='EF')]
# Extract nouns only
nouns = [t.form for t in tokens if t.tag.startswith('NN')]import re, unicodedata
def normalize_korean(text):
# Unicode normalization (compatibility decomposition + canonical composition)
text = unicodedata.normalize('NFKC', text)
# Remove repeated characters ("xxxxx" -> "xx")
text = re.sub(r'(.)\1{2,}', r'\1\1', text)
# Remove standalone consonants/vowels (repeated consonants/vowels, etc. may be preserved for sentiment analysis)
# text = re.sub(r'[\u3131-\u3163]+', '', text)
# Keep only alphanumeric characters, Korean characters, and whitespace
text = re.sub(r'[^\w\s\u3131-\uD79D]', ' ', text)
# Remove multiple whitespace
text = re.sub(r'\s+', ' ', text).strip()
return textKOREAN_STOPWORDS = {
# Particles (Korean grammatical markers)
'i', 'ga', 'eun', 'neun', 'eul', 'reul', 'e', 'ui', 'wa', 'gwa',
'do', 'ro', 'eseo', 'kkaji', 'buteo', 'man', 'euro',
# Pronouns
'geu', 'i', 'jeo', 'geot', 'su', 'deung', 'deul',
# Adverbs
'maeu', 'aju', 'jeongmal', 'neomu', 'jal', 'tto', 'deo',
# Conjunctions/Interjections
'geurigo', 'hajiman', 'geureonde', 'geuraeseo',
}from sklearn.feature_extraction.text import TfidfVectorizer
vectorizer = TfidfVectorizer(
max_features=10000,
min_df=2, # Must appear in at least 2 documents
max_df=0.95, # Exclude if appearing in more than 95% of documents
ngram_range=(1, 2), # Unigrams + bigrams
sublinear_tf=True, # 1 + log(tf) — dampens high-frequency terms
)
tfidf_matrix = vectorizer.fit_transform(texts)| Method | Dimensions | Best For | Characteristics |
|---|---|---|---|
| TF-IDF | High-dimensional (sparse) | Keyword-centric, small-scale | Interpretable, fast |
| Word2Vec | 100-300 | Similarity, analogies | Word-level, limited context |
| FastText | 100-300 | Korean, OOV handling | Subword-based, robust to unseen words |
| BERT | 768 | Classification, NER, QA | Context-dependent, bidirectional |
| Sentence-BERT | 384-768 | Document similarity, search | Sentence-level embeddings |
# Sentence-BERT (Korean)
from sentence_transformers import SentenceTransformer
model = SentenceTransformer('jhgan/ko-sroberta-multitask')
embeddings = model.encode(texts, show_progress_bar=True)
# Cosine similarity
from sklearn.metrics.pairwise import cosine_similarity
sim_matrix = cosine_similarity(embeddings)| Metric | Calculation | Threshold |
|---|---|---|
| Average token count | Tokens per text | < 3 indicates analysis limitations |
| Vocabulary diversity | Unique tokens / total tokens | 0.2-0.8 is acceptable |
| Language purity | Proportion of primary language | > 90% recommended |
| Missing rate | Proportion of empty texts | < 5% |
| Duplication rate | Proportion of identical texts | < 10% |
© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit of revfactory/harness-100.
Open the folder on GitHubat commit 8e8d35c
NLP Preprocessing Toolkit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| NLP Preprocessing Toolkit this skillrevfactory/harness-100 | 1.3k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Gptqmodel Tokenizer NormalizationModelCloud/GPTQModel | 1.3k | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| Comparetaishi-i/awesome-japanese-nlp-resources | 1k | — | ~4.1k | Automated safety check: Notes | CC0-1.0 | |
| Sentence Transformers EmbeddingsOrchestra-Research/AI-Research-SKILLs | 13k | 3 repos | ~1.6k | Automated safety check: Pass | MIT | |
| Researchtaishi-i/awesome-japanese-nlp-resources | 1k | — | ~3.5k | Automated safety check: Notes | CC0-1.0 | |
| Searchtaishi-i/awesome-japanese-nlp-resources | 1k | — | ~4.3k | Automated safety check: Notes | CC0-1.0 |
ModelCloud/GPTQModel
Diagnose and correct GPT-QModel tokenizer initialization, tokenization normalization, special-token handling, prompt rendering, and chat-template problems.
taishi-i/awesome-japanese-nlp-resources
Compare several Japanese NLP libraries, models, or datasets for a keyword (a specific tool name, or a function/task like '形態素解析') across a handful of criteria chosen for that comparison, rendered as…
Orchestra-Research/AI-Research-SKILLs
Generates text embeddings locally with the sentence-transformers library for RAG, semantic search, clustering and similarity, with model picks for general, multilingual and legal text.
taishi-i/awesome-japanese-nlp-resources
Analyze current trends and challenges in Japanese NLP for a topic.
taishi-i/awesome-japanese-nlp-resources
Search all Japanese NLP resources (libraries, models, datasets, tutorials, dictionaries, Hugging Face).
giuseppe-trisciuoglio/developer-kit
Provides Retrieval-Augmented Generation (RAG) implementation patterns with LangChain4j for Java.
revfactory/harness-100
A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.
revfactory/harness-100
Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.
revfactory/harness-100
Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.
revfactory/harness-100
Methodology for systematically designing and generating CLI tool argument parser structures.
revfactory/harness-100
Audience segmentation skill used by the analyst and curator agents.
revfactory/harness-100
Audio storytelling skill used by the podcast scriptwriter and show note editor.
Works with
Categories
Text preprocessing technique catalog: tokenization, normalization, stopwords, morphological analysis, embedding selection, and language-specific processing guides. NLP Preprocessing Toolkit is an agent skill from revfactory/harness-100. Text preprocessing technique catalog: tokenization, normalization, stopwords, morphological analysis, embedding selection, and language-specific processing guides.
NLP Preprocessing Toolkit fits situations like: requests involving text preprocessing; morphological analysis; NLP preprocessing.
Run `npx skills add revfactory/harness-100 --skill nlp-preprocessing-toolkit -a claude-code`. Or copy the skill folder (en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit in revfactory/harness-100) into .claude/skills/nlp-preprocessing-toolkit in your project. Claude Code loads it when a task matches its description.
Run `npx skills add revfactory/harness-100 --skill nlp-preprocessing-toolkit -a codex`. Or copy the skill folder (en/33-text-processor/.claude/skills/nlp-preprocessing-toolkit in revfactory/harness-100) into .agents/skills/nlp-preprocessing-toolkit in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill nlp-preprocessing-toolkit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nlp-preprocessing-toolkit, .gemini/skills/nlp-preprocessing-toolkit, .github/skills/nlp-preprocessing-toolkit and .opencode/skills/nlp-preprocessing-toolkit in your project.
SKILL.md names no scripts, command-line tools or credentials: NLP Preprocessing Toolkit is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
NLP Preprocessing Toolkit is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with NLP Preprocessing Toolkit: Gptqmodel Tokenizer Normalization (ModelCloud/GPTQModel, 1.3k stars), Compare (taishi-i/awesome-japanese-nlp-resources, 1k stars), Sentence Transformers Embeddings (Orchestra-Research/AI-Research-SKILLs, 13k stars) and Research (taishi-i/awesome-japanese-nlp-resources, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.
Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.