使用 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