Question: Exploring the pre - trained Transformer Architecture a . Utilize the Enron 1 dataset to provide few - shot examples to the gpt - 3

Exploring the pre-trained Transformer Architecture
a. Utilize the Enron1 dataset to provide few-shot examples to the gpt-3.5-turbo' Large Language Model (LLM). Develop a prompt specifically designed for the model to classify input text as either legitimate ("Ham") or unwanted ("Spam"). Test is with 10 data (5 spam and 5 ham) and report the accuracy.
b. Compare and contrast the functionalities and applications of encoder-only models such as BERT, decoder-only models such as GPT-2, and encoder-decoder models such as T5, particularly considering their implementations accessible through the Hugging Face Transformers library?
c. How do these models differ in their architectures, training objectives, and typical use cases in natural language processing tasks?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!