mirror of
https://github.com/hexastack/hexabot
synced 2024-12-28 23:02:03 +00:00
Update nlu/models/slot_filler.py
This commit is contained in:
parent
d7f69ff2be
commit
5a522b14cc
@ -202,10 +202,6 @@ class SlotFiller(tfbp.Model):
|
||||
token = tokens[idx]
|
||||
slot_id = slot_ids[idx]
|
||||
|
||||
# Skip special tokens
|
||||
if token in special_tokens:
|
||||
idx += 1
|
||||
continue
|
||||
|
||||
# Get slot name
|
||||
slot_name = self.extra_params["slot_names"][slot_id]
|
||||
|
Loading…
Reference in New Issue
Block a user