PTT-Chat-Generator
PTT-Chat-Generator copied to clipboard
請問這個專案有規定什麼版本的python才能執行嗎
這個專案是基於 python3。
最後輸出0.json 1.json 2.json 以此類推 json裡面沒有title 的key 和值 請問是以什麼方法找到和使用者輸入相識的標題
Justin Yang [email protected] 於 2019年7月18日 週四 19:49 寫道:
這個專案是基於 python3。
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zake7749/PTT-Chat-Generator/issues/4?email_source=notifications&email_token=AF6OEILR2WWTPOIUGDQUJ43QABKEJA5CNFSM4IEVWS7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2IHGCA#issuecomment-512783112, or mute the thread https://github.com/notifications/unsubscribe-auth/AF6OEINMMOKPGVWALXQE5RLQABKEJANCNFSM4IEVWS7A .
大神,上圖是你的chatbot/demo_qa.py的操作,下圖是你的PTT-Chat-Generator/chat.py的操作,為什麼兩邊的回复不一樣
json裡面沒有title 的key 和值 請問是以什麼方法找到和使用者輸入相識的標題
輸出的標題會放置於 SegTitles.txt
,比對方式預設為 BM25。
為什麼兩邊的回复不一樣
跟 threshold 的設置有關,如果在語料中找不到相似的標題,那會直接採用預設的回覆。