Jelajahi Sumber

adjust annotated parameter

cdZWj 6 bulan lalu
induk
melakukan
33e8faa99e
2 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 1 1
      PointerNet/config.py
  2. 1 0
      requirements.txt

+ 1 - 1
PointerNet/config.py

@@ -27,7 +27,7 @@ class NerArgs:
     # train_batch_size = 1
     # eval_batch_size = 1
     # eval_step = 1000
-    # max_seq_len = 240    # 100个句子:220;90个句子:228-245,选240
+    max_seq_len = 240    # 100个句子:220;90个句子:228-245,选240
     # # max_encoder_sent_len = 100
     # max_input_sent_num = 90
     # weight_decay = 0.01

+ 1 - 0
requirements.txt

@@ -5,3 +5,4 @@ gevent==24.2.1
 flask==3.0.3
 flask_cors==4.0.1
 beautifulsoup4==4.12.3
+lxml==5.2.2