fix whitespace and instruction on inference
Browse files- .github/workflows/main.yml +1 -1
- scripts/finetune.py +1 -1
.github/workflows/main.yml
CHANGED
@@ -34,6 +34,6 @@ jobs:
|
|
34 |
with:
|
35 |
context: .
|
36 |
file: ./Dockerfile
|
37 |
-
push: ${{ github.event.base_ref =='refs/heads/main' && github.ref_type == 'tag' && !startsWith(github.ref, 'refs/tags/v0.')}}
|
38 |
tags: ${{ steps.metadata.outputs.tags }}
|
39 |
labels: ${{ steps.metadata.outputs.labels }}
|
|
|
34 |
with:
|
35 |
context: .
|
36 |
file: ./Dockerfile
|
37 |
+
push: ${{ github.event.base_ref == 'refs/heads/main' && github.ref_type == 'tag' && !startsWith(github.ref, 'refs/tags/v0.')}}
|
38 |
tags: ${{ steps.metadata.outputs.tags }}
|
39 |
labels: ${{ steps.metadata.outputs.labels }}
|
scripts/finetune.py
CHANGED
@@ -49,7 +49,7 @@ def choose_device(cfg):
|
|
49 |
|
50 |
|
51 |
def get_multi_line_input() -> Optional[str]:
|
52 |
-
print("Give me an instruction (Ctrl +
|
53 |
instruction = ""
|
54 |
for line in sys.stdin:
|
55 |
instruction += line
|
|
|
49 |
|
50 |
|
51 |
def get_multi_line_input() -> Optional[str]:
|
52 |
+
print("Give me an instruction (Ctrl + D to finish): ")
|
53 |
instruction = ""
|
54 |
for line in sys.stdin:
|
55 |
instruction += line
|