Trending questions in Generative AI

0 votes
1 answer

What is the recommended way to authenticate with the Vertex AI Generative AI API in Google Cloud Functions?

The recommended way to authenticate with the ...READ MORE

Mar 17, 2025 in Generative AI by thomos
2,389 views
0 votes
1 answer

How would you use LoRA (Low-Rank Adaptation) to fine-tune a large model with limited computational resources?

You can use LoRA (Low-Rank Adaptation) to ...READ MORE

Apr 2, 2025 in Generative AI by vineet
544 views
0 votes
1 answer

Demonstrate how to use LLamaIndex to retrieve financial reports stored in AWS S3.

You can use LlamaIndex with AWS S3 ...READ MORE

Apr 2, 2025 in Generative AI by nomaid
547 views
0 votes
0 answers

How would you implement TPU-accelerated matrix factorization for a recommendation system?

Can i know How would you implement ...READ MORE

Apr 3, 2025 in Generative AI by Ashutosh
• 33,370 points
522 views
0 votes
1 answer
0 votes
0 answers

How would you generate a meta-training set for One-Shot Learning using a custom dataset of rare animals?

Can i know How would you generate ...READ MORE

Apr 4, 2025 in Generative AI by Nidhi
• 16,260 points
473 views
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers

How can generative AI models be used to automate creative writing for fictional content generation?

Can i know How can generative AI ...READ MORE

Apr 4, 2025 in Generative AI by Ashutosh
• 33,370 points
453 views
0 votes
0 answers

How would you implement a hybrid retrieval-LLM pipeline for long-form document summarization?

Can you tell me How would you ...READ MORE

Apr 3, 2025 in Generative AI by Nidhi
• 16,260 points
496 views
0 votes
1 answer
0 votes
0 answers

Write a Python function to evaluate the accuracy of a One-Shot Learning model using a confusion matrix.

Can you Write a Python function to ...READ MORE

Apr 2, 2025 in Generative AI by Ashutosh
• 33,370 points
520 views
0 votes
0 answers
0 votes
0 answers

How can generative models help in data anonymization for privacy-preserving machine learning?

With the help of code can i ...READ MORE

Apr 4, 2025 in Generative AI by Ashutosh
• 33,370 points
437 views
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers

How would you address bias mitigation when training a text generation model on diverse datasets?

Can i know How would you address ...READ MORE

Apr 4, 2025 in Generative AI by Ashutosh
• 33,370 points
428 views
0 votes
0 answers

How would you implement memory-efficient techniques to reduce GPU load in training a generative model?

Can i know How would you implement ...READ MORE

Apr 3, 2025 in Generative AI by Nidhi
• 16,260 points
467 views
0 votes
0 answers

Write code to perform dynamic input batching for a TPU-based training pipeline.

Can you write code to perform dynamic ...READ MORE

Apr 2, 2025 in Generative AI by Nidhi
• 16,260 points
501 views
0 votes
0 answers
0 votes
0 answers

How would you create a TPU-optimized implementation of the softmax function?

Can i know How would you create ...READ MORE

Apr 2, 2025 in Generative AI by Nidhi
• 16,260 points
497 views
0 votes
0 answers
0 votes
0 answers

How would you implement distributed training on a TPU pod using TensorFlow's tf.distribute API?

Can i know How would you implement ...READ MORE

Apr 2, 2025 in Generative AI by Nidhi
• 16,260 points
491 views
0 votes
0 answers
0 votes
0 answers

Write a function to apply 4-bit quantization to a pre-trained model using bitsandbytes for QLoRA training.

Can you Write a function to apply ...READ MORE

Apr 2, 2025 in Generative AI by Ashutosh
• 33,370 points
481 views
0 votes
0 answers

How would you implement a Prototypical Network for One-Shot Learning on a multi-class dataset?

Can you tell me How would you ...READ MORE

Apr 2, 2025 in Generative AI by Ashutosh
• 33,370 points
476 views
0 votes
0 answers

Write a script to benchmark inference latency of a pretrained model running on a TPU.

Can you write a script to benchmark ...READ MORE

Apr 2, 2025 in Generative AI by Nidhi
• 16,260 points
472 views
0 votes
0 answers

Write a function to implement contrastive learning for improving embeddings in LLM tasks.

Can you Write a function to implement ...READ MORE

Apr 3, 2025 in Generative AI by Nidhi
• 16,260 points
436 views
0 votes
0 answers

Write a script to save and load a QLoRA-adapted model checkpoint for inference in Hugging Face.

Can you write a script to save ...READ MORE

Apr 2, 2025 in Generative AI by Ashutosh
• 33,370 points
466 views
0 votes
1 answer

__init__() got an unexpected keyword argument 'gpus'

This error typically happens when using PyTorch ...READ MORE

Mar 11, 2025 in Generative AI by nidhi
1,384 views
0 votes
0 answers
0 votes
0 answers

Explain with code how to use LLamaIndex's callback manager to log the details of each query execution.

With the help of proper code example ...READ MORE

Apr 1, 2025 in Generative AI by Ashutosh
• 33,370 points
510 views
0 votes
0 answers
0 votes
0 answers

How would you design a context-aware document search system using an LLM and a vector database?

Can i know How would you design ...READ MORE

Apr 4, 2025 in Generative AI by Nidhi
• 16,260 points
378 views
0 votes
0 answers
0 votes
0 answers

Write code to convert a TensorFlow SavedModel for efficient TPU inference.

Can i know how to write code ...READ MORE

Apr 2, 2025 in Generative AI by Nidhi
• 16,260 points
455 views
0 votes
0 answers

Implement a pipeline to generate embedding vectors for a new dataset using One-Shot Learning techniques.

Can you tell me Implement a pipeline ...READ MORE

Apr 2, 2025 in Generative AI by Ashutosh
• 33,370 points
460 views
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers

Write a script to scale the training of a foundation model using Horovod and mixed precision training.

Can i know Write a script to ...READ MORE

Apr 1, 2025 in Generative AI by Nidhi
• 16,260 points
502 views
0 votes
0 answers

Implement a retry mechanism for TPU jobs in case of preemptive termination on Google Cloud.

With the help of code, can you ...READ MORE

Apr 3, 2025 in Generative AI by Ashutosh
• 33,370 points
413 views
0 votes
0 answers
0 votes
0 answers

How would you reduce sampling variance when generating text from a generative language model?

Can i know How would you reduce ...READ MORE

Apr 3, 2025 in Generative AI by Nidhi
• 16,260 points
408 views
0 votes
0 answers
0 votes
0 answers

Demonstrate how to use tpu_strategy.scope() to manage variable creation on TPUs.

Can you demonstrate how to use tpu_strategy.scope() ...READ MORE

Apr 3, 2025 in Generative AI by Ashutosh
• 33,370 points
397 views
0 votes
0 answers

How would you address memory constraints while training large text generation models?

Can i know How would you address ...READ MORE

Apr 3, 2025 in Generative AI by Nidhi
• 16,260 points
392 views
0 votes
0 answers

Write a TPU-based implementation of a custom optimizer such as AdamW.

Can you explain and Write a TPU-based ...READ MORE

Apr 3, 2025 in Generative AI by Ashutosh
• 33,370 points
391 views
0 votes
0 answers
0 votes
0 answers

How would you implement a function to calculate the precision and recall of a One-Shot Learning classifier?

Can i know How would you implement ...READ MORE

Apr 2, 2025 in Generative AI by Ashutosh
• 33,370 points
421 views