"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "73368963b200f2d70d2267bd49a3fa794850b3ff"
Commit d429c15f authored by Grégory Châtel's avatar Grégory Châtel
Browse files

Removing old code from copy-paste.

parent 4fa7892d
...@@ -379,14 +379,6 @@ def main(): ...@@ -379,14 +379,6 @@ def main():
raise ValueError("Output directory ({}) already exists and is not empty.".format(args.output_dir)) raise ValueError("Output directory ({}) already exists and is not empty.".format(args.output_dir))
os.makedirs(args.output_dir, exist_ok=True) os.makedirs(args.output_dir, exist_ok=True)
# task_name = args.task_name.lower()
# if task_name not in processors:
# raise ValueError("Task not found: %s" % (task_name))
# processor = processors[task_name]()
# label_list = processor.get_labels()
tokenizer = BertTokenizer.from_pretrained(args.bert_model, do_lower_case=args.do_lower_case) tokenizer = BertTokenizer.from_pretrained(args.bert_model, do_lower_case=args.do_lower_case)
train_examples = None train_examples = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment