Python/AI Flashcards
1
Q
pytorch
A
- it’s a machie learning library
- It offers dynamic computational graphs
2
Q
RAG
A
Retrieval-Augmented Generation
Here’s how RAG works to generate text based on a prompt:
- Retrieval (R): The system searches for relevant information from external sources like databases or the web.
- Augmentation (A): The retrieved information is passed to the generative model as context.
- Generation (G): The model uses both the prompt and the retrieved context to generate a final, accurate response.
This combines retrieval and generation seamlessly!