Working with Hugging Face
Jacob H. Marquez
Lead Data Engineer
$$


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

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

pipeline(task="summarization")min_new_tokens and max_new_tokens
$$
$$
.pages and .extract_text() from pypdf to extract text$$
pipeline(task="question-answering")
Working with Hugging Face