Spaces:
Sleeping
Sleeping
nicpopovic
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -8,29 +8,3 @@ sdk_version: 1.31.1
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
11 |
-
|
12 |
-
# STOKE: A Toolkit for Streaming Token Classification
|
13 |
-
|
14 |
-
[Huggingface Space](https://huggingface.co/spaces/nicpopovic/stoke)
|
15 |
-
|
16 |
-
[Related publication](https://arxiv.org/abs/2403.11747)
|
17 |
-
|
18 |
-
*Note: This code is still being cleaned up currently.*
|
19 |
-
|
20 |
-
## Quick start
|
21 |
-
You can use pip to install the required dependency (including the transformers fork)
|
22 |
-
```
|
23 |
-
python3 -m venv venv
|
24 |
-
source venv/bin/activate
|
25 |
-
pip install -r requirements.txt
|
26 |
-
streamlit run stoke/playground/app.py
|
27 |
-
```
|
28 |
-
|
29 |
-
This will launch the playground, shown below:
|
30 |
-
|
31 |
-
![](stoke/docs/images/playground.png)
|
32 |
-
|
33 |
-
## Get custom transformers fork
|
34 |
-
```
|
35 |
-
git clone -b STOKE https://github.com/nicpopovic/transformers.git
|
36 |
-
```
|
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|