Read more about this repository in the blog - Balancing Innovation With Safety & Privacy in the Era of Large Language Models (LLM). If you are new here you should follow the following sequence-
- Start with
01-pii-detection.ipynb
as a first step to learn more about PII entity detection - Then go throug the notebook
02-toxicity-classification.ipynb
which either walks through using the model from HuggingFace moodel hub, or step by step on how to train your own classification model. - Finally, go through the
03-safety-privacy-langchain.ipynb
which uses the customPrivacyAndSafetyChain
.
Clone this repository
git clone https://github.com/annjawn/llm-safety-privacy.git