Connor Shorten
Connor Shorten
  • 296
  • 2 790 519
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
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)
AI Weekly Update - February 7th, 2022
zhlédnutí 2,7KPřed 2 lety
AI Weekly Update - February 7th, 2022
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)
AI Weekly Update - January 31st, 2022
zhlédnutí 1,9KPřed 2 lety
AI Weekly Update - January 31st, 2022
AI Weekly Update - January 24th, 2022
zhlédnutí 2,5KPřed 2 lety
AI Weekly Update - January 24th, 2022
Deep Learning for Search - January 15th, 2022
zhlédnutí 2KPřed 2 lety
Deep Learning for Search - January 15th, 2022
Weaviate and Haystack
zhlédnutí 1,3KPřed 2 lety
Weaviate and Haystack
General Purpose Readers
zhlédnutí 908Před 2 lety
General Purpose Readers
Binary Passage Retrieval in Weaviate (32x Memory Savings)
zhlédnutí 847Před 2 lety
Binary Passage Retrieval in Weaviate (32x Memory Savings)
Keras Code Search with Weaviate
zhlédnutí 811Před 2 lety
Keras Code Search with Weaviate
Healthsea from Spacy on HuggingFace Spaces
zhlédnutí 965Před 2 lety
Healthsea from Spacy on HuggingFace Spaces
Open-Source Deep Learning
zhlédnutí 1,5KPřed 2 lety
Open-Source Deep Learning
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!

Komentáře

  • @Sharon-y3Sharon___e

    Scientific insights: the significance of refund information

  • @user-iv5mc6py8n
    @user-iv5mc6py8n Před 2 dny

    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.

  • @ishmeetkaur7438
    @ishmeetkaur7438 Před 3 dny

    Aha caught the Silicon valley reference: Hot dog...not hot dog!!! Great explanation btw! Thanks

  • @GREENRojo
    @GREENRojo Před 8 dny

    I've diversified our crypto holdings by adding $Gala and $LDO Both are representing 1.95% of the total portfolio.

  • @arvinddutt7197
    @arvinddutt7197 Před 10 dny

    There is exact same video with same words and dialogue by a different guy... I thought this will be different..

    • @connorshorten6311
      @connorshorten6311 Před 10 dny

      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.

  • @SolSay
    @SolSay Před 11 dny

    this guy looks like AI)

  • @manishsharma2211
    @manishsharma2211 Před 15 dny

    Great explanation connor. Loved it.

  • @normanmina5277
    @normanmina5277 Před 21 dnem

    I'm trying to find a tutorial on how to run wordcraft? Can you tell me how?

  • @xinc405
    @xinc405 Před 25 dny

    wish be helpful if you speak slower😂

  • @JatinderGrewals
    @JatinderGrewals Před 26 dny

    🎯 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

  • @MaxElander
    @MaxElander Před 29 dny

    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.

  • @B_knows_A_R_D-xh5lo
    @B_knows_A_R_D-xh5lo Před měsícem

    😊😊

  • @B_knows_A_R_D-xh5lo
    @B_knows_A_R_D-xh5lo Před měsícem

    😊😊

  • @colmmoore2409
    @colmmoore2409 Před měsícem

    Hey Connor, is there any place to learn Go based on what AlphaGo does? Can it teach?

  • @AJGLenio
    @AJGLenio Před měsícem

    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.

  • @edmald1978
    @edmald1978 Před měsícem

    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?

  • @fanchuankang1228
    @fanchuankang1228 Před měsícem

    Thank you. 😀

  • @rp77797
    @rp77797 Před měsícem

    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.

  • @Ujjayanroy
    @Ujjayanroy Před měsícem

    @3:46, how can low reach to high with search action?

  • @NarotamDhaliwal
    @NarotamDhaliwal Před měsícem

    🎯 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

  • @RichardHamnett
    @RichardHamnett Před měsícem

    The recipe is gone

    • @connorshorten6311
      @connorshorten6311 Před měsícem

      Hey Richard! Sorry we refactored recipes! The links are now fixed!

  • @B_knows_A_R_D-xh5lo
    @B_knows_A_R_D-xh5lo Před měsícem

    😊😊😊😊

  • @B_knows_A_R_D-xh5lo
    @B_knows_A_R_D-xh5lo Před měsícem

    😊😊😊😊😊

  • @B_knows_A_R_D-xh5lo
    @B_knows_A_R_D-xh5lo Před měsícem

    👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿😁😁👏🏿💯💯💯💯💯

  • @Meow-xm5kv
    @Meow-xm5kv Před měsícem

    short and sweet, gets to the point. marvelous video

  • @thirukarthikanadar615
    @thirukarthikanadar615 Před měsícem

    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🙂

  • @B_knows_A_R_D-xh5lo
    @B_knows_A_R_D-xh5lo Před měsícem

    😁😁😁😁😁😁 0:10 0:11 0:11 👀 0:13 0:13 0:13 👀👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿Educational

  • @ThaLiquidEdit
    @ThaLiquidEdit Před měsícem

    Is this notebook shared somewhere?

  • @B_knows_A_R_D-xh5lo
    @B_knows_A_R_D-xh5lo Před měsícem

    🎉🎉🎉🎉🎉🎉🎉🎉😊

  • @B_knows_A_R_D-xh5lo
    @B_knows_A_R_D-xh5lo Před měsícem

    😊😊😊😊😊🎉🎉🎉🎉

  • @ecardenas300
    @ecardenas300 Před 2 měsíci

    Back on it again

  • @explorer945
    @explorer945 Před 2 měsíci

    Do you laugh when you go in small tangents?

  • @B_knows_A_R_D-xh5lo
    @B_knows_A_R_D-xh5lo Před 2 měsíci

    lets gooo 🎉🎉🎉

  • @djbracken2987
    @djbracken2987 Před 2 měsíci

    Hey Connor, this is great content. Thanks for posting it.

  • @virtuous8
    @virtuous8 Před 2 měsíci

    zooming in and out is distracting

  • @charismaowojoameh7681
    @charismaowojoameh7681 Před 2 měsíci

    I tried the implementation but i keep getting the error "model not found"

  • @zhouyangbo4498
    @zhouyangbo4498 Před 2 měsíci

    great intro, and any GitHub repository for it verification?if so ,will be greatly appreciated.

  • @actorjohanmatsfredkarlsson2293

    Super interesting. But boy you move quickly through all this. It's really hard to follow at times.

  • @prashlovessamosa
    @prashlovessamosa Před 2 měsíci

    Thanks

  • @dianaayt
    @dianaayt Před 2 měsíci

    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

  • @tobkin
    @tobkin Před 2 měsíci

    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?

  • @respair1385
    @respair1385 Před 2 měsíci

    I always thought it was pronounced as D ES Pie. thanks for the deep dive btw!

  • @shawndeggans
    @shawndeggans Před 2 měsíci

    great presentation!

  • @robboerman9378
    @robboerman9378 Před 2 měsíci

    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.

  • @MrjbushM
    @MrjbushM Před 2 měsíci

    Thank you.

  • @NicolasAudioBooks
    @NicolasAudioBooks Před 2 měsíci

    i'm getting a headache by the zooming-in and then skipping across the page.

  • @lakshaysagarrana3965
    @lakshaysagarrana3965 Před 2 měsíci

    Connor be experimenting with video formats.

  • @stefanbuys1927
    @stefanbuys1927 Před 2 měsíci

    This is almost exactly the same video as the one by Qdrant. Weird.

    • @ecardenas300
      @ecardenas300 Před 2 měsíci

      Guess which one came out first... 🫣 It's super weird indeed

  • @PeterWilliams97
    @PeterWilliams97 Před 3 měsíci

    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'

    • @connorshorten6311
      @connorshorten6311 Před 3 měsíci

      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` ?

    • @connorshorten6311
      @connorshorten6311 Před 3 měsíci

      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.

    • @LyuboslavPetrov
      @LyuboslavPetrov Před 2 měsíci

      @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

  • @koljanos
    @koljanos Před 3 měsíci

    Hey, what version of Weaviate-client you are using????

    • @connorshorten6311
      @connorshorten6311 Před 3 měsíci

      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.

    • @koljanos
      @koljanos Před 3 měsíci

      Allright, will check the issues!