From 47ad3890bc35985b9046f403312887035e19f96f Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Sun, 7 May 2023 08:28:15 -0400 Subject: [PATCH] fix whitespace and instruction on inference --- .github/workflows/main.yml | 2 +- scripts/finetune.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 14c2ef4d9..c20186f76 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,6 +34,6 @@ jobs: with: context: . file: ./Dockerfile - push: ${{ github.event.base_ref =='refs/heads/main' && github.ref_type == 'tag' && !startsWith(github.ref, 'refs/tags/v0.')}} + push: ${{ github.event.base_ref == 'refs/heads/main' && github.ref_type == 'tag' && !startsWith(github.ref, 'refs/tags/v0.')}} tags: ${{ steps.metadata.outputs.tags }} labels: ${{ steps.metadata.outputs.labels }} diff --git a/scripts/finetune.py b/scripts/finetune.py index 67e23f35c..1da332f40 100644 --- a/scripts/finetune.py +++ b/scripts/finetune.py @@ -49,7 +49,7 @@ def choose_device(cfg): def get_multi_line_input() -> Optional[str]: - print("Give me an instruction (Ctrl + Z to finish): ") + print("Give me an instruction (Ctrl + D to finish): ") instruction = "" for line in sys.stdin: instruction += line