Skip to content

Commit

Permalink
Avoid invalid escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen committed Sep 29, 2023
1 parent 3e89af7 commit 93415bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion span_marker/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

T = TypeVar("T", bound="SpanMarkerModel")

UNEXPECTED_KEYWORD_PATTERN = re.compile("\S+ got an unexpected keyword argument '([^']*)'")
UNEXPECTED_KEYWORD_PATTERN = re.compile(r"\S+ got an unexpected keyword argument '([^']*)'")


class SpanMarkerModel(PreTrainedModel):
Expand Down

0 comments on commit 93415bd

Please sign in to comment.