Skip to content

Commit b12c44d

Browse files
committed
Fix imports
Signed-off-by: Elron Bandel <[email protected]>
1 parent a3a0dc0 commit b12c44d

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

prepare/formats/empty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from src.unitxt.catalog import add_to_catalog
2-
from src.unitxt.operators import SystemFormat
2+
from src.unitxt.formats import SystemFormat
33

44
format = SystemFormat(
55
demo_format="{source}\n {target}\n\n",

prepare/formats/empty_input_output_separators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from src.unitxt.catalog import add_to_catalog
2-
from src.unitxt.operators import SystemFormat
2+
from src.unitxt.formats import SystemFormat
33

44
format = SystemFormat(
55
demo_format="{source}{target}\n\n",

prepare/formats/human_assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from src.unitxt.catalog import add_to_catalog
2-
from src.unitxt.operators import SystemFormat
2+
from src.unitxt.formats import SystemFormat
33

44
format = SystemFormat(
55
demo_format="Human: {source}\nAssistant: {target}\n\n",

prepare/formats/llama.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from src.unitxt.catalog import add_to_catalog
2-
from src.unitxt.operators import SystemFormat
2+
from src.unitxt.formats import SystemFormat
33

44
format = SystemFormat(
55
demo_format="{source}\n{target}\n\n",

prepare/formats/user_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from src.unitxt.catalog import add_to_catalog
2-
from src.unitxt.operators import SystemFormat
2+
from src.unitxt.formats import SystemFormat
33

44
format = SystemFormat(
55
demo_format="User: {source}\nAgent: {target}\n\n",

prepare/formats/user_assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from src.unitxt.catalog import add_to_catalog
2-
from src.unitxt.operators import SystemFormat
2+
from src.unitxt.formats import SystemFormat
33

44
format = SystemFormat(
55
demo_format="<|user|>\n{source}\n<|assistant|>\n {target}\n\n",

tests/test_recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
from src.unitxt import dataset_file
66
from src.unitxt.artifact import fetch_artifact
7+
from src.unitxt.formats import SystemFormat
78
from src.unitxt.instructions import TextualInstruction
8-
from src.unitxt.operators import SystemFormat
99
from src.unitxt.standard import StandardRecipe, StandardRecipeWithIndexes
1010
from src.unitxt.templates import InputOutputTemplate
1111
from src.unitxt.text_utils import print_dict

0 commit comments

Comments
 (0)