Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
#installing dependencies
|
2 |
|
3 |
-
|
4 |
-
|
5 |
|
6 |
-
|
7 |
|
8 |
#setting up models and dataset
|
9 |
|
@@ -12,7 +12,7 @@ batch_size = 128
|
|
12 |
|
13 |
from datasets import load_dataset
|
14 |
|
15 |
-
|
16 |
|
17 |
from google.colab import drive
|
18 |
drive.mount('/content/drive/')
|
|
|
1 |
#installing dependencies
|
2 |
|
3 |
+
pip install -U git+https://github.com/huggingface/transformers.git
|
4 |
+
pip install -U git+https://github.com/huggingface/accelerate.git
|
5 |
|
6 |
+
pip install datasets
|
7 |
|
8 |
#setting up models and dataset
|
9 |
|
|
|
12 |
|
13 |
from datasets import load_dataset
|
14 |
|
15 |
+
pip install evaluate
|
16 |
|
17 |
from google.colab import drive
|
18 |
drive.mount('/content/drive/')
|