Skip to content

Commit

Permalink
meta tags aggregator
Browse files Browse the repository at this point in the history
  • Loading branch information
BeachWang committed Dec 19, 2024
1 parent 1c74709 commit a997726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_juicer/ops/aggregator/meta_tags_aggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class MetaTagsAggregator(Aggregator):
'{tag_strs}')
DEFAULT_TAG_TEMPLATE = '| {tag} | {cnt} |'

DEFAULT_OUTPUT_PATTERN = r'\n(.*?)归类为(.*?)(\Z|\n)'
DEFAULT_OUTPUT_PATTERN = r'\n(\w+)归类为(\w+)($|\n)'

def __init__(self,
api_model: str = 'gpt-4o',
Expand Down

0 comments on commit a997726

Please sign in to comment.