From f9cbe38982ea652448e3ae8bc7871eb83433b1f7 Mon Sep 17 00:00:00 2001 From: Igor Sterner Date: Mon, 29 Jul 2024 07:35:46 +0100 Subject: [PATCH] fix typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9d87c5bc..ac6d2aaf 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,11 @@ sat.split(["This is a test This is another test.", "And some more texts..."]) # use our '-sm' models for general sentence segmentation tasks sat_sm = SaT("sat-3l-sm") # this will be especially better for noisy text -sat.split("this is a test this is another test") +sat_sm.split("this is a test this is another test") # returns ["this is a test", "this is another test"] # use trained lora modules for strong adaptation to language & domain/style -sat_adapted = SaT("sat-3l-sm", lang_code="en", style="ud")) +sat_adapted = SaT("sat-3l-sm", lang_code="en", style="ud") sat.split("This is a test This is another test.") ```