fix: uncase input text for training dataset

This commit is contained in:
hexastack 2024-11-28 20:18:42 +01:00
parent 476dc510ea
commit d39bd145b6

View File

@ -109,7 +109,7 @@ class JISFDL(tfbp.DataLoader):
# Parse raw data # Parse raw data
for exp in examples: for exp in examples:
text = exp["text"] text = exp["text"].lower()
intent = exp["intent"] intent = exp["intent"]
entities = exp["entities"] entities = exp["entities"]