Canstralian commited on
Commit
6a1b091
·
verified ·
1 Parent(s): 6da5491

Update model_selector.py

Browse files
Files changed (1) hide show
  1. model_selector.py +4 -2
model_selector.py CHANGED
@@ -1,9 +1,11 @@
1
- from transformers import HUGGINGFACE_HUB_NAME, HUGGINGFACE_HUB_MODEL
2
 
3
  def get_model_list():
4
- return [
 
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