跳到正文
Skillpedia
调研11k · #11776

huggingface-paper-publisher

它能做什么

这个技能管理 Hugging Face Hub 上的研究论文。适合希望自己的论文被列出、与模型和数据集相关联,并以清晰格式呈现的研究人员。

适用场景

  • ✓当你想根据一篇 arXiv 论文在 Hugging Face 上创建论文页面时。
  • ✓当你想把论文与某个模型或数据集关联的时候。
  • ✓当你想认领 Hugging Face 上某篇论文的作者身份的时候。

技能链接

https://github.com/huggingface/skills/blob/main/skills/huggingface-paper-publisher/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/huggingface/skills/blob/main/skills/huggingface-paper-publisher/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为我的 arXiv 论文创建一个 Hugging Face 论文页面,并把它关联到我的模型卡片。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会根据 arXiv 编号为论文建立索引,添加与相关模型、数据集和 Space 的链接,并帮你认领作者身份。它也可以根据一个简洁的 markdown 模板生成研究文章。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Overview

This skill provides comprehensive tools for AI engineers and researchers to publish, manage, and link research papers on the Hugging Face Hub. It streamlines the workflow from paper creation to publication, including integration with arXiv, model/dataset linking, and authorship management.

Integration with HF Ecosystem

  • Paper Pages: Index and discover papers on Hugging Face Hub
  • arXiv Integration: Automatic paper indexing from arXiv IDs
  • Model/Dataset Linking: Connect papers to relevant artifacts through metadata
  • Authorship Verification: Claim and verify paper authorship
  • Research Article Template: Generate professional, modern scientific papers

Version

1.0.0

Dependencies

The included script uses PEP 723 inline dependencies. Prefer uv run over manual environment setup.

  • huggingface_hub>=0.26.0
  • pyyaml>=6.0.3
  • requests>=2.32.5
  • markdown>=3.5.0
  • python-dotenv>=1.2.1

Core Capabilities

1. Paper Page Management

  • Index Papers: Add papers to Hugging Face from arXiv
  • Claim Authorship: Verify and claim authorship on published papers
  • Manage Visibility: Control which papers appear on your profile
  • Paper Discovery: Find and explore papers in the HF ecosystem

2. Link Papers to Artifacts

  • Model Cards: Add paper citations to model metadata
  • Dataset Cards: Link papers to datasets via README
  • Automatic Tagging: Hub auto-generates arxiv:<PAPER_ID> tags
  • Citation Management: Maintain proper attribution and references

3. Research Article Creation

  • Markdown Templates: Generate professional paper formatting
  • Modern Design: Clean, readable research article layouts
  • Dynamic TOC: Automatic table of contents generation
  • Section Structure: Standard scientific paper organization
  • LaTeX Math: Support for equations and technical notation

4. Metadata Management

  • YAML Frontmatter: Proper model/dataset card metadata
  • Citation Tracking: Maintain paper references across repositories
  • Version Control: Track paper updates and revisions
  • Multi-Paper Support: Link multiple papers to single artifacts

Usage Instructions

The skill includes Python scripts in scripts/ for paper publishing operations.

Prerequisites

  • Run scripts with uv run (dependencies are resolved from the script header)
  • Set HF_TOKEN environment variable with Write-access token

All paths are relative to the directory containing this SKILL.md file. Before running any script, first cd to that directory or use the full path.

Method 1: Index Paper from arXiv

Add a paper to Hugging Face Paper Pages from arXiv.

Basic Usage:

uv run scripts/paper_manager.py index \
  --arxiv-id "2301.12345"

Check If Paper Exists:

uv run scripts/paper_manager.py check \
  --arxiv-id "2301.12345"

Direct URL Access: You can also visit https://huggingface.co/papers/{arxiv-id} directly to index a paper.

Method 2: Link Paper to Model/Dataset

Add paper references to model or dataset README with proper YAML metadata.

Add to Model Card:

uv run scripts/paper_manager.py link \
  --repo-id "username/model-name" \
  --repo-type "model" \
  --arxiv-id "2301.12345"

Add to Dataset Card:

uv run scripts/paper_manager.py link \
  --repo-id "username/dataset-name" \
  --repo-type "dataset" \
  --arxiv-id "2301.12345"

Add Multiple Papers:

uv run scripts/paper_manager.py link \
  --repo-id "username/model-name" \
  --repo-type "model" \
  --arxiv-ids "2301.12345,2302.67890,2303.11111"

With Custom Citation:

uv run scripts/paper_manager.py link \
  --repo-id "username/model-name" \
  --repo-type "model" \
  --arxiv-id "2301.12345" \
  --citation "$(cat citation.txt)"

How Linking Works

When you add an arXiv paper link to a model or dataset README:

  1. The Hub extracts the arXiv ID from the link
  2. A tag arxiv:<PAPER_ID> is automatically added to the repository
  3. Users can click the tag to view the Paper Page
  4. The Paper Page shows all models/datasets citing this paper
  5. Papers are discoverable through filters and search

Method 3: Claim Authorship

Verify your authorship on papers published on Hugging Face.

Start Claim Process:

uv run scripts/paper_manager.py claim \
  --arxiv-id "2301.12345" \
  --email "your.email@institution.edu"

Manual Process:

  1. Navigate to your paper's page: `https://huggingfa
常见问题

什么是 arXiv?

arXiv 是一个开放的研究论文档案库,Hugging Face 的论文页面就是建立在它之上的。

论文会出现在我的个人主页上吗?

会。认领作者身份之后,论文页面会出现在你的 Hugging Face 个人主页上。

每日论文有时间限制吗?

有。论文只能在其 arXiv 发布日期之后 14 天内提交到每日论文列表。

详情

作者的原始描述

Publish and manage research papers on Hugging Face Hub. Supports creating paper pages, linking papers to models/datasets, claiming authorship, and generating professional markdown-based research articles.

repo: huggingface/skills

热度

GitHub 星标
11k
排名
#11776
许可证
Apache-2.0
更新时间
2026/10/30

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能