Upload test_privacy_filter_ko.ipynb with huggingface_hub
Browse files
test_privacy_filter_ko.ipynb
CHANGED
|
@@ -17,10 +17,7 @@
|
|
| 17 |
"execution_count": null,
|
| 18 |
"metadata": {},
|
| 19 |
"outputs": [],
|
| 20 |
-
"source":
|
| 21 |
-
"# Uncomment if needed\n",
|
| 22 |
-
"# !pip install transformers peft torch"
|
| 23 |
-
]
|
| 24 |
},
|
| 25 |
{
|
| 26 |
"cell_type": "code",
|
|
|
|
| 17 |
"execution_count": null,
|
| 18 |
"metadata": {},
|
| 19 |
"outputs": [],
|
| 20 |
+
"source": "# The `openai_privacy_filter` architecture is in transformers HEAD but not yet\n# in a stable PyPI release. Install from source on first run.\n#\n# Colab note: if running in a fresh Colab environment, restart the runtime\n# after this cell completes (Runtime → Restart runtime) so the upgraded\n# transformers replaces the pre-loaded version. Then continue from cell 3.\n#\n# Comment the line below if you already have transformers installed from source.\n!pip install -q \"git+https://github.com/huggingface/transformers.git\" peft torch safetensors accelerate"
|
|
|
|
|
|
|
|
|
|
| 21 |
},
|
| 22 |
{
|
| 23 |
"cell_type": "code",
|