Upload test_privacy_filter_ko.ipynb with huggingface_hub
Browse files
test_privacy_filter_ko.ipynb
CHANGED
|
@@ -17,7 +17,7 @@
|
|
| 17 |
"execution_count": null,
|
| 18 |
"metadata": {},
|
| 19 |
"outputs": [],
|
| 20 |
-
"source": "#
|
| 21 |
},
|
| 22 |
{
|
| 23 |
"cell_type": "code",
|
|
|
|
| 17 |
"execution_count": null,
|
| 18 |
"metadata": {},
|
| 19 |
"outputs": [],
|
| 20 |
+
"source": "# Install transformers from source. Required because Privacy Filter's\n# `openai_privacy_filter` model_type is in transformers 5.x (HEAD) only.\n#\n# After this cell completes, RESTART THE RUNTIME (Runtime → Restart runtime\n# on Colab, or Kernel → Restart on Jupyter), then run cell 3 onwards.\n\n!pip install -q --upgrade \"git+https://github.com/huggingface/transformers.git\" peft safetensors accelerate\n\nprint()\nprint(\"=\" * 60)\nprint(\"INSTALL DONE.\")\nprint(\"Now: Runtime → Restart runtime, then run cell 3 onwards.\")\nprint(\"=\" * 60)"
|
| 21 |
},
|
| 22 |
{
|
| 23 |
"cell_type": "code",
|