Updates to the transformers conf docs and yaml file - #1467
Merged
Conversation
omri374
marked this pull request as ready for review
October 10, 2024 07:00
Collaborator
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
SharonHart
approved these changes
Oct 10, 2024
|
@omri374 Thank you for making these changes. One question in my mind still is how to find the Hugging Face NER model labels...might be out of scope for the docs here, but perhaps a link or pointer to this could help since it's needed for the configuration file. Again, thanks for making things clearer. |
Collaborator
Author
|
Thanks @michhar. Will directing the user to look into the model's config (e.g. https://huggingface.co/dslim/bert-base-NER-uncased/blob/main/config.json) be the right approach? Not all models explicitly state the classes on their huggingface hub website. |
Collaborator
Author
|
Please see #1472 |
prokopidis
pushed a commit
to prokopidis/presidio
that referenced
this pull request
Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
updated the docs for a transformers based pipeline, to make it clearer, and added an example for configuration through code. Based on the discussion in #1463
Also changed the default config in the docs to match the one in the code.