Trending questions in Generative AI

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
545 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
456 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
441 views
0 votes
0 answers
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
441 views
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
437 views
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
391 views
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
465 views
0 votes
0 answers
0 votes
0 answers
0 votes
1 answer

How would you deal with data redundancy when generating diverse AI content for marketing campaigns in different industries?

Yes, handling data redundancy in AI-generated marketing ...READ MORE

Mar 26, 2025 in Generative AI by pinku
732 views
0 votes
1 answer

How would you ensure bias-free output when training a generative AI model for political content creation?

Yes, ensuring bias-free output in a generative ...READ MORE

Mar 26, 2025 in Generative AI by cr tech industries
730 views
0 votes
0 answers
0 votes
0 answers

How would you apply Bayesian optimization to optimize hyperparameters in generative models?

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

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

How would you set up a CI/CD pipeline for deploying an LLM model on AWS SageMaker?

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

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

Explain and demonstrate how to manage the replication strategy on TPUs with a multi-core setup.

Can you Explain and demonstrate how to ...READ MORE

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

Implement a function to measure the speedup gained by QLoRA quantization on a dataset with 1 million samples.

Can you Implement a function to measure ...READ MORE

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

How would you secure an LLM inference API using OAuth 2.0 and restrict access to authorized clients?

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

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

Write code to train a causal language model using masked language modeling (MLM) objectives.

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

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

Write a program to compare the performance of two foundation models on the GLUE benchmark.

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

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

Write a CUDA kernel to accelerate ray sampling for NeRF on the GPU.

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

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

How would you handle class conditional generation in a conditional GAN (CGAN) for creating targeted marketing materials?

Yes, class conditional generation in a Conditional ...READ MORE

Mar 26, 2025 in Generative AI by nitin rawat
681 views
0 votes
1 answer

adding attention mechanism to yolo algorithm

To add an attention mechanism to the ...READ MORE

Mar 17, 2025 in Generative AI by megha
1,167 views
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers
0 votes
1 answer
0 votes
1 answer

Write a function to detect and filter injection attacks in user prompts sent to an LLM.

Detect and filter injection attacks in LLM ...READ MORE

Mar 25, 2025 in Generative AI by somaya
783 views
0 votes
1 answer

How would you ensure non-repetitive AI content generation for advertisement copy while maintaining quality?

You can ensure non-repetitive AI-generated advertisement copy ...READ MORE

Mar 25, 2025 in Generative AI by riya jha
700 views
0 votes
1 answer

How would you ensure factual correctness while generating AI summaries of technical manuals for non-experts?

You can ensure factual correctness in AI-generated ...READ MORE

Mar 25, 2025 in Generative AI by sobha
710 views
0 votes
1 answer

How do matrix operations in the attention mechanism affect the performance and efficiency of a transformer model?

Matrix operations in the attention mechanism impact ...READ MORE

Mar 20, 2025 in Generative AI by gokul swami
832 views
0 votes
1 answer

The intuition behind attention mechanism in Optical Character Recognition

 In Optical Character Recognition (OCR), the attention ...READ MORE

Mar 21, 2025 in Generative AI by supriya
803 views
0 votes
0 answers
0 votes
1 answer

How can attention mechanisms improve the performance of an LSTM model for sequence-to-sequence tasks?

Attention mechanisms improve LSTM-based Seq2Seq models by ...READ MORE

Mar 24, 2025 in Generative AI by supriya
731 views
0 votes
1 answer

How would you address technical debt in maintaining AI models for generating creative content?

You can address technical debt in AI ...READ MORE

Mar 25, 2025 in Generative AI by rdhika
662 views
0 votes
0 answers
0 votes
1 answer

How do you apply graph convolutional networks (GCNs) in Generative models for graph-based data generation?

Apply Graph Convolutional Networks (GCNs) in generative ...READ MORE

Mar 25, 2025 in Generative AI by arun pandey
696 views