ChatGPT has rapidly gained prominence as one of the most advanced conversational AI models, captivating users with its ability to generate human-like text across diverse topics. While the free version of ChatGPT has gained popularity, ChatGPT Plugins for students and institutions allow users to customize their experience, browse the web, and access specialized knowledge modules tailored to specific industries or interests.
ChatGPT plugins provide a platform for improving students’ educational experiences in colleges and institutions. These plugins can customize the chatbot’s responses to meet certain academic demands by incorporating specialized tools and resources. The capabilities of the main model are increased by plugins, which can be language translation services, subject-specific insights, or solving challenging math problems. Additionally, with varying learning preferences, they can facilitate new and improved methods of learning.
This article was published as a part of the Data Science Blogathon.
Generative AI has revolutionized the way we create, analyze, and interact digitally so that machines to produce novel outputs from given inputs. While ChatGPT has become a popular platform for its ability to generate coherent and contextually relevant responses, the integration of plugins allows for more specialized functionalities, seamless integration with other software, and a tailored user experience that caters to several industries, including educational institutions and students.
Some of the popular ChatGPT Plugins for students are:
Let’s take an in-depth look at the Diagrams Plugin and its usage. The Diagrams Plugin can be used to create visualization to represent complex ideas and processes. By leveraging its capabilities, students can draw digital diagrams by describing them.
For Example: A student of data science wants to visualize neural networks and create a diagram for them by describing their features and details.
Prompt: Describe a neural network with 5 hidden layers. Add all types of details to the diagram like random values of weights in each hidden layer, random values of bias in each hidden layer, multiple numbers of neurons in each layer, activation function, and other information. Use gpt4, do not use plugins.
Input Layer: This is where the data is fed into the network. The number of neurons
in this layer corresponds to the number of input features.
Hidden Layers (1 to 5): These layers are where the magic happens. Each neuron in a
hidden layer receives input from all the neurons of the previous layer, processes
it (using weights, bias, and an activation function), and sends its output to all
the neurons in the next layer.
Output Layer: This layer produces the final prediction or classification. The number
of neurons here typically corresponds to the number of classes or outputs.
Input Layer
| Neuron 1
| Neuron 2
| ...
| Neuron N
Hidden Layer 1
| Neuron 1 (Weight: 0.5, Bias: 0.3, Activation: ReLU)
| Neuron 2 (Weight: 0.7, Bias: 0.2, Activation: ReLU)
| ...
| Neuron M
Hidden Layer 2
| Neuron 1 (Weight: 0.6, Bias: 0.1, Activation: ReLU)
| Neuron 2 (Weight: 0.8, Bias: 0.4, Activation: ReLU)
| ...
| Neuron O
Hidden Layer 3
| Neuron 1 (Weight: 0.4, Bias: 0.5, Activation: ReLU)
| Neuron 2 (Weight: 0.9, Bias: 0.2, Activation: ReLU)
| ...
| Neuron P
Hidden Layer 4
| Neuron 1 (Weight: 0.3, Bias: 0.3, Activation: ReLU)
| Neuron 2 (Weight: 0.7, Bias: 0.6, Activation: ReLU)
| ...
| Neuron Q
Hidden Layer 5
| Neuron 1 (Weight: 0.5, Bias: 0.4, Activation: ReLU)
| Neuron 2 (Weight: 0.6, Bias: 0.7, Activation: ReLU)
| ...
| Neuron R
Output Layer
| Neuron 1 (Weight: 0.8, Bias: 0.5, Activation: Sigmoid)
| Neuron 2 (Weight: 0.9, Bias: 0.6, Activation: Sigmoid)
| ...
| Neuron S
Follow-up Prompt: Now use the diagrams plugin to create a neural network based on the above data.
Here is the neural network diagram with labeled weights and biases for each neuron:
In this diagram:
Each circle represents a neuron.The labels inside the neurons in the hidden
layers and output layer indicate the weights (W) and biases (B) for that neuron.
The connections (depicted in blue) represent the flow of data and the weights
between the neurons.
The diagram can be further changed or improved. The diagram can be created using specific raw GraphViz formats that can be tested on kroki.io. Using this format, the user can automate creating specific diagrams modify the values, and change the layout with pinpoint accuracy.
Let’s look at a simple example:
Follow-up Prompt: Paste the raw diagram source in the Graphviz format of the above diagram for kroki.io.
digraph G {
rankdir=LR;
node [shape=circle, style=filled, color=lightblue];
subgraph cluster_0 {
label="Input Layer";
I1;
I2;
I3 [label="..."];
I4;
}
subgraph cluster_1 {
label="Hidden Layer 1";
H11 [label="W: 0.5\nB: 0.3"];
H12 [label="W: 0.7\nB: 0.2"];
H13 [label="..."];
H14;
}
subgraph cluster_2 {
label="Hidden Layer 2";
H21 [label="W: 0.6\nB: 0.1"];
H22 [label="W: 0.8\nB: 0.4"];
H23 [label="..."];
H24;
}
subgraph cluster_3 {
label="Hidden Layer 3";
H31 [label="W: 0.4\nB: 0.5"];
H32 [label="W: 0.9\nB: 0.2"];
H33 [label="..."];
H34;
}
subgraph cluster_4 {
label="Hidden Layer 4";
H41 [label="W: 0.3\nB: 0.3"];
H42 [label="W: 0.7\nB: 0.6"];
H43 [label="..."];
H44;
}
subgraph cluster_5 {
label="Hidden Layer 5";
H51 [label="W: 0.5\nB: 0.4"];
H52 [label="W: 0.6\nB: 0.7"];
H53 [label="..."];
H54;
}
subgraph cluster_6 {
label="Output Layer";
O1 [label="W: 0.8\nB: 0.5"];
O2 [label="W: 0.9\nB: 0.6"];
O3 [label="..."];
O4;
}
{I1 I2 I3 I4} -> {H11 H12 H13 H14} [color=blue];
{H11 H12 H13 H14} -> {H21 H22 H23 H24} [color=blue];
{H21 H22 H23 H24} -> {H31 H32 H33 H34} [color=blue];
{H31 H32 H33 H34} -> {H41 H42 H43 H44} [color=blue];
{H41 H42 H43 H44} -> {H51 H52 H53 H54} [color=blue];
{H51 H52 H53 H54} -> {O1 O2 O3 O4} [color=blue];
}
When we paste this Graphviz image raw code into kroki.io we can see the diagram. Each of these parts of the diagram is flexible to change.
The Chat With PDF Plugin is useful for students to quickly summarize PDFs and note down the key ideas. For example, data science researchers can quickly summarize and jot down the keynotes from research papers. Below is an example of the same for a paper about ‘A Comprehensive Overview of Large Language Models‘.
Prompt: Summarize the following PDF about large language models: https://arxiv.org/pdf/2307.06435.pdf
Response from ChatGPT: The provided excerpts from the PDF seem to primarily consist of details about various large language models (LLMs) and their configurations, datasets, and references. Here’s a summarized overview based on the extracted content.
The document discusses various LLMs, including but not limited to:
The document also delves into the architectural modules used in various LLMs, emphasizing that minor changes in architecture and training strategies can have a significant impact on performance and stability. The paper discusses the effects of layer normalization, positional encoding, and parallel attention on the performance of LLMs.
The Wolfram plugin can be used by students to solve math, draw graphs, and much more using textual descriptions. Below is an example of a simple linear regression math problem solved using the Wolfram plugin:
Prompt: Using the Wolfram plugin, solve the following question:
Question: Linear Regression Analysis
A researcher is studying the relationship between the number of hours students study and their final exam scores. The data collected from a sample of 10 students is provided below:
Tasks:
Here are the results of the linear regression analysis for the given data:
Fit Diagnostics
Plot of the least-squares fit
Plot of the Residuals:
Using the equation y=5.02597x+45.1039, we can predict the exam score for a student who studied for 7 hours:
y=5.02597(7)+45.1039
Let’s calculate this prediction.
For a student who studied for 7 hours, the predicted exam score is approximately y≈80.29.
To summarize
The Advanced Data Analysis plugin (earlier Code Interpreter) can be used to upload CSVs, perform analysis on them, run certain ML models, and predict outputs. Here is an example:
The dataset Moonlanding.csv contains information on all attempts to land on the moon. Let’s ask the ChatGPT Data Analysis Plugin to perform EDA and show the results.
Prompt: This is a dataset about all moon landings. Do exploratory data analysis on it and show all the results.
# Try reading the dataset using a different encoding
moon_landing_data = pd.read_csv('/mnt/data/Moonlanding.csv', encoding='ISO-8859-1')
# Display the first few rows
moon_landing_data.head()
# Basic statistics and information about the dataset
# Summary statistics of numerical columns
summary_stats = moon_landing_data.describe()
# Data type and non-null count of each column
data_info = moon_landing_data.info()
unique_values = moon_landing_data.nunique()
summary_stats, unique_values
import matplotlib.pyplot as plt
import seaborn as sns
# Set up the figure and axis
plt.figure(figsize=(12, 6))
# Plotting the distribution of missions based on their outcomes
sns.countplot(data=moon_landing_data, y='Outcome',
order=moon_landing_data['Outcome'].value_counts().index, palette="viridis")
plt.title('Distribution of Missions Based on Their Outcomes')
plt.xlabel('Number of Missions')
plt.ylabel('Outcome')
plt.tight_layout()
plt.show()
The visualization provides insights into the distribution of moon missions based on their outcomes:
The visualization provides insights into the temporal distribution of moon missions:
The visualization provides insights into the distribution of moon missions based on their type:
# Top 5 most frequent carrier rockets
top_rockets = moon_landing_data['Carrier Rocket'].value_counts().head(5)
top_rockets
The top 5 most frequently used carrier rockets for moon missions are:
This information provides a glimpse into the popular rockets chosen for moon missions over the years. That concludes our initial exploratory data analysis on the moon landing dataset.
ChatGPT stands as a testament to the evolution of conversational AI, offering more than just simple dialogue. The integration of plugins, especially for students and universities, is a transformative approach to improving learning methods. From providing visual explanations with the Diagrams plugin to accessing academic papers, or even analytics and EDA with the Code Interpreter plugin, ChatGPT plugins find several use cases for students. Furthermore, these plugins can be seamlessly integrated like combining the Diagrams and Wolfram plugins for visualizing math problems, exemplifying the synergy and potential of these plugins.
A. While the free version of ChatGPT offers basic conversational AI capabilities, ChatGPT Plus boasts additional features, notably the integration of plugins. These plugins enhance user experience, offer customization, and provide access to specialized knowledge modules tailored to specific industries or interests.
A. ChatGPT plugins offer a transformative approach to learning. They can tailor the chatbot’s responses to specific academic needs, such as solving complex math problems, offering language translation, providing subject-specific insights, and more. This results in a more interactive and personalized study session, adapting to individual learning styles.
A. Yes, many ChatGPT plugins are integrated with various platforms. For instance, the Chat With PDF plugin allows users to query PDF files from the web, while the Wolfram plugin connects to Wolfram Alpha and the Wolfram Language for advanced computations.
A. The Diagrams plugin allows users to request visual explanations, process explanations, or modify existing diagrams. You can simply provide a description or details of what you’d like visualized, and ChatGPT, utilizing the plugin, can render various types of diagrams to assist with explanations.
A. The blog offers practical demonstrations and examples of how the plugins can be utilized. For instance, it showcases how the Diagrams plugin can be employed to visualize neural networks or how the Code Interpreter plugin can be harnessed for exploratory data analysis on a given dataset.
The media shown in this article is not owned by Analytics Vidhya and is used at the Author’s discretion.