'''
데이터 전처리
SNIPS 데이터셋 사용
'''
import numpy as np
import torch
import json

def snips_preprocess(root='./data'):
    intents = ['AddToPlaylist', 'BookRestaurant', 'GetWeather', 'PlayMusic', 'RateBook', 'SearchCreativeWork', 'SearchScreeningEvent']
    for intent in intents:
        slot_class = []
        
725229689bd37bd961921b974589edd9f3b0eea2
<mask token>

<mask token>


def snips_preprocess(root='./data'):
    intents = ['AddToPlaylist', 'BookRestaurant', 'GetWeather', 'PlayMusic',
        'RateBook', 'SearchCreativeWork', 'SearchScreeningEvent']
    for intent in intents:
        slot_class = []

<mask token>
import numpy as np
import torch
import json


def snips_preprocess(root='./data'):
    intents = ['AddToPlaylist', 'BookRestaurant', 'GetWeather', 'PlayMusic',
        'RateBook', 'SearchCreativeWork', 'SearchScreeningEvent']
    for intent in intents:
        slot_class = []

'''
데이터 전처리
SNIPS 데이터셋 사용
'''
import numpy as np
import torch
import json

def snips_preprocess(root='./data'):
    intents = ['AddToPlaylist', 'BookRestaurant', 'GetWeather', 'PlayMusic', 'RateBook', 'SearchCreativeWork', 'SearchScreeningEvent']
    for intent in intents:
        slot_class = []
        