AI Tools & Technologies Flashcards
7 cards from real CAIC practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 AI Tools & Technologies flashcards as text
Which Hugging Face library provides pre-trained transformer models and tokenizers ready for fine-tuning or inference?
Answer: Transformers
The Hugging Face Transformers library provides thousands of pre-trained models and tokenizers for NLP, vision, and multimodal tasks.
A developer needs to run inference on a 70B parameter model with limited GPU memory. Which technique reduces memory usage by representing weights in fewer bits?
Answer: Quantization
Quantization reduces the precision of model weights (e.g., from 16-bit to 4-bit), dramatically cutting memory requirements with minimal accuracy loss.
What is the function of a 'system prompt' in chat-based LLM APIs like GPT-4?
Answer: It sets the model's behavior, persona, and constraints for the conversation
The system prompt in chat APIs provides initial instructions that define the model's role, tone, and rules for the entire conversation.
Which cloud AI service allows consultants to deploy, version, and monitor custom ML models without managing underlying infrastructure?
Answer: AWS SageMaker
AWS SageMaker is a fully managed MLOps platform for building, training, deploying, and monitoring machine learning models.
In the context of AI agents, what is the purpose of a 'tool' or 'function call' capability?
Answer: It enables the model to invoke external APIs or perform actions beyond text generation
Tool/function calling lets an LLM agent invoke external services, run code, or query databases, extending its capabilities beyond static text generation.
Which parameter in OpenAI's API controls diversity by restricting sampling to the top percentage of the probability mass?
Answer: top_p
The top_p (nucleus sampling) parameter restricts token sampling to the smallest set of tokens whose cumulative probability meets the threshold.
What is 'prompt injection' in the context of LLM security?
Answer: An attack where malicious input overrides or hijacks the model's original instructions
Prompt injection is a security vulnerability where attacker-controlled input manipulates the model into ignoring or overriding its original system instructions.