Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Chinese doc for getting started #833

Merged
merged 4 commits into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/source/getting_started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ Currently, supported models include:
- ``baichuan``, ``baichuan-chat``
- ``internlm``, ``internlm-20b``, ``internlm-chat``, ``internlm-chat-20b``
- ``vicuna-v1.3``, ``vicuna-v1.5``
- ``Yi``, ``Yi-chat``
- ``qwen-chat``
- ``code-llama``, ``code-llama-python``, ``code-llama-instruct``
- ``mistral-instruct-v0.1``
- ``chatglm3``

To install Xinference and vLLM::

Expand Down
10 changes: 8 additions & 2 deletions doc/source/locale/ja_JP/LC_MESSAGES/examples/ai_podcast.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Xinference \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-01 10:48+0800\n"
"POT-Creation-Date: 2023-12-27 15:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: ja_JP\n"
Expand Down Expand Up @@ -165,10 +165,16 @@ msgstr ""
#: ../../source/examples/ai_podcast.rst:79
msgid ""
"`AI_Podcast_ZH "
"<https://github.com/xorbitsai/inference/blob/main/examples/AI_podcast_ZH.py>`"
"<https://github.com/xorbitsai/inference/blob/main/examples/AI_podcast_ZH.py>`_"
" (Chinese Version)"
msgstr ""

#~ msgid "AI_Podcast_ZH (Chinese Version)"
#~ msgstr ""

#~ msgid ""
#~ "`AI_Podcast_ZH "
#~ "<https://github.com/xorbitsai/inference/blob/main/examples/AI_podcast_ZH.py>`"
#~ " (Chinese Version)"
#~ msgstr ""

64 changes: 42 additions & 22 deletions doc/source/locale/ja_JP/LC_MESSAGES/examples/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Xinference \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-16 11:22+0800\n"
"POT-Creation-Date: 2023-12-27 15:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: ja_JP\n"
Expand All @@ -19,105 +19,116 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.12.1\n"

#: ../../source/examples/index.rst:5 ../../source/examples/index.rst:19
#: ../../source/examples/index.rst:5
msgid "Examples"
msgstr ""

#: ../../source/examples/index.rst:16
#: ../../source/examples/index.rst:17
msgid ""
"Here you can find examples and resources to learn about how to use "
"Xinference."
msgstr ""

#: ../../source/examples/index.rst:21
msgid "End-to-end examples of using Xinference for various tasks:"
#: ../../source/examples/index.rst:20
msgid "Demos"
msgstr ""

#: ../../source/examples/index.rst:23
#: ../../source/examples/index.rst:22
msgid "End-to-end applications of using Xinference:"
msgstr ""

#: ../../source/examples/index.rst:24
msgid "`Voice Conversations with AI Agents on M2 Max <ai_podcast.html>`_"
msgstr ""

#: ../../source/examples/index.rst:25
#: ../../source/examples/index.rst:26
msgid "`Interacting with LLM Models: A Command-Line Example <chatbot.html>`_"
msgstr ""

#: ../../source/examples/index.rst:27
#: ../../source/examples/index.rst:28
msgid ""
"`Interacting with LLM Models: A Gradio ChatInterface Example "
"<gradio_chatinterface.html>`_"
msgstr ""

#: ../../source/examples/index.rst:29
#: ../../source/examples/index.rst:30
msgid "`PDF Chatbot with Local LLM and Embeddings <pdf_chatbot.html>`_"
msgstr ""

#: ../../source/examples/index.rst:31
#: ../../source/examples/index.rst:32
msgid ""
"`Local Doc Conversations with LangChain and Streamlit "
"<langchain_streamlit_doc_chat.html>`_"
msgstr ""

#: ../../source/examples/index.rst:34
msgid ""
"If you come across other examples in your own workflows we encourage you "
"to contribute a `PR <https://github.com/xorbitsai/inference/pulls>`_!"
msgstr ""

#: ../../source/examples/index.rst:35
#: ../../source/examples/index.rst:38
msgid "Tutorials"
msgstr ""

#: ../../source/examples/index.rst:37
#: ../../source/examples/index.rst:40
msgid ""
"The following tutorials cover the basics of using Xinference in different"
" scenarios:"
msgstr ""

#: ../../source/examples/index.rst:39
#: ../../source/examples/index.rst:42
msgid ""
"`Build a QA Application with Xinference and LangChain "
"`[Notebook] Question-answering(QA) Application with Xinference, Milvus "
"and LangChain "
"<https://github.com/RayJi01/Xprobe_inference/blob/main/examples/LangChain_QA.ipynb>`_"
msgstr ""

#: ../../source/examples/index.rst:41
#: ../../source/examples/index.rst:44
msgid ""
"`Using Xinference local LLMs within LlamaIndex "
"<https://docs.llamaindex.ai/en/stable/examples/llm/xinference_local_deployment.html>`_"
msgstr ""

#: ../../source/examples/index.rst:43
#: ../../source/examples/index.rst:46
msgid ""
"`[Chinese] 如何让 Chatbox 接入开源大模型,实现免费聊天 "
"<https://zhuanlan.zhihu.com/p/655765551>`_"
msgstr ""

#: ../../source/examples/index.rst:45
#: ../../source/examples/index.rst:48
msgid ""
"`[Chinese] 摆脱 OpenAI 依赖,8 分钟教你用开源生态构建全栈 AI 应用 "
"<https://mp.weixin.qq.com/s/cXBC0dikldNiGwOwPuJfUQ>`_"
msgstr ""

#: ../../source/examples/index.rst:47
#: ../../source/examples/index.rst:50
msgid ""
"`[Chinese] 使用全套开源工具构建 LLM 应用实战: 在 Dify 调用 Baichuan 开源模型能力 "
"<https://mp.weixin.qq.com/s/JWYWyJxS3ludMpMDZKw_Dw>`_"
msgstr ""

#: ../../source/examples/index.rst:51
#: ../../source/examples/index.rst:54
msgid "Third-Party Library Integrations"
msgstr ""

#: ../../source/examples/index.rst:53
#: ../../source/examples/index.rst:56
msgid ""
"Xinference is designed to seamlessly integrate and deploy open-sourced AI"
" models, so we want to incorporate support for mainstream toolkits in the"
" AI landscape. Xinference can be used with the following third-party "
"libraries:"
msgstr ""

#: ../../source/examples/index.rst:56
#: ../../source/examples/index.rst:59
msgid ""
"LangChain `Text Embedding Models "
"<https://python.langchain.com/docs/integrations/text_embedding/xinference>`_"
" and `LLMs "
"<https://python.langchain.com/docs/integrations/llms/xinference>`_"
msgstr ""

#: ../../source/examples/index.rst:58
#: ../../source/examples/index.rst:61
msgid ""
"`LlamaIndex Xinference LLM "
"<https://docs.llamaindex.ai/en/stable/api_reference/llms/xinference.html>`_"
Expand All @@ -139,3 +150,12 @@ msgstr ""
#~ "<https://mp.weixin.qq.com/s/regqYkF0cNDQIdOkOeyeXQ>`_"
#~ msgstr ""

#~ msgid "End-to-end examples of using Xinference for various tasks:"
#~ msgstr ""

#~ msgid ""
#~ "`Build a QA Application with Xinference"
#~ " and LangChain "
#~ "<https://github.com/RayJi01/Xprobe_inference/blob/main/examples/LangChain_QA.ipynb>`_"
#~ msgstr ""

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Xinference \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-16 10:33+0800\n"
"POT-Creation-Date: 2023-12-27 15:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: ja_JP\n"
Expand Down Expand Up @@ -107,37 +107,57 @@ msgstr ""
msgid "``vicuna-v1.3``, ``vicuna-v1.5``"
msgstr ""

#: ../../source/getting_started/installation.rst:40
msgid "``Yi``, ``Yi-chat``"
msgstr ""

#: ../../source/getting_started/installation.rst:41
msgid "``qwen-chat``"
msgstr ""

#: ../../source/getting_started/installation.rst:42
msgid "``code-llama``, ``code-llama-python``, ``code-llama-instruct``"
msgstr ""

#: ../../source/getting_started/installation.rst:43
msgid "``mistral-instruct-v0.1``"
msgstr ""

#: ../../source/getting_started/installation.rst:44
msgid "``chatglm3``"
msgstr ""

#: ../../source/getting_started/installation.rst:46
msgid "To install Xinference and vLLM::"
msgstr ""

#: ../../source/getting_started/installation.rst:48
#: ../../source/getting_started/installation.rst:53
msgid "GGML Backend"
msgstr ""

#: ../../source/getting_started/installation.rst:49
#: ../../source/getting_started/installation.rst:54
msgid ""
"It's advised to install the GGML dependencies manually based on your "
"hardware specifications to enable acceleration."
msgstr ""

#: ../../source/getting_started/installation.rst:51
#: ../../source/getting_started/installation.rst:56
msgid "Initial setup::"
msgstr ""

#: ../../source/getting_started/installation.rst:56
#: ../../source/getting_started/installation.rst:61
msgid "Hardware-Specific installations:"
msgstr ""

#: ../../source/getting_started/installation.rst:58
#: ../../source/getting_started/installation.rst:63
msgid "Apple Silicon::"
msgstr ""

#: ../../source/getting_started/installation.rst:62
#: ../../source/getting_started/installation.rst:67
msgid "Nvidia cards::"
msgstr ""

#: ../../source/getting_started/installation.rst:66
#: ../../source/getting_started/installation.rst:71
msgid "AMD cards::"
msgstr ""

12 changes: 10 additions & 2 deletions doc/source/locale/ja_JP/LC_MESSAGES/getting_started/logging.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Xinference \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-16 11:20+0800\n"
"POT-Creation-Date: 2023-12-27 15:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: ja_JP\n"
Expand Down Expand Up @@ -69,7 +69,7 @@ msgstr ""

#: ../../source/getting_started/logging.rst:32
msgid ""
"In a local deployment, the logs of Xinference supervisor and Xorbits "
"In a local deployment, the logs of Xinference supervisor and Xinference "
"workers are combined into a single file. An example of the log directory "
"structure is shown below::"
msgstr ""
Expand All @@ -94,3 +94,11 @@ msgid ""
"below::"
msgstr ""

#~ msgid ""
#~ "In a local deployment, the logs of"
#~ " Xinference supervisor and Xorbits workers"
#~ " are combined into a single file. "
#~ "An example of the log directory "
#~ "structure is shown below::"
#~ msgstr ""

Loading
Loading