Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
@@ -29,64 +29,49 @@ Have a great idea for how to improve the model? Want to add data and metrics to
|
|
29 |
To use and run the DVC pipeline install the `t5s` package
|
30 |
|
31 |
```
|
32 |
-
|
33 |
pip install t5s
|
34 |
-
|
35 |
```
|
36 |
|
37 |
Firstly we need to clone the repo containing the code so we can do that using:
|
38 |
|
39 |
```
|
40 |
-
|
41 |
t5s clone
|
42 |
-
|
43 |
```
|
44 |
|
45 |
We would then have to create the required directories to run the pipeline
|
46 |
|
47 |
```
|
48 |
-
|
49 |
t5s dirs
|
50 |
-
|
51 |
```
|
52 |
|
53 |
Then we need to pull the models from DVC
|
54 |
|
55 |
```
|
56 |
-
|
57 |
t5s pull
|
58 |
-
|
59 |
```
|
60 |
|
61 |
Now to run the training pipeline we can run:
|
62 |
|
63 |
```
|
64 |
-
|
65 |
t5s run
|
66 |
-
|
67 |
```
|
68 |
|
69 |
Finally to push the model to DVC
|
70 |
|
71 |
```
|
72 |
-
|
73 |
t5s push
|
74 |
-
|
75 |
```
|
76 |
|
77 |
To push this model to HuggingFace Hub for inference you can run:
|
78 |
|
79 |
```
|
80 |
-
|
81 |
t5s push_to_hf_hub
|
82 |
-
|
83 |
```
|
84 |
|
85 |
Next if we would like to test the model and visualise the results we can run:
|
86 |
-
```
|
87 |
|
|
|
88 |
t5s visualize
|
89 |
-
|
90 |
```
|
91 |
And this would create a streamlit app for testing
|
92 |
|
|
|
29 |
To use and run the DVC pipeline install the `t5s` package
|
30 |
|
31 |
```
|
|
|
32 |
pip install t5s
|
|
|
33 |
```
|
34 |
|
35 |
Firstly we need to clone the repo containing the code so we can do that using:
|
36 |
|
37 |
```
|
|
|
38 |
t5s clone
|
|
|
39 |
```
|
40 |
|
41 |
We would then have to create the required directories to run the pipeline
|
42 |
|
43 |
```
|
|
|
44 |
t5s dirs
|
|
|
45 |
```
|
46 |
|
47 |
Then we need to pull the models from DVC
|
48 |
|
49 |
```
|
|
|
50 |
t5s pull
|
|
|
51 |
```
|
52 |
|
53 |
Now to run the training pipeline we can run:
|
54 |
|
55 |
```
|
|
|
56 |
t5s run
|
|
|
57 |
```
|
58 |
|
59 |
Finally to push the model to DVC
|
60 |
|
61 |
```
|
|
|
62 |
t5s push
|
|
|
63 |
```
|
64 |
|
65 |
To push this model to HuggingFace Hub for inference you can run:
|
66 |
|
67 |
```
|
|
|
68 |
t5s push_to_hf_hub
|
|
|
69 |
```
|
70 |
|
71 |
Next if we would like to test the model and visualise the results we can run:
|
|
|
72 |
|
73 |
+
```
|
74 |
t5s visualize
|
|
|
75 |
```
|
76 |
And this would create a streamlit app for testing
|
77 |
|