Hugging Face 활용하기
Jacob H. Marquez
Lead Data Engineer
$$


$$
$$
$$
pipeline(task="text-classification")

[{'label': 'POSITIVE', 'score': 0.97}]

pipeline(task="summarization") 지정min_new_tokens, max_new_tokens로 조절
$$
$$
pypdf의 .pages, .extract_text()로 텍스트 추출$$
pipeline(task="question-answering") 지정
Hugging Face 활용하기