-
- Downloads
DiffPrivacy ICL Pack - OpenAI Completion LLMs (#11881)
* add logprob * version bump * typo * rename pack * add first implementation of dp algo - gaussian * fix minor errors * modify templates * tokenizer * add logprobs for completions api * way better results with completions * add more dynamic few shot examples * incorporate dynamic few shot * remove chat completion stuff * add laplacian mechanism * add latest core and llms-openai * demo nb -f * conflict * pants * pyproject metadata * rename pack * get rid of old pack * fix tqdm * dispatcher * add events * improved async * add start/end events * add sizes int option * add example gen script for symptom_2_disease * add final save * pants * remove unused span handler, and make event handler log error report every error * add num synthetic starts to error report * report the EventHandler itself * increase threshold to ~2.5% error rate * change to ratio of errors * actually count event ends * update main * change number of size to 3 instead of 4 * add retriever demo; add node prost processor * pants * add sigma_to_eps * remove networks stuff * add back basic demo * add writeups for basic demo * rm data * rm demo usage from ignored dir /notebooks * cleaning symptom_2_disease * Add README and sample synthetic_dataset.json * rm lock file * remove extra error_report.json * add README details * remove empty utils file * use exponential mechanism instead of laplace * remove data files add download script * remove big json files * update privacy mechanism * fix sigma_to_eps * remove synthetic_dataset.json * improve dp description * update authors * update * minor fix * minor fix * minor validation
Showing
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/.gitignore 153 additions, 0 deletions.../llama-index-packs-diff-private-simple-dataset/.gitignore
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/BUILD 3 additions, 0 deletions...packs/llama-index-packs-diff-private-simple-dataset/BUILD
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/Makefile 17 additions, 0 deletions...ks/llama-index-packs-diff-private-simple-dataset/Makefile
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/README.md 125 additions, 0 deletions...s/llama-index-packs-diff-private-simple-dataset/README.md
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/examples/basic_demo/README.md 19 additions, 0 deletions...diff-private-simple-dataset/examples/basic_demo/README.md
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/examples/basic_demo/_create_agnews_simple_dataset.ipynb 355 additions, 0 deletions...t/examples/basic_demo/_create_agnews_simple_dataset.ipynb
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/examples/basic_demo/demo_usage.ipynb 676 additions, 0 deletions...ivate-simple-dataset/examples/basic_demo/demo_usage.ipynb
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/examples/symptom_2_disease/BUILD 1 addition, 0 deletions...f-private-simple-dataset/examples/symptom_2_disease/BUILD
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/examples/symptom_2_disease/README.md 74 additions, 0 deletions...ivate-simple-dataset/examples/symptom_2_disease/README.md
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/examples/symptom_2_disease/__init__.py 0 additions, 0 deletions...ate-simple-dataset/examples/symptom_2_disease/__init__.py
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/examples/symptom_2_disease/_create_symptom_2_disease_simple_dataset.py 50 additions, 0 deletions...tom_2_disease/_create_symptom_2_disease_simple_dataset.py
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/examples/symptom_2_disease/_download_raw_symptom_2_disease_data.py 22 additions, 0 deletions...symptom_2_disease/_download_raw_symptom_2_disease_data.py
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/examples/symptom_2_disease/error_report.json 9 additions, 0 deletions...mple-dataset/examples/symptom_2_disease/error_report.json
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/examples/symptom_2_disease/event_handler.py 62 additions, 0 deletions...imple-dataset/examples/symptom_2_disease/event_handler.py
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/examples/symptom_2_disease/main.py 70 additions, 0 deletions...private-simple-dataset/examples/symptom_2_disease/main.py
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/llama_index/packs/diff_private_simple_dataset/BUILD 1 addition, 0 deletions...taset/llama_index/packs/diff_private_simple_dataset/BUILD
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/llama_index/packs/diff_private_simple_dataset/__init__.py 6 additions, 0 deletions...llama_index/packs/diff_private_simple_dataset/__init__.py
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/llama_index/packs/diff_private_simple_dataset/base.py 501 additions, 0 deletions...set/llama_index/packs/diff_private_simple_dataset/base.py
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/llama_index/packs/diff_private_simple_dataset/events.py 33 additions, 0 deletions...t/llama_index/packs/diff_private_simple_dataset/events.py
- llama-index-packs/llama-index-packs-diff-private-simple-dataset/llama_index/packs/diff_private_simple_dataset/privacy_mechanism.py 8 additions, 0 deletions...ex/packs/diff_private_simple_dataset/privacy_mechanism.py
Loading
Please register or sign in to comment