GoldWaterFall / Tianji

Tianji is a free, non-commercial artificial intelligence system. You can utilize it for tasks involving worldly wisdom, such as "subtext translation" and "art of conversation," to enhance your emotional intelligence and core competitiveness.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

天机 Tianji

天机是一款免费使用、非商业用途的人工智能系统。您可以利用它进行涉及人情世故的任务,如话中有话翻译、说话的艺术建议等,以提升您的情商和核心竞争能力。我们坚信,只有人情世故才是未来AI的核心竞争力,让我们携手见证通用人工智能的来临。 —— "天机不可泄漏。"

Tianji is a free, non-commercial artificial intelligence system. You can utilize it for tasks involving worldly wisdom, such as "subtext translation" and "art of conversation," to enhance your emotional intelligence and core competitiveness. We firmly believe that worldly wisdom are the future core competency of AI, and let us join hands to witness the advent of general artificial intelligence.

中文  |  English  |  日本語 |  Français |  Español




🤗 Hugging Face   |   🤖 ModelScope   |    📑 Paper    |   🖥️ Demo
WeChat (微信)   |   Discord   |   API   |   Web   |   APP



SocialAI(来事儿AI) 是设立于**的非营利组织,我们完全开源了Tianji(天机)系列工作,当前开源系统涉及为xxxxxxx。模型链接、语料和内置prompt在表格中,请点击了解详情。同时,我们公开了我们的技术研究报告,请点击我们的官网查看。

人情世故大模型-天机是基于当前稳定训练的基础模型,它经过大规模高质量且多样化的数据训练,覆盖多语言(主要是中文和英文),总量高达3万亿token。在相关基准评测中,Qwen系列模型展现出非常有竞争力的性能,显著超越同规模模型并紧追一系列最强的闭源模型。利用SFT和RLHF技术,我们实现了对齐,从基座模型训练得到了对话模型。Qwen-Chat具备广泛的能力,包括聊天、文字创作、摘要、信息抽取、翻译等,同时还具备一定的代码生成和简单数学推理能力。在此基础上,我们针对LLM对接外部系统等方面进行了针对性的优化,目前具备强大的工具调用能力,以及备受关注的Code Interpreter和Agent角色扮演能力。下表列出了各个模型的特点。

结果示例

以下给出 OpenAI 创始人 Sam Altman 向 特斯拉创始人 Elon Musk 敬酒的对话示例:

TODO

环境配置

运行环境

在本项目目录下执行下列命令,如果安装过慢,可以加上 -i https://pypi.mirrors.ustc.edu.cn/simple/

pip install -r requirements.txt
pip install .

有关 key 的配置

我们通过 .env 文件来获取环境变量,你可以根据下列例子写入对应的 key,即可成功运行调用

OPENAI_API_KEY=这里写入key
OPENAI_API_BASE=这里写入网址
ZHIPUAI_API_KEY=这里写入key

调用方式

  • 调用顺序(暂时约定),首先是 zhipuai,接下来是 yiyan,最后是 openai(TODO)
  • 如果用 LLM_Api 调用,则使用 LLM_Api()._aask()
  • 如果用 MetaGPT 调用,则使用 self._aask()

About

Tianji is a free, non-commercial artificial intelligence system. You can utilize it for tasks involving worldly wisdom, such as "subtext translation" and "art of conversation," to enhance your emotional intelligence and core competitiveness.

License:GNU Lesser General Public License v2.1


Languages

Language:Python 100.0%