https://www.youtube.com/watch?v=tiZFewofSLM&list=PLo2EIpI_JMQvWfQndUesu0nPBAtZ9gP1o&index=2
from transformers import pipeline
classifier = pipeline("sentiment-analysis", "zero-shot-classification", "text-generation",)
classifier("Text"), candidate_labels=["A","B",C"] --> Softmax type.
The tokenization pipeline (0) | 2023.09.14 |
---|---|
What happens inside the pipeline function? (TensorFlow) (0) | 2023.09.13 |
What happens inside the pipeline function? (PyTorch) (0) | 2023.09.13 |
The Transformer architecture (0) | 2023.09.13 |
What is Transfer Learning (0) | 2023.09.13 |