All skills
huggingface avatar

/huggingface-paper-publisher

@386571e official
by Hugging Facehuggingface/skills11k stars
753

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.

Use this Skill: https://skilld.dev/gh/huggingface/skills/huggingface-paper-publisher

This session only. Nothing lands on disk.

templatesmodern.md

≈1.6k tokens on demand. Your agent reads this file only when SKILL.md points to it.

<div class="header">

{{TITLE}}

<div class="authors"> {{AUTHORS}} </div><div class="date"> {{DATE}} </div><div class="links"> [arXiv](#) · [PDF](#) · [Code](#) · [Demo](#) </div></div>

Abstract

<div class="abstract">

{{ABSTRACT}}

</div>

Introduction

Modern research requires clear, accessible communication. This template provides a clean, web-friendly format inspired by Distill and modern scientific publications.

<div class="key-insight"> 💡 **Key Insight**: Present your main contribution upfront to engage readers immediately. </div>

Why This Matters

Explain the significance of your work in plain language. What real-world problems does it solve?

Our Approach

Summarize your methodology at a high level before diving into details.


Background

<div class="definition"> **Definition**: Clearly define key terms and concepts early in the paper. </div>

Provide context necessary to understand your contribution without overwhelming readers with details.

Problem Statement

Formally state the problem you're addressing.

Challenges

What makes this problem difficult?

  1. Challenge 1: Description
  2. Challenge 2: Description
  3. Challenge 3: Description

Method

Present your approach with clear visual aids and intuitive explanations.

<div class="figure">
[Diagram of your architecture goes here]

Figure 1: Overview of the proposed method. Caption explains the key components.

</div>

Model Architecture

Describe your model systematically:

# Pseudocode example
class YourModel:
    def __init__(self):
        self.encoder = Encoder()
        self.decoder = Decoder()

    def forward(self, x):
        z = self.encoder(x)
        output = self.decoder(z)
        return output

Training Strategy

Explain how you train the model, including:

  • Objective Function: Mathematical formulation
  • Optimization: Algorithm and hyperparameters
  • Regularization: Techniques to prevent overfitting

Experiments

Setup

<div class="experiment-details">
Component Configuration
Dataset Name, Size, Split
Hardware GPU Type, RAM
Framework PyTorch 2.0, Transformers
Training Time Hours/Days
</div>

Results

Present results clearly with tables and visualizations.

<div class="results-table">
Model Accuracy F1 Score Params Speed
Baseline 85.2% 0.84 100M 100 tok/s
Ours 92.1% 0.91 120M 95 tok/s
SOTA 90.5% 0.89 300M 60 tok/s
</div><div class="insight"> 🔍 **Observation**: Our method achieves state-of-the-art performance with fewer parameters. </div>

Analysis

Deep dive into what the results reveal:

  1. Performance: How does your method compare?
  2. Efficiency: What are the computational costs?
  3. Robustness: How does it perform across different scenarios?

Ablation Study

Systematically evaluate each component's contribution.

<div class="ablation-results">
Configuration Score Δ
Full Model 92.1% -
- Component A 89.3% -2.8%
- Component B 90.1% -2.0%
- Component C 91.5% -0.6%
</div>

Conclusion: All components contribute meaningfully, with Component A being most critical.


Discussion

What We Learned

Synthesize insights from your experiments.

Limitations

<div class="limitations">

⚠️ Current Limitations:

  1. Performance on domain X is limited
  2. Computational requirements are high
  3. Requires large training datasets
</div>

Future Directions

Where should the community go next?

  • Direction 1: Description
  • Direction 2: Description
  • Direction 3: Description

Related Work

Compare and contrast with existing methods.

Prior Approaches

Method Year Key Idea Limitation
Method A 2020 Approach 1 Issue X
Method B 2021 Approach 2 Issue Y
Method C 2023 Approach 3 Issue Z

How We Differ

Clearly articulate what's novel about your work.


Conclusion

<div class="conclusion">

We presented {{TITLE}}, which achieves:

  1. ✅ Main contribution 1
  2. ✅ Main contribution 2
  3. ✅ Main contribution 3

Our results demonstrate [key finding], opening new directions for [future work].

</div>

Reproducibility

<div class="reproducibility">

Code & Data

Citation

@article{yourpaper2025,
  title={{{{TITLE}}}},
  author={{{{AUTHORS}}}},
  year={2025},
  journal={arXiv preprint}
}
</div>

Acknowledgments

Thank funding agencies, collaborators, and computing resources that made this work possible.


<div class="appendix">

Appendix

A. Additional Results

Supplementary experiments and extended results.

B. Hyperparameters

Complete training configuration:

learning_rate: 1e-4
batch_size: 32
epochs: 100
optimizer: AdamW
scheduler: cosine
warmup_steps: 1000

C. Dataset Details

Detailed information about datasets used.

</div>
<style> .header { text-align: center; margin-bottom: 2em; } .authors { font-size: 1.2em; margin: 0.5em 0; } .date { color: #666; margin: 0.5em 0; } .links { margin-top: 1em; } .abstract { background: #f5f5f5; padding: 1.5em; border-radius: 8px; margin: 1em 0; } .key-insight, .insight { background: #e8f4f8; border-left: 4px solid #2196F3; padding: 1em; margin: 1em 0; } .definition { background: #fff3e0; border-left: 4px solid #ff9800; padding: 1em; margin: 1em 0; } .limitations { background: #ffebee; border-left: 4px solid #f44336; padding: 1em; margin: 1em 0; } .conclusion { background: #e8f5e9; border-left: 4px solid #4caf50; padding: 1.5em; margin: 1em 0; } .figure { text-align: center; margin: 2em 0; } .experiment-details, .results-table, .ablation-results { margin: 1em 0; } .reproducibility { background: #f5f5f5; padding: 1.5em; border-radius: 8px; margin: 2em 0; } </style>

Source: SKILL.md on GitHub

1 warning16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill is safe and includes design considerations regarding the processing of external research paper metadata. It implements robust sanitization and boundary containment to ensure safe operations within its intended workspace.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: MEDIUM · 1 issue

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 386571e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 6 months ago
  • Python
  • huggingface
  • arxiv
  • research-papers
  • metadata
  • publishing
  • markdown
  • citations
  • model-cards
  • dataset-cards

README badge

README badge for huggingface/skills/huggingface-paper-publisher

Publishes and manages research papers on Hugging Face Hub, supporting paper indexing from arXiv, linking papers to models and datasets, authorship verification, and generation of markdown-based research articles. Targets researchers and ML engineers who want to connect their papers to Hub artifacts and claim authorship with automatic tagging and citation management.

Generated from the current SKILL.md.

Does this skill work with arXiv papers only?
Yes. The skill indexes papers from arXiv IDs and integrates with Hugging Face Paper Pages, which surface arXiv papers. It does not support other paper sources or preprint servers.
Can I link a single paper to multiple models and datasets?
Yes. You can call the link command multiple times with the same arXiv ID but different repo-id values to connect one paper to multiple repositories across models, datasets, and spaces.
What does claiming authorship do?
Claiming authorship verifies that you are listed as an author on the paper and associates it with your Hugging Face account. You can then control whether the paper appears on your public profile via the toggle-visibility command.
Does the skill generate papers from scratch or just templates?
The skill generates markdown templates and structure for research articles in four styles (standard, modern, arxiv, ml-report). You provide the title, authors, abstract, and content; the skill formats it as a professional document and can convert it to HTML.
What authentication is required?
You must set the HF_TOKEN environment variable with a write-access token to use the script commands. The token is used to index papers, link them to repositories, and manage authorship claims on Hugging Face.

Generated from the current SKILL.md. These answers refresh after source changes.