Movie Review 12 th Fail Hindi

After a long time I have felt like writing a movie review for the Hindi movie 12 th Fail

It is an astounding take of a poor village boy who crosses all hurdles cleans toilets sweeps libraries and basically hangs in there to clear one of the most difficult exams in the world the UPSC Or Indian Civil Services. It is even more incredible because it is based on a true story. With great acting and direction it is definitely a watch. See it on Disney Hotstar

Generative AI Studio

  • Zero-shot prompting – This is a method where the LLM is given no additional data on the specific task that it is being asked to perform. Instead, it is only given a prompt that describes the task. For example, if you want the LLM to answer a question, you just prompt “what is prompt design?”.
  • One-shot prompting – This is a method where the LLM is given a single example of the task that it is being asked to perform. For example, if you want the LLM to write a poem, you might give it a single example poem.
  • Few-shot prompting – This is a method where the LLM is given a small number of examples of the task that it is being asked to perform. For example, if you want the LLM to write a news article, you might give it a few news articles to read.

What are the key features of Generative AI Studio Language?

  • Design a prompt
  • Create a conversation
  • Turn a model

In the world of Generative AI, a prompt is just a fancy name for the input text that you feed to your model. You can feed your desired input text like questions and instructions to the model. The model will then provide a response based on how you structured your prompt, therefore, the answers you get depend on the questions you ask.

The process of figuring out and designing the best input text to get the desired response back from the model is called Prompt Design, which often involves a lot of experimentation. 

What are the mode parameters that you can tune in Generative AI Studio Language to improve the response that fits your requirement?

  • Model type
  • Temperate 
  • Top K
  • Top P
  • FREE-FORM – This mode provides a free and easy approach to design your prompt. It is suitable for small and experimental prompts with no additional examples. You will be using this to explore zero-shot prompting.
  • STRUCTURED – This mode provides an easy-to-use template approach to prompt design. Context and multiple examples can be added to the prompt in this mode. This is especially useful for one-shot and few-shot prompting methods which you will be exploring later.

Temperature is a number used to tune the degree of randomness. Low temperature means choosing the most likely and predictable words. For example, flowers in the sentence the garden is full of beautiful__. High temperature means to choose the words that have low possibility and are more unusual. For example, bugs in the sentence the garden is full of beautiful__. 

You need to specify the tuning parameters, the tuning dataset, and the tuning objective.

What are the best practices of prompt design?

  • Be concise
  • Be specific and well-defined
  • Ask one task at a time
  • Turn generative tasks into classification tasks
  • Improve response quality by including examples

Which of the following is a type of prompt that allows a large language model to perform a task with only a few examples?

Few-shot prompt

2.What is NOT a capability that Generative AI Studio offers?

Generate forecasts based on past sales.

3.What is Generative AI Studio?

A tool that helps you use Generative AI capabilities in your application.

4.What is a prompt?

A prompt is a short piece of text that is used to guide a large language model to generate content

5.How does generative AI generate new content?

It learns from a massive amount of existing content.

6.Which of the following is the best way to generate more creative or unexpected content by adjusting the model parameters in Generative AI Studio?

Setting the temperature to a high value

Image Captioning

What is the name of the model that is used to generate text captions for images?

Encoder-decoder model

What is the purpose of the decoder in an encoder-decoder model?

To generate output data from the information extracted by the encoder

What is the purpose of the attention mechanism in an encoder-decoder model?
To allow the decoder to focus on specific parts of the image when generating text captions.

What is the name of the dataset the video uses to train the encoder-decoder model?

COCO dataset

What is the goal of the image captioning task?

To generate text captions for images

What is the purpose of the encoder in an encoder-decoder model?

To extract information from the image.

Transformer and BERT

What are the three different embeddings that are generated from an input sentence in a Transformer model?

Token, segment, and position embeddings

2.What kind of transformer model is BERT?

Encoder-only model

3.What is the name of the language modeling technique that is used in Bidirectional Encoder Representations from Transformers (BERT)?

Transformer

4.What does fine-tuning a BERT model mean?

Training the model and updating the pre-trained weights on a specific task by using labeled data

5.What are the encoder and decoder components of a transformer model?

The encoder ingests an input sequence and produces a sequence of hidden states. The decoder takes in the hidden states from the encoder and produces an output sequence.

6.What are the two sublayers of each encoder in a Transformer model?

Self-attention and feedforward

7.What is the attention mechanism?

A way of determining the importance of each word in a sentence for the translation of another sentence

8.What is a transformer model?

A deep learning model that uses self-attention to learn relationships between different parts of a sequence.

Attention Mechanism

What is the name of the machine learning technique that allows a neural network to focus on specific parts of an input sequence?check

Attention mechanism

How does an attention model differ from a traditional model?

Attention models pass a lot more information to the decoder.

What is the name of the machine learning architecture that can be used to translate text from one language to another?check

Encoder-decoder

What is the advantage of using the attention mechanism over a traditional recurrent neural network (RNN) encoder-decoder?

The attention mechanism lets the decoder focus on specific parts of the input sequence, which can improve the accuracy of the translation.

What is the advantage of using the attention mechanism over a traditional sequence-to-sequence model?

The attention mechanism lets the model focus on specific parts of the input sequence.

What is the purpose of the attention weights?check

To assign weights to different parts of the input sequence, with the most important parts receiving the highest weights.

What are the two main steps of the attention mechanism?

Calculating the attention weights and generating the context vector