Code Interpreter GPT-4: multiple files upload Adventure

Discover AI · Beginner ·🧠 Large Language Models ·2y ago

Key Takeaways

Using Code Interpreter GPT-4 for data correlation analysis with multiple CSV files

Full Transcript

hello Community gpd4 code interpreter I upload two CSV files and I ask hey can you analyze now both file and gpd4 comes back and says yes of course so let's display the content begin with the first CSV file and you see there is a problem parsing here the CSV file now ask me hey another topic another way to open this is yes source and I pretend to be a no coder so I do not look here at the python information that is provided here you know you see here in this white and green boxes when you click show work you would see the python code but I mean no code I'm just using this to get the information that normally I would use a database for so let's have a look and I say hey can you find a cross relation between both files and GPS work I'm certainly to perform a cross-relation we need to identify it shared keys or attribute so we need columns that have a unique identifier normally it's a numerical identifier so they look here at project ID no there was an error I apologize for the oversight let's correct this and gbt4 comes back and tries another way another problem okay and we can see here cross relation I need to split these columns at the semicolons to extract the relevant data points let's start by extracting the project ID or ID from both data frames and tells me hey it appears there are no shared entries between the two data sets I can provide a few sample entries for both data sets so let's inspect it manually and say okay let's go for it so look here it shows us identical numbers absolutely identical numbers but it is not able to understand that those numbers are identical and are the unique identifier that's okay I'll I clean the project ID columns by stripping any unwanted characters and then I recheck the overlap before comes back it's surprising that even after cleaning there still appears no overlap my goodness comes back and says hey should I try something else yes so gp4 says okay I'll start by tracking if this seemingly matching project IDs values from our sample truly exist in both data sets and the result is does not contain any of the samples and the second file also contains all three of the sample ID values okay okay I'll activities first as I'll re-examine here the project so so another time okay yes yes yes I checked now if there's an overlap and it is working tbd4 is syncing with all of its parts like unexpectedly even after corrected extraction of the ID values there still appears to be no other overlap between the two data set given this surprising result I'll display a sample of newly extracted project ID values the complexity of the data and the project CSV file is causing extraction challenges GPD 4S challenges given the complexities I'll take a different approach I'll display the first lines as raw text and this will allow us to manually identify the correct position and a pattern facilitating a more precise extraction process so gpd4 does not give up it's fighting it's fighting to find here away goes on 234 says I'm genuinely surprised even after the robust extraction process there still appears to be no overlap between the two data set gbd4 is surprised can you say that now I think that minimum 10 different approaches for me as a non-coder the gbd4 failed so I tell now gpd4 hey both files have a very special delimiter and it is not a column like in America but we here in Europe we use a semicolon delimiter and now this is the information that gpd4 needs I'll Repros pre-process both files using a semicolon as the delimiter this was it the difference between a colon and a semicolon made all the problems to D4 could not resolve imagine yes we successfully structured the data frames yes finally yes I have it now now that we have structured the data correctly I'll attempt to merge the data sets again when it comes back and says great I use this semicolon delimiter and we identified 5765 projects now that we have merged the data set what would you like how would you like to proceed and I'm now really shy and say hey can you perform a simple ex exploratory data analysis and have here some topic clusters that are in the title and in the project descriptions and 234 comes to access a certainly topic clustering or topic modeling can be performed by an LDA so we do the pre-processing we do the LDA training of the model and then we assign the most probable topic to each project there's how many projects how many clusters do you want 10 for example and I say well I'm generous start with 20 different topic clusters and here we go so we do the pre-process we do the cleaning here of our data set we do the tokenization we do the stop word removing a bag of words wow a bag of words is really something ancient and the Stone Age we did a bag of words but okay okay it's it's free I'm a non-coder I don't know anything of this so I have here an LDA model 20 topics display the top words for each topic let's begin with the pre-processing 24 comes back and says hey there's an issue with an ltk stop words because it cannot load them from the internet it does not have access to the internet so I create my own basic set of English stop words for the pre-processing step so let's continue with the tokenization and the vectorization process of all those title and all those project description yes the text has been successfully tokenized vectorized we have no representation of 20 000 unique terms across all the 5700 projects now let's proceed to train the LDA model with 20 topics and then display the top words for each topic and after 30 seconds tp4 comes back and says yes I have identified 20 topics look well each topic here you see the main the most important words would you like to take any other options or any other exploration from the data and I say yes create a vertical bar chart with labels and the number of project as the labels in this chart so gpd4 is working again and as a non-coder I have no idea what's going to happen I don't know nothing about matte plot lip or any plotly algorithm I have no idea and and yep uh here we have I mean it's it's a vertical I mean the the the the the bar is vertical but not the chart okay yeah never mind so here we have 20 clusters and on the x-axis you have to three dominant word and you have here the bars according to the number of projects in our 5765 projects not bad for a non-professional and non-coder is armed today I have here a very good overview of over 5000 projects not knowing anything about SQL not knowing anything about databases or python coding anything at all and I say hey I want the bar chart a vertical visualization and says Ah you want the horizontal bar chart so okay okay I'm not gonna fight with gbd4 about this I just want my bar charts yeah the the bars are horizontally Yuppie yeah we have it have a look at this this is exactly what I wanted the top three words for each of the 20 clusters I have now an idea how those 5700 projects are clustered and I say hey can you dive into one and only one of the cluster Quantum new system and divide it into 20 subclusters same method same visualization gb4 says of course here I go and yippee so it's filtering out the project only for this specific clusters thus again an LDA model and here for Quantum new system with 459 project we get now here all relevant sub clusters let's have a look if tpt4 is able to do this you know and non-coder today I have no idea I'm not looking at a python code what goes right what goes wrong I'm just using here the complete and overwhelming intelligence and here we are here are for the subcluster quantum new systems all detailed categories learning new systems control topological astrophysics data Learning Theory new flat gravity astrophysics again lightning project synthesis are k so 24 gives me okay and I say hey can you give me instead of three words give me the six top words per subcluster comes back and says sure top close to one stop cluster 2 Sub close to three okay and so on it just gives me five sub clusters here and I say hey find a perfect title for each subcluster and print a complete list of all 20 subcluster titles so it says okay so from those three words can he create a sentence what was I not precise enough to say Hey you have to go and look at the project description and then do here the analysis yeah and as you can see here now this perfect title has only three words so I was not precise enough instructing gpd4 what to do this is not a good idea so I have to reformulate my command for gpd4 okay let's do this so I say redo the complete project title analysis of all 459 projects and design valid and informative sentence for each of the 20 subclusters 24 says okay certainly so let's do the interpretation let's do the sentence grafting with write a coherent in descriptive sentence for each subcluster and here we are subcluster one investigate active processes and her mission system and explore the nuances of matter research the interaction between dust and DNA formation process in Learning System understanding new methodologies Dynamics and delving into Project Specific challenges it's not really informative and here we see that an LDA is not the right methodology what I would need a minimum I would need a bird system or a sentence birth system to do exactly this analysis but I can also search here in the whole 5000 projects for a specific topic like artificial intelligence and I say hey find old projects that are concerning artificial intelligence and cluster them in 10 topics and show me their distribution and of course here in the very first stages of code interpreter we only have an LDA model we do not have a sentence Bird model but we could ask for the python code but we are non-coder so we let the machine do all the work including here the python execution so it comes back I have identified 278 projects related to artificial intelligence great and now I proceed to Cluster these AI related projects into 10 cluster unfortunately only using the LDA model and then I visualize the distribution of projects among these clusters let's continue with the clustering process and tells me a there was an issue I'll investigate the issue and correct here so let's do it again I'm not gonna look what a python code says no I'm an encoder I yes okay I have to look at area just okay okay no we're not gonna look yeah this is it so AI projects per cluster cancer AI intelligence artificial intelligence welfare term polymerization cancer European technology research AI intelligence interesting research and let's see if we can dive into one subcluster here at AI artificial intelligence that's why I say hey dive into the topic AI artificial intelligence and show me relevant projects tbd4 comes back certainly I'll filter out a project that specifically match artificial intelligence in their titles or project description and after filtering I provide a list of the relevant projects for you I made another arrow gpd4 oh my goodness but here we come back and we have now oh it is not the title but it is the project objective so more or less the description okay now I just wanted a title so maybe I have not been precise enough to say objective is nice but I want the project title so I say hey give me the titles of these projects only not the project objectives yes okay here the title acronyms of the top 10 projects no that okay I get now the acronym no I don't want the acronym I said no not the acronyms I want their titles 254 comes back and says I apologize for the oversight so let's extract the actual project titles finished work yippee now we oh no I apologize for the confusion I mistakenly try to access a column name project title which does not exist to correct this I'll review the available columns again and retrieve the titles thank you for your patience now let's extract the titles of the AI related projects and here are now the titles of the top 10 ear related projects okay brain surgery medical imaging AI for medical imaging neurons yes data-driven integrated approaches chemical safety drug development interesting interesting what about this eight monitoring of earthquake nuclearization for false new urban areas so I tell Jimmy before hey how do you use here with earthquake nucleation for false new urban areas AI says okay gbd Force comes back and says I'll extract the details of the project real-time monitoring of earthquake nucleation for faults in urban areas I was like I apologize there's an error let me correct her array again it's working it's searching I apologize for the confusing I encountered an issue retrieving the project details why it's a CSV file it says CSV file and comes back okay I can come up with something no no this is not okay gpd4 that you come up with something that is related I want the official documentation so I say hey I want your official project description the official one not what you came up with and clunk we reached here the current usage cap for gpd4 Saved by the Bell gpd4 Saved by the Bell but I think this gives you a good idea how gpd4 analyzes with code interpreter two different files and what it is able but it is not able to do where I make a mistake not being precise enough I think those are fascinating topics to learn for your next encounter with gpd4 code interpreter

Original Description

The idea was simple: Use Code Interpreter GPT-4 to investigate data correlation between two different csv files. Pretend to be a NO-CODER, I did not look a the python code, only at the results provided by GPT-4 CI. It was a real adventure. If you want to know the current state of tech, watch this video! Smile. #gpt4 #codeinterpreter #ai
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Discover AI · Discover AI · 0 of 60

← Previous Next →
1 Step Into the Unknown (by YouChat) - May 2023 be your best year yet
Step Into the Unknown (by YouChat) - May 2023 be your best year yet
Discover AI
2 Wishing you all an amazing 2023 filled with Love, Laughter, and Happiness!
Wishing you all an amazing 2023 filled with Love, Laughter, and Happiness!
Discover AI
3 Create a Smarter Future!
Create a Smarter Future!
Discover AI
4 The Art of Text to Vector Transformation: A Comprehensive Look at AI and NLP Transformers
The Art of Text to Vector Transformation: A Comprehensive Look at AI and NLP Transformers
Discover AI
5 Feature Vectors: The Key to Unlocking the Power of BERT and SBERT Transformer Models
Feature Vectors: The Key to Unlocking the Power of BERT and SBERT Transformer Models
Discover AI
6 Domain-Specific AI Models: How to Create Customized BERT and SBERT Models for Your Business
Domain-Specific AI Models: How to Create Customized BERT and SBERT Models for Your Business
Discover AI
7 Achieve Unimaginable Levels of Domain Knowledge through SBERT Extreme in 3D   (SBERT 48)
Achieve Unimaginable Levels of Domain Knowledge through SBERT Extreme in 3D (SBERT 48)
Discover AI
8 Unlocking Scientific Domain Knowledge w/ BPE Tokenizer: An Amazing Journey!  (SBERT 49)
Unlocking Scientific Domain Knowledge w/ BPE Tokenizer: An Amazing Journey! (SBERT 49)
Discover AI
9 SBERT Extreme 3D: Train a BERT Tokenizer  on your (scientific) Domain Knowledge  (SBERT 50)
SBERT Extreme 3D: Train a BERT Tokenizer on your (scientific) Domain Knowledge (SBERT 50)
Discover AI
10 Discover Vision Transformer (ViT) Tech in 2023
Discover Vision Transformer (ViT) Tech in 2023
Discover AI
11 Pre-Train BERT from scratch: Solution for Company Domain Knowledge Data | PyTorch (SBERT 51)
Pre-Train BERT from scratch: Solution for Company Domain Knowledge Data | PyTorch (SBERT 51)
Discover AI
12 Flan-T5-XL model on a free COLAB | A free LLM - that explains itself w/ reasoning /write essay | AI
Flan-T5-XL model on a free COLAB | A free LLM - that explains itself w/ reasoning /write essay | AI
Discover AI
13 BERT and GPT in Language Models like ChatGPT or BLOOM |  EASY Tutorial on Large Language Models LLM
BERT and GPT in Language Models like ChatGPT or BLOOM | EASY Tutorial on Large Language Models LLM
Discover AI
14 Free Alternative to ChatGPT: Flan-T5-XL GUI (open-source)  #shorts
Free Alternative to ChatGPT: Flan-T5-XL GUI (open-source) #shorts
Discover AI
15 From T5 to T5X: A Game-Changing Evolution with JAX & FLAX
From T5 to T5X: A Game-Changing Evolution with JAX & FLAX
Discover AI
16 How to start with ChatGPT?  | Short Introduction to OpenAI API #shorts
How to start with ChatGPT? | Short Introduction to OpenAI API #shorts
Discover AI
17 The Future of Conversational AI? Google's PaLM w/ RLHF  | LLM ChatGPT Competitor
The Future of Conversational AI? Google's PaLM w/ RLHF | LLM ChatGPT Competitor
Discover AI
18 Microsoft and ChatGPU
Microsoft and ChatGPU
Discover AI
19 From Zero to FLAN-T5 XL Model GUI with Gradio: A Step-by-Step Guide on Free COLAB Notebook PyTorch
From Zero to FLAN-T5 XL Model GUI with Gradio: A Step-by-Step Guide on Free COLAB Notebook PyTorch
Discover AI
20 Google's 2nd Answer to "BING ChatGPT":  Sparrow | after BARD w/ LaMDA | 2nd Gen Conversational AI
Google's 2nd Answer to "BING ChatGPT": Sparrow | after BARD w/ LaMDA | 2nd Gen Conversational AI
Discover AI
21 TF2: Pre-Train BERT from scratch (a Transformer), fine-tune & run inference on text | KERAS NLP
TF2: Pre-Train BERT from scratch (a Transformer), fine-tune & run inference on text | KERAS NLP
Discover AI
22 3D Visualization for BERT: How to Pre-Train with a New Layer & Fine-Tune with Downstream Task Layer
3D Visualization for BERT: How to Pre-Train with a New Layer & Fine-Tune with Downstream Task Layer
Discover AI
23 FLAN-T5-XXL on NVIDIA A100 GPU w/ HF Inference Endpoints, let's explore 11b models!
FLAN-T5-XXL on NVIDIA A100 GPU w/ HF Inference Endpoints, let's explore 11b models!
Discover AI
24 ChatGPT - Can it Lie to you?
ChatGPT - Can it Lie to you?
Discover AI
25 ChatGPT Alternative: Perplexity by Perplexity.AI
ChatGPT Alternative: Perplexity by Perplexity.AI
Discover AI
26 2023 KerasNLP Tutorial: Explore Latest KERAS Toolbox & NLP Processing Library for BERT - TF2
2023 KerasNLP Tutorial: Explore Latest KERAS Toolbox & NLP Processing Library for BERT - TF2
Discover AI
27 Self-aware AI: You.com/chat vs Perplexity.ai | Live Demo, LLMs show Future of ChatGPT w/ BING
Self-aware AI: You.com/chat vs Perplexity.ai | Live Demo, LLMs show Future of ChatGPT w/ BING
Discover AI
28 BLOOM 176B Inference on AWS  | Bigger than GPT-3 for more Power!
BLOOM 176B Inference on AWS | Bigger than GPT-3 for more Power!
Discover AI
29 Fine-tune ChatGPT? Buy Embeddings /OpenAI? What are Embeddings?  My own ChatGPT? | Visual Q+A
Fine-tune ChatGPT? Buy Embeddings /OpenAI? What are Embeddings? My own ChatGPT? | Visual Q+A
Discover AI
30 Unleashing the Power of BLOOM 176B with AWS ml.p4de.24xlarge, DJL & DeepSpeed: The Ultimate Boost!
Unleashing the Power of BLOOM 176B with AWS ml.p4de.24xlarge, DJL & DeepSpeed: The Ultimate Boost!
Discover AI
31 After ChatGPT: NEW BioGPT by Microsoft | Do YOU trust Microsoft for your Medication?
After ChatGPT: NEW BioGPT by Microsoft | Do YOU trust Microsoft for your Medication?
Discover AI
32 Improve ChatGPT: Modular, Adaptive, Smart LLM | Inside ChatGPT
Improve ChatGPT: Modular, Adaptive, Smart LLM | Inside ChatGPT
Discover AI
33 Fine-tune ChatGPT w/  in-context learning ICL - Chain of Thought, AMA, reasoning & acting: ReAct
Fine-tune ChatGPT w/ in-context learning ICL - Chain of Thought, AMA, reasoning & acting: ReAct
Discover AI
34 The Intersection of Copyright Law and Human Faces: Exploring Virtual K-Pop with MAVE
The Intersection of Copyright Law and Human Faces: Exploring Virtual K-Pop with MAVE
Discover AI
35 New TECH: Vision Transformer 2023 on Image Classification | AI
New TECH: Vision Transformer 2023 on Image Classification | AI
Discover AI
36 PyTorch code Vision Transformer: Apply ViT models pre-trained and fine-tuned  | AI  Tech
PyTorch code Vision Transformer: Apply ViT models pre-trained and fine-tuned | AI Tech
Discover AI
37 New BING ChatGPT: Unlock the Power of Emotions in your Search Engine!
New BING ChatGPT: Unlock the Power of Emotions in your Search Engine!
Discover AI
38 New BING ChatGPT loses its mind
New BING ChatGPT loses its mind
Discover AI
39 Self-Attention Heads of last Layer of Vision Transformer (ViT) visualized (pre-trained with DINO)
Self-Attention Heads of last Layer of Vision Transformer (ViT) visualized (pre-trained with DINO)
Discover AI
40 Visualizing the Self-Attention Head of the Last Layer in DINO ViT: A Unique Perspective on Vision AI
Visualizing the Self-Attention Head of the Last Layer in DINO ViT: A Unique Perspective on Vision AI
Discover AI
41 Microsoft strongly restricts access to ChatGPT on new BING - WHY?
Microsoft strongly restricts access to ChatGPT on new BING - WHY?
Discover AI
42 PyTorch ViT: The Ultimate Guide to Fine-Tuning for Object Identification (COLAB)
PyTorch ViT: The Ultimate Guide to Fine-Tuning for Object Identification (COLAB)
Discover AI
43 New BING Chat AGGRESSIVE
New BING Chat AGGRESSIVE
Discover AI
44 Panoptic Image Segmentation: Mask2Former explained | Identify all objects!
Panoptic Image Segmentation: Mask2Former explained | Identify all objects!
Discover AI
45 Code Panoptic Image Segmentation w/ Vision Transformer & Mask2Former - A PyTorch tutorial
Code Panoptic Image Segmentation w/ Vision Transformer & Mask2Former - A PyTorch tutorial
Discover AI
46 Dream Job Alert: AI Prompt Engineer - $335K  |  AI Prompt Design: A Crash Course
Dream Job Alert: AI Prompt Engineer - $335K | AI Prompt Design: A Crash Course
Discover AI
47 Streamlining Similar Image Detection with ViT in PyTorch: A Step-by-Step Guide
Streamlining Similar Image Detection with ViT in PyTorch: A Step-by-Step Guide
Discover AI
48 Microsoft's CEO in Trouble   #shorts
Microsoft's CEO in Trouble #shorts
Discover AI
49 Why wait for KOSMOS-1? Code a VISION - LLM w/ ViT, Flan-T5 LLM and BLIP-2: Multimodal LLMs (MLLM)
Why wait for KOSMOS-1? Code a VISION - LLM w/ ViT, Flan-T5 LLM and BLIP-2: Multimodal LLMs (MLLM)
Discover AI
50 OpenAI's ChatGPT can NOW summarize external Sources on the Internet?
OpenAI's ChatGPT can NOW summarize external Sources on the Internet?
Discover AI
51 ChatGPT polarizes
ChatGPT polarizes
Discover AI
52 Hospital /Clinic AI Decision Models: Performance of 12 AI LLM Systems (incl $$) Radiology, Biomed
Hospital /Clinic AI Decision Models: Performance of 12 AI LLM Systems (incl $$) Radiology, Biomed
Discover AI
53 ChatGPT Prompt Engineering w/ in-context learning (ICL)  - 7 Examples | Tutorial
ChatGPT Prompt Engineering w/ in-context learning (ICL) - 7 Examples | Tutorial
Discover AI
54 Chat with your Image!  BLIP-2 connects Q-Former w/ VISION-LANGUAGE models (ViT & T5 LLM)
Chat with your Image! BLIP-2 connects Q-Former w/ VISION-LANGUAGE models (ViT & T5 LLM)
Discover AI
55 ChatGPT:  Multidimensional Prompts
ChatGPT: Multidimensional Prompts
Discover AI
56 ChatGPT:  In-context Retrieval-Augmented Learning (IC-RALM) | In-context Learning (ICL) Examples
ChatGPT: In-context Retrieval-Augmented Learning (IC-RALM) | In-context Learning (ICL) Examples
Discover AI
57 Code your BLIP-2 APP: VISION Transformer (ViT) + Chat LLM (Flan-T5) = MLLM
Code your BLIP-2 APP: VISION Transformer (ViT) + Chat LLM (Flan-T5) = MLLM
Discover AI
58 Buy Microsoft "Azure OpenAI Service" or buy from OpenAI its API for ChatGPT access & tuning?
Buy Microsoft "Azure OpenAI Service" or buy from OpenAI its API for ChatGPT access & tuning?
Discover AI
59 Pretraining vs Fine-tuning vs In-context Learning of LLM (GPT-x) EXPLAINED | Ultimate Guide ($)
Pretraining vs Fine-tuning vs In-context Learning of LLM (GPT-x) EXPLAINED | Ultimate Guide ($)
Discover AI
60 Reversible Transformer: ReFORMER for GPU Memory Optimization! Reversible Residual Layers?
Reversible Transformer: ReFORMER for GPU Memory Optimization! Reversible Residual Layers?
Discover AI

Related Reads

📰
Bonsai-27B & Ternary-Bonsai-27B - Updates (on PRs)
Learn about updates to Bonsai-27B and Ternary-Bonsai-27B models, including upstream status and runtime support
Reddit r/LocalLLaMA
📰
ggml-zendnn : add Q8_0 quantization support by z-sachin · Pull Request #23414 · ggml-org/llama.cpp
Learn about the addition of Q8_0 quantization support in ggml-zendnn for LLaMA.cpp and how it can improve model performance
Reddit r/LocalLLaMA
📰
Top AI Papers on Hugging Face - 2026-07-15
Explore the top AI papers on Hugging Face, focusing on agent longevity, robotics, and efficient model training methods
Dev.to AI
📰
Integrating Open-Weight LLMs as Drop-In API Replacements: A Practical Guide
Learn to integrate open-weight LLMs as drop-in API replacements for a vendor-locked-in free solution
Dev.to AI
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →