Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,6 @@ Original file is located at
|
|
| 7 |
https://colab.research.google.com/drive/13Na6TJXmV0xL-sdlEmPHFM6EBj4U7u9a
|
| 8 |
"""
|
| 9 |
|
| 10 |
-
!pip install transformers torch pandas scikit-learn
|
| 11 |
|
| 12 |
import pandas as pd
|
| 13 |
|
|
@@ -26,7 +25,7 @@ import torch
|
|
| 26 |
print(torch.cuda.is_available()) # Doit retourner True
|
| 27 |
#print(torch.cuda.get_device_name(0))
|
| 28 |
|
| 29 |
-
|
| 30 |
|
| 31 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 32 |
import torch
|
|
|
|
| 7 |
https://colab.research.google.com/drive/13Na6TJXmV0xL-sdlEmPHFM6EBj4U7u9a
|
| 8 |
"""
|
| 9 |
|
|
|
|
| 10 |
|
| 11 |
import pandas as pd
|
| 12 |
|
|
|
|
| 25 |
print(torch.cuda.is_available()) # Doit retourner True
|
| 26 |
#print(torch.cuda.get_device_name(0))
|
| 27 |
|
| 28 |
+
|
| 29 |
|
| 30 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 31 |
import torch
|