Update README.md
Browse files
README.md
CHANGED
|
@@ -88,7 +88,7 @@ Use the code below to get started with the model.
|
|
| 88 |
|
| 89 |
```python
|
| 90 |
import torch
|
| 91 |
-
from transformers import pipeline
|
| 92 |
device = torch.device("mps" if torch.backends.mps.is_available() else ("cuda" if torch.cuda.is_available() else "cpu"))
|
| 93 |
|
| 94 |
tokenizer = AutoTokenizer.from_pretrained("GEODE/bert-base-multilingual-cased-geography-entry-classification")
|
|
|
|
| 88 |
|
| 89 |
```python
|
| 90 |
import torch
|
| 91 |
+
from transformers import pipeline, AutoTokenizer, AutoModelForSequenceClassification
|
| 92 |
device = torch.device("mps" if torch.backends.mps.is_available() else ("cuda" if torch.cuda.is_available() else "cpu"))
|
| 93 |
|
| 94 |
tokenizer = AutoTokenizer.from_pretrained("GEODE/bert-base-multilingual-cased-geography-entry-classification")
|