Open xxll88 opened 3 months ago
多槽位直接支持,多意图需要从 model.py 的BertMultiHeadJointClassification类重新继承,JointBert类无法直接支持。
BertMultiHeadJointClassification
JointBert
多槽位数据,可以这样吗: { "text": "如何购买虚机、存储和redis服务", "intent": "业务咨询", "slots": {"IaaS": ["虚机", "存储"],"PaaS": ["redis"]} }
可以的
多槽位直接支持,多意图需要从 model.py 的
BertMultiHeadJointClassification
类重新继承,JointBert
类无法直接支持。