-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
彌補srl的資訊漏失 #699
Comments
kanasimi
added a commit
to kanasimi/ltp
that referenced
this issue
Jun 1, 2024
kanasimi
added a commit
to kanasimi/ltp
that referenced
this issue
Jun 1, 2024
5 tasks
非常感谢 |
我們能否新增一個命令列參數,允許人們設定想要使用的模型? |
这样server需要换入换出吧,可以考虑再加一层? |
抱歉我不太理解您的意思。我現在只能採用重寫 server.py 的方式來達成此目的,因為現有 server.py 已經寫死模型了。 |
更新后的server是可以自定义模型的? |
我們可不可能採用argparse? |
当然可以 |
那我們就新增一個命令列參數,允許人們設定想要使用的模型了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
小弟最近在撰寫不知為何消失的ltp-server
發現從LTP 4.1.5.post2到現在版本的產出,有些資訊被漏掉了。
請將
https://github.com/HIT-SCIR/ltp/blob/17f689c4f0b23dfb04d76c1e16c6c2e8adacfcfd/python/interface/ltp/nerual.py#L212C32-L212C71
中
改成
以及
改成
例如當我們解析
這種方法很好用,那種方法很好用,哪種方法最好用?
這段話,會發現 srl中的 “好用” “很” 不曉得該用哪個。
加上index之後可方便確認到底是哪個 “好用” “很”。
The text was updated successfully, but these errors were encountered: