Domain 3: Application of Foundation Models 28% Flashcards
What does finding the balance between training time, cost, and model performance yield?
An efficient scalable solution that does not reduce model performance.
Cost, latency constraints, and required modalities
considerations for apps that use FMs
Understanding the requirements for your use case in terms of _____ is important when deciding on AI model.
inference speed
Cost
find the balance between training time, cost, and model performance
Latency
Consider real-time results requirements, inference times
_____ is the duration it takes a model to process data and produce a prediction.
Inference speed
Modalities
specific embedding, multi-model, multilingual, pre-trained (architecture/complexity)
Accuracy, precision, recall, F1 score, root mean squared error or RMSE, mean average precision or MAP, and mean absolute error, MAE.
standard metrics to evaluate and compare different models
It’s important when you are choosing an appropriate metric or set of metrics to _____ before selecting a model.
assess your model’s performance
Framework, language, environment, license, documentation, whether the model has been updated and maintained regularly, known issues or limitations, customization, and explainability.
Compatibilities should you consider when using a pre-trained model online
flexible, modular, transparent, provide tools or methods to visualize or interpret their inner workings, interpret and explain model outcomes
What to look for when considering a pre-trained model
T/F: Foundation models are not interpretable by design because they are extremely complex.
True
_____ attempts to explain the black box nature of FMs, by approximating it locally with a simpler model that is interpretable.
Explainability
T/F: If interpretability is a requirement, then pre-trained foundation models might not be the best choice.
True
T/F: Linear regression and decision trees might be better when it comes to explainability.
True
The complexity of a model is important and can help you uncover intricate patterns within the data, but it can add challenges to _____ and _____.
maintenance and interpretability
T/F: Greater complexity might lead to enhanced performance, but can increase costs.
True
T/F: The more complicated the model is, the harder it is to explain the outputs of the model.
True
The _____ is where you process new data through the model to make predictions. It is the process of generating an output from an input that you provided to model.
inference
_____ gives you the ability to run inference in the foundation model you choose.
Amazon Bedrock
A _____, which is an input, is provided to the model for it to generate a response.
prompt
_____ are a set of values that can be adjusted to limit or influence the model response.
inference parameters
What kind of models can you run inference with?
base, custom, and provision to test FM responses
Amazon Bedrock foundation models support the inference parameters of _____ to control randomness and diversity in the response.
temperature, Top K, Top P