read-arxiv-paper
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseYou will be given a URL of an arxiv paper, for example:
你将收到一个arxiv论文的URL,例如:
Part 1: Normalize the URL
第一部分:标准化URL
The goal is to fetch the TeX Source of the paper (not the PDF!), the URL always looks like this:
Notice the /src/ in the url. Once you have the URL:
目标是获取论文的TeX源文件(不是PDF!),标准化后的URL格式如下:
注意URL中的/src/部分。得到标准化后的URL后:
Part 2: Download the paper source
第二部分:下载论文源文件
Fetch the url to a local .tar.gz file. A good location is .
~/.cache/nanochat/knowledge/{arxiv_id}.tar.gz(If the file already exists, there is no need to re-download it).
将该URL对应的内容下载到本地.tar.gz文件中。推荐存储位置为。
~/.cache/nanochat/knowledge/{arxiv_id}.tar.gz(如果文件已存在,则无需重新下载)
Part 3: Unpack the file in that folder
第三部分:解压文件到对应文件夹
Unpack the contents into directory.
~/.cache/nanochat/knowledge/{arxiv_id}将文件内容解压到目录中。
~/.cache/nanochat/knowledge/{arxiv_id}Part 4: Locate the entrypoint
第四部分:找到入口文件
Every latex source usually has an entrypoint, such as or something like that.
main.tex每个LaTeX源文件通常都有一个入口文件,例如或类似名称的文件。
main.texPart 5: Read the paper
第五部分:读取论文内容
Once you've found the entrypoint, Read the contents and then recurse through all other relevant source files to read the paper.
找到入口文件后,读取其内容,然后递归读取所有相关的源文件以完整获取论文内容。
Part 6: Report
第六部分:生成报告
Once you've read the paper, produce a summary of the paper into a markdown file at . Notice that 1) use the local knowledge directory here (it's easier for me to open and reference here), not in , and 2) generate some reasonable like e.g. or whatever seems appropriate given the paper. Probably make sure that the tag doesn't exist yet so you're not overwriting files.
./knowledge/summary_{tag}.md~/.cachetagconditional_memoryAs for the summary itself, remember that you're processing this paper within the context of the nanochat repository, so most often we we will be interested in how to apply the paper and its lessons to the nanochat project. Therefore, you should feel free to "remind yourself" of the related nanochat code by reading the relevant parts, and then explicitly make the connection of how this paper might relate to nanochat or what are things we might be inspired about or try.
读取完论文后,将论文总结保存到格式的Markdown文件中。请注意:1)此处使用本地knowledge目录(我更容易在此处打开和参考),而非目录;2)生成一个合理的,例如,或根据论文内容选择合适的标签。请确保该tag尚未存在,避免覆盖已有文件。
./knowledge/summary_{tag}.md~/.cachetagconditional_memory关于总结内容,请记住你是在nanochat仓库的语境下处理这篇论文,因此我们通常更关注如何将论文及其结论应用到nanochat项目中。因此,你可以通过阅读相关代码“回顾”nanochat的相关内容,然后明确阐述这篇论文与nanochat的关联,以及我们可以从中获得哪些灵感或尝试哪些改进。