From 2946ea26d62ee032796851b4090712c04a195986 Mon Sep 17 00:00:00 2001 From: mgqa34 Date: Thu, 1 Aug 2024 15:40:36 +0800 Subject: [PATCH 1/2] update doc Signed-off-by: mgqa34 --- doc/tutorial/fdkt/fdkt.ipynb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/tutorial/fdkt/fdkt.ipynb b/doc/tutorial/fdkt/fdkt.ipynb index 76c9312..35eb4f1 100644 --- a/doc/tutorial/fdkt/fdkt.ipynb +++ b/doc/tutorial/fdkt/fdkt.ipynb @@ -426,6 +426,7 @@ " seq_num_for_single_category=2000,\n", " slm_generation_config=dict(\n", " max_new_tokens=256,\n", + " do_sample=True,\n", " temperature=1.0,\n", " top_k=50,\n", " top_p=0.9,\n", @@ -636,6 +637,7 @@ " seq_num_for_single_category=2000,\n", " slm_generation_config=dict(\n", " max_new_tokens=256,\n", + " do_sample=True,\n", " temperature=1.0,\n", " top_k=50,\n", " top_p=0.9,\n", From cc9c82e6575019668613ac35a6812245d2007632 Mon Sep 17 00:00:00 2001 From: mgqa34 Date: Thu, 1 Aug 2024 15:40:55 +0800 Subject: [PATCH 2/2] optimizer standalone deploy doc Signed-off-by: mgqa34 --- doc/standalone_deploy.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/doc/standalone_deploy.md b/doc/standalone_deploy.md index aa8ffd0..38a6d24 100644 --- a/doc/standalone_deploy.md +++ b/doc/standalone_deploy.md @@ -41,14 +41,7 @@ After installing successfully, please refer to [tutorials](../README.md#quick-st In this way, user can run tasks with Pipeline or Launcher. ### 3.1 Installing Python Environment -- Prepare and install [conda](https://docs.conda.io/projects/miniconda/en/latest/) environment. -- Create a virtual environment: - -```shell -# FATE-LLM requires Python >= 3.10 -conda create -n fate_env python=3.10 -conda activate fate_env -``` +Please refer to section-2.1 ### 3.2 Installing FATE-LLM with FATE, FATE-Flow, FATE-Client @@ -59,7 +52,8 @@ pip install fate_client[fate,fate_flow,fate_client]==2.2.0 ### 3.3 Service Initialization ```shell -fate_flow init --ip 127.0.0.1 --port 9380 --home $HOME_DIR +mkdir fate_workspace +fate_flow init --ip 127.0.0.1 --port 9380 --home $(pwd)/fate_workspace pipeline init --ip 127.0.0.1 --port 9380 ``` - `ip`: The IP address where the service runs.