Open yetfan opened 3 years ago
Hi, Fan Ye Sorry for late response. I will make a response soon. Regards,
S. K. Hong
On Sun, Oct 4, 2020 at 10:25 PM Fan Ye notifications@github.com wrote:
Hi, there,
A new version train,py based on pytorch cannot be run, maybe more files are needed (CRF_baseline.py CRF_united.py) and there is no model named "CRF" and the dataset.py also needs to be changed(unmatched parameters).
train.py train_dataset = DatasetPreprosessed(args.tagging_scheme, args.dataset_name, args.elmo_embedding_dim, args.elmo_dropout_rate, args.elmo_n_layers, CHAR_MAX_LENGTH, True if args.inp_config == "full" or args.inp_config == "w2v" else False, args.char_cnn, device=device, train=True) dataset.py class DatasetPreprosessed(Dataset): ... def init(self, tagging_scheme, dataset_name, model_type, embedding_dim, character_token_valid_max_length, train=True):
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kaist-dmlab/BioNER/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2BVAK4ZXNEU54ZGGO6Q6DSJBZVPANCNFSM4SDWPKFA .
Hi, there,
A new version train,py based on pytorch cannot be run, maybe more files are needed (CRF_baseline.py CRF_united.py) and there is no model named "CRF" and the dataset.py also needs to be changed(unmatched parameters).
train.py train_dataset = DatasetPreprosessed(args.tagging_scheme, args.dataset_name, args.elmo_embedding_dim, args.elmo_dropout_rate, args.elmo_n_layers, CHAR_MAX_LENGTH, True if args.inp_config == "full" or args.inp_config == "w2v" else False, args.char_cnn, device=device, train=True) dataset.py class DatasetPreprosessed(Dataset): ... def init(self, tagging_scheme, dataset_name, model_type, embedding_dim, character_token_valid_max_length, train=True):