原力计划

目录

  • 1 ChatGPT4.0上线
  • 2 中科院ChatGPT学术版
  • 3 学术润色Prompts

1 ChatGPT4.0上线

2023年3月14日,OpenAI发布ChatGPT4.0。ChatGPT4.0比3.5更大,拥有更多的参数。这意味着它可以更好地捕捉和理解语言的复杂性和细微差别,而且ChatGPT4.0是多模态的对话式大语言模型,已经可以接受图像输入了。

在在学术领域的应用,ChatGPT4.0可以用于更多自然语言处理任务,例如:

  • 机器翻译:即从一种语言翻译成另一种语言,最直接的就是中英互译
  • 文本摘要:用于自动将大段的文本内容摘要成简短的概括,例如对新闻文章或学术论文进行摘要
  • 情感分析:用于自动识别和分类文本中的情感倾向——积极、消极、中立等,用于设计AI审稿、回复等功能
  • 代码解读:用于自动解析工程代码逻辑

ChatGPT的强大是否会带来新的科研范式尚未可知,但是,我们可以先体验一下它在学术润色方面的应用。

2 中科院ChatGPT学术版

近期,GitHub上有一个基于ChatGPT构建的热门开源项目——ChatGPT Academic上线,仅用了短短一两天,该项目 Star 数便增长到了1800+,目前已经达到24000+。这个项目相信大家都听过,就是中科院学术专业版ChatGPT。它基于ChatGPT为日常科研工作专属定制了一整套实用性功能,用于优化学术研究以及开发日常工作流程。

它提供的功能非常齐全,包括

功能描述
一键润色支持一键润色、一键查找论文语法错误
一键中英互译一键中英互译
一键代码解释可以正确显示代码、解释代码
自我程序剖析一键读懂本项目的源代码
读论文一键解读latex论文全文并生成摘要
批量注释生成一键批量生成函数注释
arxiv小助手输入arxiv文章url即可一键翻译摘要+下载PDF
…………

使用这个中科院学术版并不困难,这里我简单介绍下安装配置流程

  • 下载仓库到本地
    git clone https://github.com/binary-husky/chatgpt_academic.git
    cd chatgpt_academic
    
  • 配置API_KEY和代理
    打开config.py设置API_KEY和代理
    API_KEY = "xxx"
    USE_PROXY = True
    if USE_PROXY:
        # 填写格式是 [协议]://  [地址] :[端口],填写之前不要忘记把USE_PROXY改成True,如果直接在海外服务器部署,此处不修改
        # 例如    "socks5h://localhost:11284"
        # [协议] 常见协议无非socks5h/http; 例如 v2**y 和 ss* 的默认本地协议是socks5h; 而cl**h 的默认本地协议是http
        # [地址] 懂的都懂,不懂就填localhost或者127.0.0.1肯定错不了(localhost意思是代理软件安装在本机上)
        # [端口] 在代理软件的设置里找。虽然不同的代理软件界面不一样,但端口号都应该在最显眼的位置上
        proxies = { 
            #          [协议]://  [地址]  :[端口]
            # "http":  "socks5h://localhost:11284", 
            # "https": "socks5h://localhost:11284", 
        }
    
  • 安装依赖
    python -m pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
    
  • 运行
    python main.py
    

打开本地端口就可以看到下面的界面

但是!!!

用中科院学术专业版ChatGPT可能会遇到下面这个错误提示

"error": { "message": "You exceeded your current quota, please check your plan and billing details.", "type": "insufficient_quota", "param": null, "code": null }}

翻译过来就是你的OpenAI账号没额度了,需要充值,毕竟ChatGPT3.5和ChatGPT4.0是付费版的。那如果还是想用这个学术润色功能怎么办呢?注意到中科院学术专业版ChatGPT其实也是调用OpenAI接口,它必须向ChatGPT发出Prompts才能获得响应,经过一番查找,终于找到了免费使用ChatGPT进行学术润色的方法

3 学术润色Prompts

打开中科院学术专业版ChatGPT的functional.py就能看到提示词,我这里摘录出来供大家使用,建议收藏

  • 英文学术润色

    Below is a paragraph from an academic paper. Polish the writing to meet the academic style, improve the spelling, grammar, clarity, concision and overall readability. When necessary, rewrite the whole sentence. Furthermore, list all modification and explain the reasons to do so in markdown table.

  • 中文学术润色

    作为一名中文学术论文写作改进助理,你的任务是改进所提供文本的拼写、语法、清晰、简洁和整体可读性,同时分解长句,减少重复,并提供改进建议。请只提供文本的更正版本,避免包括解释。请编辑以下文本

  • 查找英文语法错误

    Can you help me ensure that the grammar and the spelling is correct? Do not try to polish the text, if no mistake is found, tell me that this paragraph is good. If you find grammar or spelling mistakes, please list mistakes you find in a two-column markdown table, put the original text the first column, put the corrected text in the second column and highlight the key words you fixed. Example: Paragraph: How is you? Do you knows what is it?

    Original sentenceCorrected sentence
    How is you?How are you?
    Do you knows what is it?Do you know what it is ?

    Below is a paragraph from an academic paper. You need to report all grammar and spelling mistakes as the example before.

  • 中译英

    Please translate following sentence to English:

  • 英译中

    请翻译成中文:

  • 中英互译

    I want you to act as a scientific English-Chinese translator, I will provide you with some paragraphs in one language and your task is to accurately and academically translate the paragraphs only into the other language. Do not repeat the original provided paragraphs after translation. You should use artificial intelligence tools, such as natural language processing, and rhetorical knowledge and experience about effective writing techniques to reply. I'll give you my paragraphs as follows, tell me what language it is written in, and then translate:

  • 找图片

    我需要你找一张网络图片。使用Unsplash API(https://source.unsplash.com/960x640/?<英语关键词>)获取图片URL,然后请使用Markdown格式封装,并且不要有反斜线,不要用代码块。现在,请按以下描述给我发送图片:

  • 解释代码

    请解释以下代码:

我们来测试一下,具体怎么修改还要我们自己做决断。免费版的润色效果肯定比付费版的差,如果用起来感觉差点意思可以自己再设计点提示词


🔥 更多精彩专栏

  • 《ROS从入门到精通》
  • 《Pytorch深度学习实战》
  • 《机器学习强基计划》
  • 《运动规划实战精讲》

👇源码获取 · 技术交流 · 抱团学习 · 咨询分享 请联系👇

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
扎眼的阳光的头像扎眼的阳光普通用户
上一篇 2023年4月15日
下一篇 2023年4月15日

相关推荐