Skip to content

遇到问题,求助!!! #1153

@wszyk921

Description

@wszyk921

C:\Users\lenovo>bert-base-ner-train -data_dir D:\bishe\data_dir -output_dir D:\bishe\output_dir -init_checkpoint D:\chinese_L-12_H-768_A-12\bert_model.ckpt -bert_config_file D:\chinese_L-12_H-768_A-12\bert_config.json -vocab_file D:\chinese_L-12_H-768_A-12\vocab.txt
usage: D:\miniconda\Miniconda\envs\cner\Scripts\bert-base-ner-train -data_dir D:\bishe\data_dir -output_dir D:\bishe\output_dir -init_checkpoint D:\chinese_L-12_H-768_A-12\bert_model.ckpt -bert_config_file D:\chinese_L-12_H-768_A-12\bert_config.json -vocab_file D:\chinese_L-12_H-768_A-12\vocab.txt
ARG VALUE


      batch_size = 64
bert_config_file = D:\chinese_L-12_H-768_A-12\bert_config.json
            cell = lstm
           clean = True
            clip = 0.5
        data_dir = D:\bishe\data_dir
      device_map = 0
         do_eval = True
   do_lower_case = True
      do_predict = True
        do_train = True
    dropout_rate = 0.5
 filter_adam_var = False
 init_checkpoint = D:\chinese_L-12_H-768_A-12\bert_model.ckpt
      label_list = None
   learning_rate = 1e-05
       lstm_size = 128
  max_seq_length = 128
             ner = ner
      num_layers = 1
num_train_epochs = 10
      output_dir = D:\bishe\output_dir

save_checkpoints_steps = 500
save_summary_steps = 500
verbose = False
vocab_file = D:\chinese_L-12_H-768_A-12\vocab.txt
warmup_proportion = 0.1

shape of input_ids (64, 128)
2025-03-20 21:21:37.855341: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
shape of input_ids (?, 128)
processed 0 tokens with 0 phrases; found: 0 phrases; correct: 0.
这是啥问题呀,有大佬能看懂吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions