-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #331 from mlrun/marketplace-doc-gen-0164e2a
Marketplace update from marketplace-doc-gen-0164e2a
- Loading branch information
Showing
162 changed files
with
38,109 additions
and
2,659 deletions.
There are no files selected for viewing
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
functions/development/pii_recognizer/0.2.0/src/data/config.csv
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
input_file,output_file | ||
data/pii.txt,data/pii_out.txt | ||
data/letter.txt,data/letter_out.txt |
12 changes: 12 additions & 0 deletions
12
functions/development/pii_recognizer/0.2.0/src/data/letter.txt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Dear Mr. John Doe, | ||
|
||
We are pleased to inform you that you have been selected as the winner of our exclusive vacation package giveaway! Congratulations! You, along with your family, will enjoy a luxurious stay at our resort in the beautiful city of Riviera. Your flight tickets have been booked, and you will be departing on July 15th, 2023. | ||
|
||
Please provide us with the necessary details to finalize your travel arrangements. We kindly request your full name, date of birth, passport number, and contact information. Rest assured that all provided information will be handled with utmost confidentiality and in compliance with data protection regulations. | ||
|
||
We look forward to creating unforgettable memories for you and your loved ones during your stay with us. If you have any questions or require further assistance, please don't hesitate to contact our customer support team. | ||
|
||
Best regards, | ||
|
||
Jane Smith | ||
Customer Support Representative |
12 changes: 12 additions & 0 deletions
12
functions/development/pii_recognizer/0.2.0/src/data/output/letter_output.txt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Dear Mr. <PERSON>, | ||
|
||
We are pleased to inform you that you have been selected as the winner of our exclusive vacation package giveaway! Congratulations! You, along with your family, will enjoy a luxurious stay at our resort in the beautiful city of <LOCATION>. Your flight tickets have been booked, and you will be departing on July 15th, 2023. | ||
|
||
Please provide us with the necessary details to finalize your travel arrangements. We kindly request your full name, date of birth, passport number, and contact information. Rest assured that all provided information will be handled with utmost confidentiality and in compliance with data protection regulations. | ||
|
||
We look forward to creating unforgettable memories for you and your loved ones during your stay with us. If you have any questions or require further assistance, please don't hesitate to contact our customer support team. | ||
|
||
Best regards, | ||
|
||
<PERSON> | ||
<ORGANIZATION> Support <ORGANIZATION> |
1 change: 1 addition & 0 deletions
1
functions/development/pii_recognizer/0.2.0/src/data/output/pii_output.txt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<PERSON> <ORGANIZATION> is <SSN>, connect him with <EMAIL> or <PHONE>, he can pay you with <CREDIT_CARD> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
John smith's ssn is 182838483, connect him with [email protected] or 6288389029, he can pay you with 41482929939393 |
128 changes: 128 additions & 0 deletions
128
functions/development/pii_recognizer/0.2.0/src/function.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
apiVersion: v1 | ||
categories: | ||
- machine-learning | ||
- data-preparation | ||
description: This function is used to recognize PII in a directory of text files | ||
doc: '' | ||
example: pii_recognizer.ipynb | ||
generationDate: 2023-08-15:10-24 | ||
hidden: false | ||
icon: '' | ||
labels: | ||
author: pgw | ||
maintainers: [] | ||
marketplaceType: '' | ||
mlrunVersion: 1.4.0 | ||
name: pii-recognizer | ||
platformVersion: 3.5.3 | ||
spec: | ||
filename: pii_recognizer.py | ||
handler: recognize_pii | ||
image: mlrun/mlrun | ||
kind: job | ||
requirements: | ||
- nltk | ||
- pandas | ||
- presidio-anonymizer | ||
- presidio-analyzer | ||
- torch | ||
- flair@git+https://github.com/flairNLP/flair.git@d4ed67bf663e4066517f00397412510d90043653 | ||
- st-annotated-text | ||
- https://huggingface.co/beki/en_spacy_pii_distilbert/resolve/main/en_spacy_pii_distilbert-any-py3-none-any.whl | ||
url: '' | ||
version: 0.2.0 | ||
test_valid: False |
Oops, something went wrong.