![Connor Shorten](/img/default-banner.jpg)
- 296
- 2 790 519
Connor Shorten
United States
Registrace 2. 02. 2019
Welcome to my CZcams channel!(formerly known as Henry AI Labs) I am very excited about Deep Learning and AI powered technology!
I am making paper summaries that I hope you will find useful for staying up to date with new papers, at least to give an overview if you don't have time to digest the full paper.
This channel includes topics such as Computer Vision, Natural Language Processing, Graph Embeddings, Generative Adversarial Networks, Reinforcement Learning, and more.
I also try to post coding videos occasionally and am working on developing a podcast!
Thanks for checking it out, please subscribe!
I am making paper summaries that I hope you will find useful for staying up to date with new papers, at least to give an overview if you don't have time to digest the full paper.
This channel includes topics such as Computer Vision, Natural Language Processing, Graph Embeddings, Generative Adversarial Networks, Reinforcement Learning, and more.
I also try to post coding videos occasionally and am working on developing a podcast!
Thanks for checking it out, please subscribe!
Google Gemini 1.5 Pro and Flash - Demo of Long Context LLMs!
Hey everyone! Thanks so much for watching this video exploring Gemini Pro 1.5 and Gemini Flash! Long Context LLMs!! This video covers 3 key tests, the classic "Lost in the Middle" exploration, using Long Context LLMs as Re-rankers in Search, and finally, testing Many-Shot In-Context Learning! I am really excited about the potential of Many-Shot In-Context Learning with DSPy's `BootstrapFewShot` and Gemini, curious to know what you think!
Notebook: github.com/weaviate/recipes/blob/main/integrations/llm-frameworks/dspy/llms/Gemini-1.5-Pro-and-Flash.ipynb
Gemini 1.5 Technical Report: storage.googleapis.com/deepmind-media/gemini/gemini_v1_5_report.pdf
Chapters
0:00 Gemini 1.5!!
1:25 Setup and Overview
4:30 Lost in the Middle test
7:18 Gemini for Re-ranking
9:22 Many-Shot In-Context Learning
Notebook: github.com/weaviate/recipes/blob/main/integrations/llm-frameworks/dspy/llms/Gemini-1.5-Pro-and-Flash.ipynb
Gemini 1.5 Technical Report: storage.googleapis.com/deepmind-media/gemini/gemini_v1_5_report.pdf
Chapters
0:00 Gemini 1.5!!
1:25 Setup and Overview
4:30 Lost in the Middle test
7:18 Gemini for Re-ranking
9:22 Many-Shot In-Context Learning
zhlédnutí: 1 985
Video
Llama 3 RAG Demo with DSPy Optimization, Ollama, and Weaviate!
zhlédnutí 15KPřed 3 měsíci
Hey everyone! Thank you so much for watching this overview of Llama 3 looking at the release notes and seeing a demo of how to integrate it with DSPy through Ollama and how to use DSPy's MIPRO to find the optimal prompt when using this new large language model for RAG! We are hosting an event in San Francisco on May 1st with Arize AI and Cohere, featuring a talk from Omar Khattab, the lead auth...
Building RAG with Command R+ from Cohere, DSPy, and Weaviate!
zhlédnutí 3,9KPřed 3 měsíci
Hey everyone! Thank you so much for watching this overview of Command R showing you how you can use the new model in DSPy and a quick RAG demo, as well as walking through the details of the release post! Congratulations to the Cohere team! Super exciting times to be working with LLM systems! Introducing Command R : A Scalable LLM Built for Business - txt.cohere.com/command-r-plus-microsoft-azur...
Structured Outputs with DSPy
zhlédnutí 6KPřed 3 měsíci
The code for this notebook can be found here! - github.com/weaviate/recipes/blob/main/integrations/llm-frameworks/dspy/4.Structured-Outputs-with-DSPy.ipynb Unfortunately, Large Language Models will not consistently follow the instructions that you give them. This is a massive problem when you are building AI systems that require a particular type of output from the previous step to feed into th...
Adding Depth to DSPy Programs
zhlédnutí 7KPřed 4 měsíci
Hey everyone! Thank you so much for watching the 3rd edition of the DSPy series, Adding Depth to DSPy Programs!! This video begins with some DSPy news such as STORM, DSPy Assertions, and Typed Signatures! We then dive into the concept of adding depth to DSPy programs, taking a further look at what it means to have unique input-output examples for each component and how we can compose DSPy progr...
Getting Started with RAG in DSPy!
zhlédnutí 13KPřed 5 měsíci
Hey everyone! Thank you so much for watching this tutorial on getting started with RAG programming in DSPy! This video will take you through 4 major aspects of building DSPy programs (1) Installation, settings, and Datasets with dspy.Example, (2) LLM Metrics, (3) The DSPy programming model, and (4) Optimization!! The notebook used in the video can be found here: github.com/weaviate/recipes/blob...
DSPy Explained!
zhlédnutí 54KPřed 5 měsíci
Hey everyone! Thank you so much for watching this explanation of DSPy! DSPy is a super exciting new framework for developing LLM programs! Pioneered by frameworks such as LangChain and LlamaIndex, we can build much more powerful systems by chaining together LLM calls! This means that the output of one call to an LLM is the input to the next, and so on. We can think of chains as programs, with e...
Approximate Nearest Neighbor Benchmarks - Weaviate Podcast Recap
zhlédnutí 922Před 2 lety
Please check out the full podcast here: czcams.com/video/kG3ji89AFyQ/video.html This video is a commentary on the latest Weaviate Podcast with Etienne Dilocker on ANN Benchmarks. ANN search short for Approximate Nearest Neighbors describes algorithms that enable efficient distance comparison between an encoded query vector and a vector database. For example, we may have 1 billion vectors to sea...
Search through Y Combinator startups with Weaviate!
zhlédnutí 1,5KPřed 2 lety
Please check out Eric Jang's article "Ranking YC Companies with a Neural Net": evjang.com/2022/04/02/yc-rank.html Please subscribe to SeMI Technologies on CZcams! czcams.com/users/SeMI-and-Weaviate Timecodes 0:00 Introduction 0:58 Weaviate Demo 3:40 Article Overview 10:45 NLP for Venture Capital and Data-Centric AI
MosaicML Composer for faster and cheaper Deep Learning!
zhlédnutí 3,6KPřed 2 lety
Please leave a star! github.com/mosaicml/composer Thank you so much for watching! This video presents some details of MosaicML's Composer launch and how to use it in Python. I am really excited about this company and their mission to deliver faster and cheaper Deep Learning training! I hope you find this video useful, happy to answer any questions you might have about this or these ideas in Eff...
Jina AI DocArray - Documentation Overview
zhlédnutí 2KPřed 2 lety
I hope you found this useful, please let me know if you have any questions or ideas! Docarray Documentation: docarray.jina.ai/ Full-Length Podcast: czcams.com/video/HIGAQAE_xaI/video.html Code Tutorial (Weaviate Jina AI for Image Search): czcams.com/video/rBKvoIGihnY/video.html Please check out Jina AI on CZcams: czcams.com/users/JinaAI Please check out SeMI Technologies on CZcams: czcams.com/u...
What lead Jina AI CEO Han Xiao to Neural Search?
zhlédnutí 841Před 2 lety
This video explains one of the biggest lessons for me in interviewing Han Xiao from Jina AI. I hope this was a good explanation of the preprocessing / granularity of embeddings and how that can enable different kinds of search applications. Full-Length Podcast: czcams.com/video/HIGAQAE_xaI/video.html Code Tutorial (Weaviate Jina AI for Image Search): czcams.com/video/rBKvoIGihnY/video.html Plea...
Full Stack Neural Search
zhlédnutí 1,8KPřed 2 lety
This video explains one of the biggest lessons for me in interviewing Han Xiao from Jina AI. I hope this was a good explanation of the preprocessing / granularity of embeddings and how that can enable different kinds of search applications. Full-Length Podcast: czcams.com/video/HIGAQAE_xaI/video.html Code Tutorial (Weaviate Jina AI for Image Search): czcams.com/video/rBKvoIGihnY/video.html Plea...
Python Tutorial: How to use Weaviate and Jina AI for Image Search!
zhlédnutí 2,2KPřed 2 lety
I hope this video helps you get started with Image Search using Weaviate and Jina AI - happy to answer any questions / help solve problems! Check out the full tutorial explanation from Laura Ham: czcams.com/video/rBKvoIGihnY/video.html New podcast with Jina AI CEO Han Xiao! czcams.com/video/HIGAQAE_xaI/video.html Full notebook code: github.com/laura-ham/HM-Fashion-image-neural-search/blob/main/...
Causal Inference in Deep Learning (Podcast Overview with Brady Neal)
zhlédnutí 2,3KPřed 2 lety
Hey everyone! Hopefully this video helps supplement the new Weaviate podcast with Brady Neal, I hope you find this interesting / useful! Check out Brady Neal on CZcams! czcams.com/users/BradyNealCausalInferencefeatured Weaviate Podcast: czcams.com/video/t7g9s1GWcB8/video.html 0:00 New Weaviate Podcast! 0:42 Brady Neal Causal Inference 1:34 Oogway.ai 2:45 Whiteboard Ideas 5:35 Discussion Topics
OpenAI Embeddings API - (Interview Recap and Background)
zhlédnutí 6KPřed 2 lety
OpenAI Embeddings API - (Interview Recap and Background)
Deep Learning for Podcast Content Search (Summary of Interview with Alex Canan at Zencastr)
zhlédnutí 754Před 2 lety
Deep Learning for Podcast Content Search (Summary of Interview with Alex Canan at Zencastr)
Deep Learning for Search - January 15th, 2022
zhlédnutí 2KPřed 2 lety
Deep Learning for Search - January 15th, 2022
Binary Passage Retrieval in Weaviate (32x Memory Savings)
zhlédnutí 847Před 2 lety
Binary Passage Retrieval in Weaviate (32x Memory Savings)
Healthsea from Spacy on HuggingFace Spaces
zhlédnutí 965Před 2 lety
Healthsea from Spacy on HuggingFace Spaces
Deep Learning in Context (Thoughts on OpenAI WebGPT and DeepMind Retro)
zhlédnutí 1,7KPřed 2 lety
Deep Learning in Context (Thoughts on OpenAI WebGPT and DeepMind Retro)
Wikipedia Vector Search Demo with Weaviate
zhlédnutí 6KPřed 2 lety
Wikipedia Vector Search Demo with Weaviate
Connor Shorten - Vector Podcast Interview!
zhlédnutí 312Před 2 lety
Connor Shorten - Vector Podcast Interview!
Scientific insights: the significance of refund information
Amazing guide! Was trying to format llama-3-8B for a while and this provides so much depth to help me understand how to go about it.
Aha caught the Silicon valley reference: Hot dog...not hot dog!!! Great explanation btw! Thanks
I've diversified our crypto holdings by adding $Gala and $LDO Both are representing 1.95% of the total portfolio.
There is exact same video with same words and dialogue by a different guy... I thought this will be different..
I suspect that the author of the other video did not want to cite my video in these quotes because the video is from Qdrant and I work at Weaviate. I am not personally irritated by this, but feel it is necessary to comment due to the nature of the implied accusation that I have copied the other video. I think the publication dates should be sufficient evidence of this.
this guy looks like AI)
Great explanation connor. Loved it.
I'm trying to find a tutorial on how to run wordcraft? Can you tell me how?
wish be helpful if you speak slower😂
🎯 Key points for quick navigation: 00:00 *🧠 DSPy combines a new syntax with optimization for better AI control.* 02:26 *🛠️ DSPy offers clean and structured input/output fields for consistent syntax in LLM programs.* 04:47 *🔄 In DSPy, you can define the forward pass of LLM programs with control flow elements like loops and conditionals.* 12:26 *📏 DSPy Assertions allow defining rules and suggestions for how LLM models should behave.* 14:03 *🚀 DSPy optimizes instructions and examples in LLM programs for better performance.* 16:19 *🔍 In DSPy, inductive biases and depth control are inspired by PyTorch for designing LLM programs.* 17:43 *🔑 DSPy allows optimizing intermediate steps of LLM programs by focusing on final output instead of each layer's supervision.* 19:35 *🛠️ DSPy Compiler automates data labeling and example generation to improve LLM program optimization.* 21:01 *🧠 New language models are being developed frequently, requiring programs to keep up for optimal performance.* 21:41 *🔄 DSP optimizes initial task descriptions into more detailed signatures to improve overall task performance.* 23:17 *📚 Using generative models allows for creating training data without large human-labeled datasets, changing the landscape of data collection.* 30:07 *📏 Metrics are essential in evaluating the quality of synthetic examples, with options like exact match and F1 score.* 33:33 *🧩 DPy programs involve multiple components optimizing LLMs for complex tasks, offering impressive overall system behavior.* 37:18 *📊 DPy facilitates setting up and configuring models using available datasets, demonstrating the paradigm shift towards minimal training examples.* 41:13 *🧠 Adding explanations and intermediate reasoning helps improve model performance.* 42:38 *📊 DSPy retrievers expect a list of strings as input for querying.* 43:07 *🏗️ Writing a RAG program involves initializing components, retrieving, generating answers, and adding reasoning to prompts.* 44:32 *💬 Running inference in DSPy involves passing input questions to the model.* 48:16 *🔄 Multi-hop search in DSPy involves looping through context, generating queries, retrieving passages, and deduplicating contexts.* 49:25 *⚙️ DSPy allows for supervision on intermediate hops in multi-hop search, providing depth to queries.* 51:28 *🎯 DSPy saves time by adding Chain of Thought prompting without needing to manually write out rationales.* Made with HARPA AI
All that zooming in and out is super distracting and nausea inducing. Please never do another video with that. Choose a zoom level and keep it throughout the video.
😊😊
😊😊
Hey Connor, is there any place to learn Go based on what AlphaGo does? Can it teach?
Very nice, thank you. Only the zooming and movement is kind of dizzyish and way to fast sometimes so I can't follow anything as you can't read or know where you are going. I think with the large pointer is enough to drive attention to it. Anyway, great vid and thanks again for the intro to DSPy.
What we can do to have bigger answers? I want it to generate code, but after executing it gives me 4 lines of code Someone have some idea?
Thank you. 😀
Dude you mentioned weviate twice and didn’t even mention what the retriever does. If you want to do promotion, dedicate a segment to it. It will come across more professional and sincere without confusing viewers.
@3:46, how can low reach to high with search action?
🎯 Key points for quick navigation: Exciting new framework Programming model optimization Graph computation programs 09:55 *Signature, dock string* 10:10 *Prompt optimization, syntax* 10:38 *Input, output fields* 10:52 *Control flow, loops* 11:20 *UAPI, web queries* 12:26 *DSPy Assertions, suggestions* 13:49 *Citation attribution suggestions* 14:16 *Optimization, instructions, examples* 14:59 *DpY as PyTorch* 16:31 *Inductive biases, depth* 17:43 *Intermediate supervision, DpY compiler* 19:22 *Testing with programs* 19:35 *Optimizing instructions and examples* 20:03 *Automatic data labeling* 20:46 *Ending manual prompts* 21:14 *Adapting to new models* 22:49 *Structured output with prompts* 25:33 *Fine-tuning neural networks* 26:26 *Using few-shot examples* 27:51 *Bootstrapping rationales* 28:19 *Evaluating synthetic examples* Overlapping keywords metrics LM judge prompt LM produce metric 37:58 *Deep learning paradigm shift* 38:41 *Data set formatting* 40:03 *Inspect intermediate outputs* 40:59 *Add Chain of Thought* 43:35 *Define optimization metric* 45:13 *Value of reasoning* 45:28 *Inspect parameters* 46:25 *Multi-hop search integration* Queries connected to final answer Introduction to multi-hop search Supervision on intermediate hops Made with HARPA AI
The recipe is gone
Hey Richard! Sorry we refactored recipes! The links are now fixed!
😊😊😊😊
😊😊😊😊😊
👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿😁😁👏🏿💯💯💯💯💯
short and sweet, gets to the point. marvelous video
Hi Connor, thanks for the awesome content. I have one small suggestion - Instead of covering maximum information, if it was topic by topic it would be more better. Example: In depth Information on 1 topic "Optimizers (formerly Teleprompters)". Thank you🙂
😁😁😁😁😁😁 0:10 0:11 0:11 👀 0:13 0:13 0:13 👀👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿Educational
Is this notebook shared somewhere?
🎉🎉🎉🎉🎉🎉🎉🎉😊
😊😊😊😊😊🎉🎉🎉🎉
Back on it again
Keeping up with the LLMs!
Do you laugh when you go in small tangents?
lets gooo 🎉🎉🎉
Haha, indeed! Thanks for watching!
Hey Connor, this is great content. Thanks for posting it.
Thanks so much DJ!
zooming in and out is distracting
I tried the implementation but i keep getting the error "model not found"
great intro, and any GitHub repository for it verification?if so ,will be greatly appreciated.
Super interesting. But boy you move quickly through all this. It's really hard to follow at times.
Thanks
What metrics should i keep an eye on to know what to change to get better and better results? I'm trying to create the fake images to use for data augmentation, and obviously I want them as realistic as possible, but I honestly don't know which parameters to change for it to get better. Plus, i have 10 classes and I dont know if i should just change the same for all of them or just see what works for each. But, again, i dont even know how to make it better for even one
Two questions: - Why use gpt-4 instead of gpt-4-turbo for the teleprompter? - What are you using to make your pointer act like that?
I always thought it was pronounced as D ES Pie. thanks for the deep dive btw!
great presentation!
Thanks for the great content. One of the things I am missing is how to save the optimized program so I can use it after that without constantly re-training.
Thank you.
i'm getting a headache by the zooming-in and then skipping across the page.
Connor be experimenting with video formats.
This is almost exactly the same video as the one by Qdrant. Weird.
Guess which one came out first... 🫣 It's super weird indeed
I ran your notebook and got the following error. print(RAG()("What is binary quantization?").answer) AttributeError Traceback (most recent call last) Cell In[7], line 1 ----> 1 print(RAG()("What is binary quantization?").answer) File ~/code/vector_search/weaviate/recipes/.wenv/lib/python3.11/site-packages/dspy/primitives/program.py:26, in Module.__call__(self, *args, **kwargs) 25 def __call__(self, *args, **kwargs): ---> 26 return self.forward(*args, **kwargs) Cell In[6], line 16 15 def forward(self, question): ---> 16 context = self.retrieve(question).passages 17 pred = self.generate_answer(context=context, question=question).answer 18 return dspy.Prediction(context=context, answer=pred, question=question) File ~/code/vector_search/weaviate/recipes/.wenv/lib/python3.11/site-packages/dspy/retrieve/retrieve.py:30, in Retrieve.__call__(self, *args, **kwargs) 29 def __call__(self, *args, **kwargs): ---> 30 return self.forward(*args, **kwargs) File ~/code/vector_search/weaviate/recipes/.wenv/lib/python3.11/site-packages/dspy/retrieve/retrieve.py:39, in Retrieve.forward(self, query_or_queries, k) 36 # print(queries) 37 # TODO: Consider removing any quote-like markers that surround the query too. 38 k = k if k is not None else self.k ---> 39 passages = dsp.retrieveEnsemble(queries, k=k) 40 return Prediction(passages=passages) ... 79 .do() 81 results = results["data"]["Get"][self._weaviate_collection_name] 82 parsed_results = [result[self._weaviate_collection_text_key] for result in results] AttributeError: 'WeaviateClient' object has no attribute 'query'
Hey Peter! Apologies we have upgraded the WeaviateRM to use the Weaviate v4 client, can you please try upgrading dspy with `!pip install dspy-ai --upgrade` ?
Can you please share any error messages as an Issue on Weaviate recipes? It might be easier to help debug there instead of CZcams comments.
@connorshorten6311 Please do update the video with accurate setup instructions. I have been fighting to get this running (DSPY + Weaviate + OLLAMA) for the past 2-3 hours to no avail. Tried multiple weaviate-client/server combinations, ran trough docker and standalone, configured, updated/downgraded dspy-ai. Went through so many help pages, cannot count now. I am tired, but still would like to play with this set of technologies. Thanks
Hey, what version of Weaviate-client you are using????
Hey! I am using v4 and the latest version of dspy-ai, can you please share any error messages as an Issue on Weaviate recipes? It might be easier to help debug there instead of CZcams comments.
Allright, will check the issues!