Skip to content

Commit 7df2aae

Browse files
authored
Update README.md
1 parent 5049d9d commit 7df2aae

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ Our formulation naturally relaxes to the well-studied weighted maximum coverage
44

55
### Beta: Huggingface AutoTokenizer interface
66

7+
Install the beta version (for transformers >= 4):
8+
```
9+
wget "https://github.com/PreferredAI/pcatt/archive/refs/tags/v0.14-pre2.zip"
10+
unzip v0.14-pre2.zip -d pcatt
11+
cd pcatt
12+
pip install -r requirements.txt
13+
pip install transformers
14+
pip install .
15+
```
16+
717
For "training" either:
818
```
919
from pcatt.hf.greedtok import GreedTok
@@ -91,4 +101,4 @@ Evaluations in [eval_notebook.ipynb](https://github.com/PreferredAI/aoatt/blob/m
91101
journal={arXiv preprint arXiv:2501.06246},
92102
url={https://arxiv.org/abs/2501.06246},
93103
}
94-
```
104+
```

0 commit comments

Comments
 (0)