python3 -m virtualenv -p Python39 .venv
#For Windows
source .venv/Scripts/activate
#For Mac
source .venv/bin/activate
pip install -r requirements.txt
You have some examples in the presidio.ipynb notebook.
utils/run_model.py script in the presidio notebook or in the terminal, for this function, the model must always be run in batch mode (below is only an optimized n-call method).obi/deid_roberta_i2b2 from HuggingFace and a custom-bert-model."["id1", "id2"]","This product is awesome!"
"["id3", "id4"]","This product is bad..."
The first column is a list representing the IDs (e.g. PVIDs) associated with the review (second column).
27 commits
Jupyter Notebook
74.7%
Python
25.3%
python3 -m virtualenv -p Python39 .venv
#For Windows
source .venv/Scripts/activate
#For Mac
source .venv/bin/activate
pip install -r requirements.txt
You have some examples in the presidio.ipynb notebook.
utils/run_model.py script in the presidio notebook or in the terminal, for this function, the model must always be run in batch mode (below is only an optimized n-call method).obi/deid_roberta_i2b2 from HuggingFace and a custom-bert-model."["id1", "id2"]","This product is awesome!"
"["id3", "id4"]","This product is bad..."
The first column is a list representing the IDs (e.g. PVIDs) associated with the review (second column).
27 commits
Jupyter Notebook
74.7%
Python
25.3%