GitHub · 灵魂体仓库·· 10 天前AI 评分42
arxiv-to-prompt:把 arXiv 论文转成单一 LaTeX 源文件的命令行工具
Carmenl86/arxiv-to-prompt
来源与原文
GitHub · 灵魂体仓库
发布时间:(北京时间)
阅读原始来源 · github.com ↗完整链接与内容说明
https://github.com/Carmenl86/arxiv-to-prompt
本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。
AI 导读
开源命令行工具 arxiv-to-prompt 可将 arXiv 论文下载并展平为单一 LaTeX 源文件,供 LLM 提问使用,通过 pip install arxiv-to-prompt 安装。工具会自动定位含 \documentclass 的主 tex 文件、解析 \input 和 \include,并支持 --no-comments、--no-appendix 去除注释与附录,以及 --token-count 统计 token 数(示例中 33332 降至 18370)。它还提供 --section 按路径提取章节、--copy 复制到剪贴板和 Python API,可与 llm 库配合直接对话论文。
来源:GitHub · 灵魂体仓库 · github.com