Skip to content

Fix NER pipeline arg in course notebook (use aggregation_strategy) - #617

Merged
pcuenca merged 1 commit into
huggingface:mainfrom
githubbzxs:fix/ner-pipeline-aggregation-strategy
Feb 23, 2026
Merged

Fix NER pipeline arg in course notebook (use aggregation_strategy)#617
pcuenca merged 1 commit into
huggingface:mainfrom
githubbzxs:fix/ner-pipeline-aggregation-strategy

Conversation

@githubbzxs

Copy link
Copy Markdown
Contributor

Fixes the example in course/en/chapter1/section3.ipynb to use aggregation_strategy="simple" instead of the deprecated/removed grouped_entities=True argument for the NER pipeline.

Context: huggingface/transformers#44016

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@githubbzxs

Copy link
Copy Markdown
Contributor Author

Friendly ping — this should be ready for review when you have a moment. It updates the course notebook example to use aggregation_strategy="simple" instead of the removed grouped_entities=True arg for the NER pipeline.

@pcuenca pcuenca left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pcuenca
pcuenca merged commit 3d512a7 into huggingface:main Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants