Hugging Face Tokenizers
Orchestra-Research/AI-Research-SKILLs
Shows how to load, train and use fast Hugging Face tokenizers, with BPE, WordPiece and Unigram models, padding, truncation and alignment tracking.
Run NLP and CV model inference via Hugging Face free-tier API
$ npx skills add wentorai/research-plugins --skill huggingface-inference-guide -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wentorai/research-plugins huggingface-inference-guide --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/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/domains/ai-ml/huggingface-inference-guide .claude/skills/huggingface-inference-guide && 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 "huggingface-inference-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/ai-ml/huggingface-inference-guide into .claude/skills/huggingface-inference-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "huggingface-inference-guide", 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/wentorai/research-plugins/tree/main/skills/domains/ai-ml/huggingface-inference-guideType 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 wentorai/research-plugins --skill huggingface-inference-guide -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wentorai/research-plugins huggingface-inference-guide --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/domains/ai-ml/huggingface-inference-guide .agents/skills/huggingface-inference-guide && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "huggingface-inference-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/ai-ml/huggingface-inference-guide into .agents/skills/huggingface-inference-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "huggingface-inference-guide", 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 wentorai/research-plugins --skill huggingface-inference-guide -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wentorai/research-plugins huggingface-inference-guide --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/domains/ai-ml/huggingface-inference-guide .cursor/skills/huggingface-inference-guide && 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 "huggingface-inference-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/ai-ml/huggingface-inference-guide into .cursor/skills/huggingface-inference-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "huggingface-inference-guide", 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/wentorai/research-plugins.git --path skills/domains/ai-ml/huggingface-inference-guide--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 wentorai/research-plugins --skill huggingface-inference-guide -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wentorai/research-plugins huggingface-inference-guide --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/domains/ai-ml/huggingface-inference-guide .gemini/skills/huggingface-inference-guide && 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 "huggingface-inference-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/ai-ml/huggingface-inference-guide into .gemini/skills/huggingface-inference-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "huggingface-inference-guide", 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 wentorai/research-plugins huggingface-inference-guideInstalls 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 wentorai/research-plugins --skill huggingface-inference-guide -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/domains/ai-ml/huggingface-inference-guide .github/skills/huggingface-inference-guide && 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 "huggingface-inference-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/ai-ml/huggingface-inference-guide into .github/skills/huggingface-inference-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "huggingface-inference-guide", 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 wentorai/research-plugins --skill huggingface-inference-guide -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wentorai/research-plugins huggingface-inference-guide --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/domains/ai-ml/huggingface-inference-guide .opencode/skills/huggingface-inference-guide && 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 "huggingface-inference-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/ai-ml/huggingface-inference-guide into .opencode/skills/huggingface-inference-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "huggingface-inference-guide", 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.
huggingface-inference-guideRun NLP and CV model inference via Hugging Face free-tier API
Huggingface Inference Guide is an agent skill from wentorai/research-plugins. Run NLP and CV model inference via Hugging Face free-tier API
Its SKILL.md is about 2.1k 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 Model hubs and datasets and Natural language processing. It works with Hugging Face. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.
Read from SKILL.md and the folder at commit bf44b3c. 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.
Shell commands in SKILL.md call:
curlpython3From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
api-inference.huggingface.coAlso links to:
huggingface.coFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
HF_API_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Huggingface Inference Guide loads about 2.1k tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 443 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 wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 443 words, ~2,106 tokens.
.claude/skills/huggingface-inference-guide/SKILL.md (or your agent's skills folder).The Hugging Face Inference API provides instant access to thousands of pre-trained machine learning models for natural language processing, computer vision, audio processing, and multimodal tasks. Researchers can run inference on state-of-the-art models without managing infrastructure, GPU resources, or complex deployment pipelines.
The API hosts models from the Hugging Face Hub, which contains over 500,000 models contributed by the research community. This includes transformer models for text classification, named entity recognition, summarization, translation, question answering, text generation, and image classification. For academic researchers, the Inference API is invaluable for rapid prototyping, benchmark evaluation, and integrating ML capabilities into research workflows without dedicated compute resources.
The free tier provides access to a broad selection of models with rate limits suitable for development and small-scale research. An API token is required for authentication, available for free at huggingface.co.
A free Hugging Face API token is required. Create an account and generate a token at https://huggingface.co/settings/tokens.
Store your token securely in an environment variable:
export HF_API_TOKEN=$HF_API_TOKENcurl -X POST "https://api-inference.huggingface.co/models/bert-base-uncased" \
-H "Authorization: Bearer $HF_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"inputs": "The goal of life is [MASK]."}'POST https://api-inference.huggingface.co/models/{model_id}curl -s -X POST \
"https://api-inference.huggingface.co/models/distilbert-base-uncased-finetuned-sst-2-english" \
-H "Authorization: Bearer $HF_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"inputs": "This research methodology provides robust and reproducible results."}' \
| python3 -m json.toolcurl -s -X POST \
"https://api-inference.huggingface.co/models/dslim/bert-base-NER" \
-H "Authorization: Bearer $HF_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"inputs": "Dr. Marie Curie conducted research at the University of Paris on radioactivity."}' \
| python3 -m json.toolcurl -s -X POST \
"https://api-inference.huggingface.co/models/facebook/bart-large-cnn" \
-H "Authorization: Bearer $HF_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"inputs": "The study of quantum computing has seen tremendous advances in the past decade. Researchers have demonstrated quantum supremacy with processors containing over 100 qubits. Error correction remains a significant challenge, but recent breakthroughs in topological qubits and surface codes suggest viable paths forward. Applications in drug discovery, materials science, and cryptography are expected to be among the first practical use cases.",
"parameters": {"max_length": 80, "min_length": 30}
}' | python3 -m json.toolClassify text into arbitrary categories without fine-tuning.
curl -s -X POST \
"https://api-inference.huggingface.co/models/facebook/bart-large-mnli" \
-H "Authorization: Bearer $HF_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"inputs": "New CRISPR technique enables precise gene editing in human stem cells",
"parameters": {"candidate_labels": ["biology", "computer science", "physics", "economics"]}
}' | python3 -m json.toolimport requests
import os
import time
API_URL = "https://api-inference.huggingface.co/models/distilbert-base-uncased-finetuned-sst-2-english"
HEADERS = {"Authorization": f"Bearer {os.environ['HF_API_TOKEN']}"}
def classify_sentiment(texts):
"""Classify sentiment for a batch of texts."""
response = requests.post(API_URL, headers=HEADERS, json={"inputs": texts})
if response.status_code == 503:
# Model is loading, wait and retry
wait_time = response.json().get("estimated_time", 20)
print(f"Model loading, waiting {wait_time:.0f}s...")
time.sleep(wait_time)
response = requests.post(API_URL, headers=HEADERS, json={"inputs": texts})
response.raise_for_status()
return response.json()
abstracts = [
"Our results demonstrate a significant improvement over baseline methods.",
"The proposed approach failed to achieve meaningful gains on the benchmark.",
"We present preliminary findings that warrant further investigation.",
]
results = classify_sentiment(abstracts)
for abstract, result in zip(abstracts, results):
top = max(result, key=lambda x: x["score"])
print(f"Sentiment: {top['label']} ({top['score']:.3f})")
print(f" Text: {abstract[:80]}...")
print()import requests
import os
ZSC_URL = "https://api-inference.huggingface.co/models/facebook/bart-large-mnli"
HEADERS = {"Authorization": f"Bearer {os.environ['HF_API_TOKEN']}"}
def classify_paper(abstract, categories):
"""Classify a paper abstract into research categories."""
payload = {
"inputs": abstract,
"parameters": {"candidate_labels": categories}
}
resp = requests.post(ZSC_URL, headers=HEADERS, json=payload)
resp.raise_for_status()
return resp.json()
categories = [
"machine learning",
"computational biology",
"natural language processing",
"computer vision",
"reinforcement learning",
"quantum computing"
]
abstract = "We propose a novel transformer architecture for protein structure prediction that achieves state-of-the-art results on CASP benchmarks."
result = classify_paper(abstract, categories)
print("Topic classification:")
for label, score in zip(result["labels"], result["scores"]):
bar = "#" * int(score * 40)
print(f" {label:<30} {score:.3f} {bar}")Literature Screening: Use zero-shot classification to automatically categorize and filter large collections of paper abstracts by research topic, methodology, or relevance to a specific research question.
Sentiment and Stance Detection: Analyze the tone and conclusions of research papers, review comments, or social media discussions about scientific topics using sentiment analysis models.
Named Entity Extraction: Extract researcher names, institutions, chemical compounds, gene names, and other domain-specific entities from unstructured text in papers and reports.
Automated Summarization: Generate concise summaries of lengthy research papers or grant proposals to accelerate literature review workflows.
Multilingual Research: Use translation and multilingual models to access and analyze research published in languages other than English.
distilbert instead of bert-large) for faster inference© wentorai, MIT. 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 skills/domains/ai-ml/huggingface-inference-guide of wentorai/research-plugins.
Open the folder on GitHubat commit bf44b3c
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.
Huggingface Inference Guide 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 |
|---|---|---|---|---|---|---|
| Huggingface Inference Guide this skillwentorai/research-plugins | 298 | 1 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Hugging Face TokenizersOrchestra-Research/AI-Research-SKILLs | 13k | 6 repos | ~3.4k | Automated safety check: Pass | MIT | |
| Hugging Face Transformers Usagedavila7/claude-code-templates | 32k | 11 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Searchtaishi-i/awesome-japanese-nlp-resources | 1k | — | ~4.3k | Automated safety check: Notes | CC0-1.0 | |
| Discovertaishi-i/awesome-japanese-nlp-resources | 1k | — | ~6.5k | Automated safety check: Notes | CC0-1.0 | |
| Transformers.jshuggingface/skills | 11k | 1 repos | ~6.2k | Automated safety check: Pass | Apache-2.0 |
Orchestra-Research/AI-Research-SKILLs
Shows how to load, train and use fast Hugging Face tokenizers, with BPE, WordPiece and Unigram models, padding, truncation and alignment tracking.
davila7/claude-code-templates
Loads pre-trained Hugging Face Transformers models for text, vision and audio tasks, runs inference with pipelines and fine-tunes on custom datasets.
taishi-i/awesome-japanese-nlp-resources
Search all Japanese NLP resources (libraries, models, datasets, tutorials, dictionaries, Hugging Face).
taishi-i/awesome-japanese-nlp-resources
Given a Japanese NLP GitHub repo/model/dataset (URL / owner/repo / tool name) OR a topic, find what's already in awesome-japanese-nlp-resources and discover related resources NOT yet listed…
huggingface/skills
Runs pre-trained Hugging Face models in JavaScript or TypeScript with Transformers.js, in browsers or Node.js, Bun and Deno, for text, vision, audio and multimodal tasks.
Orchestra-Research/AI-Research-SKILLs
Runs lm-evaluation-harness to benchmark language models on academic suites such as MMLU, GSM8K and HumanEval, compare models and track training checkpoints.
wentorai/research-plugins
Craft structured research abstracts that maximize clarity and journal acceptance
wentorai/research-plugins
Manage academic citations across BibTeX, APA, MLA, and Chicago formats
wentorai/research-plugins
Summarize academic papers with structured extraction of key elements
wentorai/research-plugins
Evidence-based study techniques for academic learning and retention
wentorai/research-plugins
Adjust writing tone and register for academic audiences and venues
wentorai/research-plugins
Academic translation, post-editing, and Chinglish correction guide
Works with
Categories
Run NLP and CV model inference via Hugging Face free-tier API. Huggingface Inference Guide is an agent skill from wentorai/research-plugins.
Huggingface Inference Guide fits situations like: tasks that involve Model hubs and datasets; tasks that involve Natural language processing.
Run `npx skills add wentorai/research-plugins --skill huggingface-inference-guide -a claude-code`. Or copy the skill folder (skills/domains/ai-ml/huggingface-inference-guide in wentorai/research-plugins) into .claude/skills/huggingface-inference-guide in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wentorai/research-plugins --skill huggingface-inference-guide -a codex`. Or copy the skill folder (skills/domains/ai-ml/huggingface-inference-guide in wentorai/research-plugins) into .agents/skills/huggingface-inference-guide 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 wentorai/research-plugins --skill huggingface-inference-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/huggingface-inference-guide, .gemini/skills/huggingface-inference-guide, .github/skills/huggingface-inference-guide and .opencode/skills/huggingface-inference-guide in your project.
Going by SKILL.md and its folder, Huggingface Inference Guide needs the command-line tools its instructions call (curl and python3) and credentials named HF_API_TOKEN. Our summary lists: Python 3; A credential in HF_API_TOKEN.
SKILL.md names 2 domains. In commands or code: api-inference.huggingface.co; the agent is likely to contact it when it follows the instructions. As links in the text: huggingface.co. 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.
Huggingface Inference Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.4k 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 Huggingface Inference Guide: Hugging Face Tokenizers (Orchestra-Research/AI-Research-SKILLs, 13k stars), Hugging Face Transformers Usage (davila7/claude-code-templates, 32k stars), Search (taishi-i/awesome-japanese-nlp-resources, 1k stars) and Discover (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.
wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.
Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.