Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ihatetmat authored May 28, 2024
1 parent 50bb35b commit 54efc48
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def pad_sequences(input_ids, maxlen) :
# 입력 데이터 변환
def convert_input_data(sentences):
sentences = ["[CLS] " + str(sentence) + " [SEP]" for sentence in sentences]
print(sentences)
# BERT의 토크나이저로 문장을 토큰으로 분리
tokenized_texts = [tokenizer.tokenize(sent) for sent in sentences]
# 입력 토큰의 최대 시퀀스 길이
Expand Down

0 comments on commit 54efc48

Please sign in to comment.