Update model_selector.py
Browse files- model_selector.py +4 -2
model_selector.py
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
-
from transformers import
|
2 |
|
3 |
def get_model_list():
|
4 |
-
|
|
|
5 |
"bert-base-uncased",
|
6 |
"distilbert-base-uncased",
|
7 |
"roberta-base",
|
8 |
"gpt2"
|
9 |
]
|
|
|
|
1 |
+
from transformers import AutoModelForSequenceClassification
|
2 |
|
3 |
def get_model_list():
|
4 |
+
# List of popular pre-trained models
|
5 |
+
models = [
|
6 |
"bert-base-uncased",
|
7 |
"distilbert-base-uncased",
|
8 |
"roberta-base",
|
9 |
"gpt2"
|
10 |
]
|
11 |
+
return models
|