JohnSnowLabs / langtest

Deliver safe & effective language models
http://langtest.org/
Apache License 2.0
498 stars 39 forks source link

Add Option to Configure Number of Templates Generated in Templatic Augmentation #1088

Closed chakravarthik27 closed 2 months ago

chakravarthik27 commented 2 months ago

Current State

...

TemplaticAugment(
    templates=templates,
    task=TaskManager("ner"),
    generate_templates=True,
    show_templates=True
)

Suggested Solution

...

TemplaticAugment(
    templates=templates,
    task=TaskManager("ner"),
    generate_templates=True,
    show_templates=True
    additional_templates_count=10 # 
)