From a9b8ccafc42172bb7346b47b8211270a27abc00e Mon Sep 17 00:00:00 2001 From: zhangsibo1129 Date: Mon, 1 Jul 2024 17:01:31 +0800 Subject: [PATCH] fix indentation --- docs/chat_comparison.md | 36 ++++++++++++++++++------------------ docs/chat_comparison_zh.md | 36 ++++++++++++++++++------------------ docs/chat_with_arxiv.md | 28 ++++++++++++++-------------- docs/chat_with_arxiv_zh.md | 28 ++++++++++++++-------------- docs/simple_chat.md | 28 ++++++++++++++-------------- docs/simple_chat_zh.md | 28 ++++++++++++++-------------- 6 files changed, 92 insertions(+), 92 deletions(-) diff --git a/docs/chat_comparison.md b/docs/chat_comparison.md index f0392ee..1b3255a 100644 --- a/docs/chat_comparison.md +++ b/docs/chat_comparison.md @@ -16,30 +16,30 @@ chatways comparison [options] - **Case 1** Use Default Parameters -```bash -chatways comparison -``` + ```bash + chatways comparison + ``` - **Case 2** Config with Full Parameters -```bash -chatways comparison \ - --llm-engine1 openai \ - --llm-model1 gpt-3.5-turbo \ - --llm-model-config1 '{"api_key":"openai_api_key","base_url":"openai_base_url"}' - --llm-engine2 huggingface \ - --llm-model2 Qwen/Qwen1.5-4B-Chat \ - --llm-model-config2 '{"torch_dtype":"auto","device_map":"auto"}' -``` + ```bash + chatways comparison \ + --llm-engine1 openai \ + --llm-model1 gpt-3.5-turbo \ + --llm-model-config1 '{"api_key":"openai_api_key","base_url":"openai_base_url"}' + --llm-engine2 huggingface \ + --llm-model2 Qwen/Qwen1.5-4B-Chat \ + --llm-model-config2 '{"torch_dtype":"auto","device_map":"auto"}' + ``` - **Case 3** Set Partial Parameters with Abbreviations -```bash -chatways comparison \ - --le1 openai \ - --le2 huggingface \ - --lc2 '{"torch_dtype":"auto","device_map":"auto"}' -``` + ```bash + chatways comparison \ + --le1 openai \ + --le2 huggingface \ + --lc2 '{"torch_dtype":"auto","device_map":"auto"}' + ``` ## Configuration diff --git a/docs/chat_comparison_zh.md b/docs/chat_comparison_zh.md index 7afa162..c8775c5 100644 --- a/docs/chat_comparison_zh.md +++ b/docs/chat_comparison_zh.md @@ -16,30 +16,30 @@ chatways comparison [options] - **样例1** 使用默认参数 -```bash -chatways comparison -``` + ```bash + chatways comparison + ``` - **样例2** 设置完整参数 -```bash -chatways comparison \ - --llm-engine1 openai \ - --llm-model1 gpt-3.5-turbo \ - --llm-model-config1 '{"api_key":"openai_api_key","base_url":"openai_base_url"}' - --llm-engine2 huggingface \ - --llm-model2 Qwen/Qwen1.5-4B-Chat \ - --llm-model-config2 '{"torch_dtype":"auto","device_map":"auto"}' -``` + ```bash + chatways comparison \ + --llm-engine1 openai \ + --llm-model1 gpt-3.5-turbo \ + --llm-model-config1 '{"api_key":"openai_api_key","base_url":"openai_base_url"}' + --llm-engine2 huggingface \ + --llm-model2 Qwen/Qwen1.5-4B-Chat \ + --llm-model-config2 '{"torch_dtype":"auto","device_map":"auto"}' + ``` - **样例3** 用简称指定部分参数 -```bash -chatways comparison \ - --le1 openai \ - --le2 huggingface \ - --lc2 '{"torch_dtype":"auto","device_map":"auto"}' -``` + ```bash + chatways comparison \ + --le1 openai \ + --le2 huggingface \ + --lc2 '{"torch_dtype":"auto","device_map":"auto"}' + ``` ## 配置参数 diff --git a/docs/chat_with_arxiv.md b/docs/chat_with_arxiv.md index 8587f54..3ec5a1c 100644 --- a/docs/chat_with_arxiv.md +++ b/docs/chat_with_arxiv.md @@ -16,26 +16,26 @@ chatways arxiv [options] - **Case 1** Use Default Parameters -```bash -chatways arxiv -``` + ```bash + chatways arxiv + ``` - **Case 2** Config with Full Parameters -```bash -chatways arxiv \ - --llm-engine openai \ - --llm-model gpt-3.5-turbo \ - --llm-model-config '{"api_key":"openai_api_key","base_url":"openai_base_url"}' -``` + ```bash + chatways arxiv \ + --llm-engine openai \ + --llm-model gpt-3.5-turbo \ + --llm-model-config '{"api_key":"openai_api_key","base_url":"openai_base_url"}' + ``` - **Case 3** Set Partial Parameters with Abbreviations -```bash -chatways arxiv \ - -le huggingface \ - -lc '{"torch_dtype":"auto","device_map":"auto"}' -``` + ```bash + chatways arxiv \ + -le huggingface \ + -lc '{"torch_dtype":"auto","device_map":"auto"}' + ``` ## Configuration diff --git a/docs/chat_with_arxiv_zh.md b/docs/chat_with_arxiv_zh.md index 3c74298..1f68bfc 100644 --- a/docs/chat_with_arxiv_zh.md +++ b/docs/chat_with_arxiv_zh.md @@ -16,26 +16,26 @@ chatways arxiv [options] - **样例1** 使用默认参数 -```bash -chatways arxiv -``` + ```bash + chatways arxiv + ``` - **样例2** 设置完整参数 -```bash -chatways arxiv \ - --llm-engine openai \ - --llm-model gpt-3.5-turbo \ - --llm-model-config '{"api_key":"openai_api_key","base_url":"openai_base_url"}' -``` + ```bash + chatways arxiv \ + --llm-engine openai \ + --llm-model gpt-3.5-turbo \ + --llm-model-config '{"api_key":"openai_api_key","base_url":"openai_base_url"}' + ``` - **样例3** 用简称指定部分参数 -```bash -chatways arxiv \ - -le huggingface \ - -lc '{"torch_dtype":"auto","device_map":"auto"}' -``` + ```bash + chatways arxiv \ + -le huggingface \ + -lc '{"torch_dtype":"auto","device_map":"auto"}' + ``` ## 配置参数 diff --git a/docs/simple_chat.md b/docs/simple_chat.md index 0be973d..8998dd4 100644 --- a/docs/simple_chat.md +++ b/docs/simple_chat.md @@ -16,26 +16,26 @@ chatways simple [options] - **Case 1** Use Default Parameters -```bash -chatways simple -``` + ```bash + chatways simple + ``` - **Case 2** Config with Full Parameters -```bash -chatways simple \ - --llm-engine openai \ - --llm-model gpt-3.5-turbo \ - --llm-model-config '{"api_key":"openai_api_key","base_url":"openai_base_url"}' -``` + ```bash + chatways simple \ + --llm-engine openai \ + --llm-model gpt-3.5-turbo \ + --llm-model-config '{"api_key":"openai_api_key","base_url":"openai_base_url"}' + ``` - **Case 3** Set Partial Parameters with Abbreviations -```bash -chatways simple \ - -le huggingface \ - -lc '{"torch_dtype":"auto","device_map":"auto"}' -``` + ```bash + chatways simple \ + -le huggingface \ + -lc '{"torch_dtype":"auto","device_map":"auto"}' + ``` ## Configuration diff --git a/docs/simple_chat_zh.md b/docs/simple_chat_zh.md index e89927f..4b531ca 100644 --- a/docs/simple_chat_zh.md +++ b/docs/simple_chat_zh.md @@ -16,26 +16,26 @@ chatways simple [options] - **样例1** 使用默认参数 -```bash -chatways simple -``` + ```bash + chatways simple + ``` - **样例2** 设置完整参数 -```bash -chatways simple \ - --llm-engine openai \ - --llm-model gpt-3.5-turbo \ - --llm-model-config '{"api_key":"openai_api_key","base_url":"openai_base_url"}' -``` + ```bash + chatways simple \ + --llm-engine openai \ + --llm-model gpt-3.5-turbo \ + --llm-model-config '{"api_key":"openai_api_key","base_url":"openai_base_url"}' + ``` - **样例3** 用简称指定部分参数 -```bash -chatways simple \ - -le huggingface \ - -lc '{"torch_dtype":"auto","device_map":"auto"}' -``` + ```bash + chatways simple \ + -le huggingface \ + -lc '{"torch_dtype":"auto","device_map":"auto"}' + ``` ## 配置参数