Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -57,8 +57,17 @@ Held-out KDPII Korean PII test set, span-level F1:
|
|
| 57 |
|
| 58 |
### Install
|
| 59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
```bash
|
| 61 |
-
pip
|
| 62 |
```
|
| 63 |
|
| 64 |
### Load Model
|
|
|
|
| 57 |
|
| 58 |
### Install
|
| 59 |
|
| 60 |
+
The `openai_privacy_filter` architecture is in `transformers` HEAD but not yet in
|
| 61 |
+
a stable PyPI release, so install from source:
|
| 62 |
+
|
| 63 |
+
```bash
|
| 64 |
+
pip install "git+https://github.com/huggingface/transformers.git" peft torch safetensors accelerate
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
If you already have a stable transformers installed, force the upgrade:
|
| 68 |
+
|
| 69 |
```bash
|
| 70 |
+
pip uninstall -y transformers && pip install "git+https://github.com/huggingface/transformers.git"
|
| 71 |
```
|
| 72 |
|
| 73 |
### Load Model
|