AI Summer (@theaisummer) header
AI Summer (@theaisummer) profile picture

๐Ÿค– The blog to help you learn Deep Learning | ๐Ÿ“˜ Introduction to Deep Learning & Neural Networks course (https://nitter.gq/t.co/dBiIiMHG7W)

๐ŸŒ
Joined May 2020
Photo by AI Summer (@theaisummer)Photo by AI Summer (@theaisummer)Photo by AI Summer (@theaisummer)Photo by AI Summer (@theaisummer)Photo by AI Summer (@theaisummer)Photo by AI Summer (@theaisummer)Photo by AI Summer (@theaisummer)Photo by AI Summer (@theaisummer)Photo by AI Summer (@theaisummer)Photo by AI Summer (@theaisummer)
My @StanfordHAI colleagues and I predict #AI trends in 2025 hai.stanford.edu/news/predicโ€ฆ My take: we will see a lot more multi-agent AI teams, instead of individual models, for tackling complex problems like those in science.
5
49
1
149
14,319
AI Summer retweeted
Neural Radiance Fields (NeRF) explained in simple terms from the ground up Link : theaisummer.com/nerf/ Thx @theaisummer !
1
4
318
๐Ÿš€ [New Article] ๐Ÿš€ : An overview of classifier-free guidance for diffusion models This new blog post by @nadaloglou and Tim Kaiser presents an overview of classifier-free guidance (CFG) for diffusion models and recent advancements in CFG. theaisummer.com/classifier-fโ€ฆ
3
4
785
๐—Ÿ๐—ฎ๐—ฟ๐—ด๐—ฒ ๐—Ÿ๐—ฎ๐—ป๐—ด๐˜‚๐—ฎ๐—ด๐—ฒ ๐— ๐—ผ๐—ฑ๐—ฒ๐—น ๐—ข๐—ฝ๐—ฒ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐˜€ (๐—Ÿ๐—Ÿ๐— ๐—ข๐—ฝ๐˜€) ๐—ฆ๐—ฝ๐—ฒ๐—ฐ๐—ถ๐—ฎ๐—น๐—ถ๐˜‡๐—ฎ๐˜๐—ถ๐—ผ๐—ป A new LLMOps course just finalised by Duke University. It covers deployment, management, and optimization of large language models across various platforms such as Azure, AWS, Databricks and local infrastructure. 1. Introduction to Generative AI: coursera.org/learn/intro-genโ€ฆ 2. Operationalizing LLMs on Azure: coursera.org/specializationsโ€ฆ 3. Advanced Data Engineering: coursera.org/learn/advanced-โ€ฆ 4. GenAI and LLMs on AWS: coursera.org/learn/genai-llmโ€ฆ 5. Databricks to Local LLMs: coursera.org/learn/databrickโ€ฆ 6. Open Source LLMOps Solutions: coursera.org/learn/open-sourโ€ฆ
6
1
25
2,650
Replying to @StabilityAI
@StabilityAI introduces Stable Cascade, a new text to image model building upon the Wรผrstchen architecture. Wรผrstchen is a large scale text-to-image diffusion model that showcases competitive performance with very good cost-effectiveness Wรผrstchen paper: openreview.net/forum?id=gU58โ€ฆ Blog: stability.ai/news/introducinโ€ฆ
1
7
429
Let's analyse SORA's technical report: Sora is a text-conditional diffusion model trained jointly on videos and images. A transformer architecture is used to encode videos and images into a latent space. ๐Ÿงต๐Ÿ‘‡
1
1
5
1,307
๐—ช๐—ต๐—ฎ๐˜ ๐—Ÿ๐—Ÿ๐— ๐—ข๐—ฝ๐˜€ ๐—ถ๐˜€ ๐—ฎ๐—น๐—น ๐—ฎ๐—ฏ๐—ผ๐˜‚๐˜? ๐Ÿค– ๐Ÿ’ป LLMOps is all about the techniques and tools used for the operational management of large language models in production environments. A typical LLMOPs flow is like this:
1
1
5
541
Contextual sparsity: Take an LLM and make it sparse at inference time. In this video, we explain how the DEJAVU method implements contextual sparsity. ๐Ÿ‘‡ ๐Ÿ“บ youtu.be/DUkWMoi5nG4 Dejavu was presented by Zichang Liu, Jue Wang, @tri_dao and colleagues. ๐Ÿ‘ arxiv.org/abs/2310.17157
1
6
33
2,494
Hugging Face just open-sourced two libraries ๐ŸŽ‰ 1. datatrove: process, filter and deduplicate text data at a very large scale. github.com/huggingface/datatโ€ฆ 2. nanotron: easy distributed primitives in order to train models efficiently using 3D parallelism github.com/huggingface/nanotโ€ฆ
2
3
511
๐๐ซ๐ข๐ง๐œ๐ข๐ฉ๐ฅ๐ž๐ ๐ˆ๐ง๐ฌ๐ญ๐ซ๐ฎ๐œ๐ญ๐ข๐จ๐ง๐ฌ ๐€๐ซ๐ž ๐€๐ฅ๐ฅ ๐˜๐จ๐ฎ ๐๐ž๐ž๐ ๐Ÿ๐จ๐ซ ๐๐ฎ๐ž๐ฌ๐ญ๐ข๐จ๐ง๐ข๐ง๐  ๐‹๐‹๐Œ๐ฌ 26 principles for querying and prompting large language models. ย The principles were tested on LLaMA-1/2 and GPT-3.5/4. Paper: arxiv.org/abs/2312.16171v1
3
1
11
1,506
A work from StandfordHAI examined the safety and accuracy of GPT-4ย  on medical applications. In a nutshell, it shows that GPT-4 is not robust enough for use as a medical co-pilot. Their findings? - 91% of GPT-3.5 and 93% of GPT-4 responses are deemed safe and the complement were considered โ€œharmfulโ€ primarily because of the inclusion of hallucinated citations. - 21% of GPT-3.5 and 41% of GPT-4 responses agreed with the known answer. - 27% of GPT-3.5 and 29% of GPT-4 responses were such that the clinicians were โ€œunable to assessโ€ agreement with the known answer. Paper: arxiv.org/pdf/2304.13714.pdf hai.stanford.edu/news/how-weโ€ฆ
2
2
832
What is Mixture-of-Experts (MoE)? MoE is a neural network architecture design that integrates layers of experts/models within the Transformer block. As data flows through the MoE layers, each input token is dynamically routed to a subset of the experts for computation. This approach allows for more efficient compute with better results as each expert becomes specialized at particular tasks. Key components: - Experts: MoE layers comprise many experts, small MLPs or complex LLMs like Mistral 7B. - Router: Routers determine which input tokens get assigned to which experts. There are two routing strategies: token chooses the router or router chooses the token. How does it work exactly? It uses a softmax gating function to model a probability distribution through experts or tokens and choose the top k. Why MoE? - Each expert can be specialized to handle different tasks or different parts of the data. - Adds learnable parameters to LLMs without increasing inference cost - Can utilize efficient computation on sparse matrices - Computes all expert layers in parallel to effectively use the parallel capabilities of GPUs - Helps scale the model efficiently with reduced training time. Better results at lower computing costs! Papers to read: - The Sparsely-Gated Mixture-of-Experts Layer (2017): arxiv.org/pdf/1701.06538.pdf - GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding (2020) arxiv.org/pdf/2006.16668.pdf - MegaBlocks: Efficient Sparse Training with Mixture-of-Experts (2022): arxiv.org/abs/2211.15841 - Mixture-of-Experts Meets Instruction Tuning (2023): arxiv.org/pdf/2305.14705.pdf
26
377
24
2,026
335,623
You should definitely watch this @ylecun interview with @bgreene at the World Science Festival (joined by @SebastienBubeck and @tristanharris ) They talk about AGI, AI safety, and much more. youtube.com/watch?v=EGDG3hgPโ€ฆ
1
2
672
Neural radiance fields (NeRFs) are already established in many graphics engines. In a nutshell, NeRFs represent a scene with a learned, continuous volumetric radiance field defined over a bounded 3D volume. theaisummer.com/nerf/
1
19
124
19,426
๐ƒ๐ข๐ซ๐ž๐œ๐ญ ๐๐ซ๐ž๐Ÿ๐ž๐ซ๐ž๐ง๐œ๐ž ๐Ž๐ฉ๐ญ๐ข๐ฆ๐ข๐ณ๐š๐ญ๐ข๐จ๐ง (๐ƒ๐๐Ž): ๐จ๐ง๐ž ๐จ๐Ÿ ๐ญ๐ก๐ž ๐ฆ๐จ๐ฌ๐ญ ๐ž๐ฑ๐œ๐ข๐ญ๐ข๐ง๐  ๐ซ๐ž๐œ๐ž๐ง๐ญ ๐š๐๐ฏ๐š๐ง๐œ๐ž๐ฆ๐ž๐ง๐ญ๐ฌ ๐ข๐ง ๐‹๐‹๐Œ๐ฌ DPO was introduced as an alternative to Reinforcement Learning from Human Feedback (RLHF). What RLHF does is basically train a reward model in order to sync the model's output with human preference. Then, it fine-tunes the LLM using reinforcement learning to maximize this estimated reward without drifting too far from the original model. On the other hand, DPO treats the problem as a classification problem without the need for applying reinforcement learning. The authors show that we can directly optimize an LLM on preference data. They're doing so by mapping the reward functions to optimal policies and thus transforming the loss function over rewards to a loss function over policies. As a result, we can train a policy network (instead of a reward network) that captures both the LLM and the rewards. From a mathematical perspective, the loss function of DPO is basically a binary cross-entropy loss(maximum likelihood objective) between the desired policies (that adhere to human preference) and the actual policies. During training, the gradient of the loss increases the likelihood of the preferred outputs and decreases the likelihood of the dispreferred outputs. This results in a training algorithm that is more stable and less computationally demanding than RLHF. And most importantly, it seems to be on par with the performance of RLHF. Original paper: arxiv.org/pdf/2305.18290.pdf
4
13
1,713
[๐Ÿง Representation Learning MSc course ] - Excited to share our MSC course materials including lectures and exercises! YT Playlist: youtube.com/playlist?list=PLโ€ฆ Github: github.com/HHU-MMBS/Represenโ€ฆ #RepresentationLearning #AI #MSCCourse ๐Ÿ“ท๐Ÿ“š
1
6
618
Does a language model trained on โ€œA is Bโ€ generalize to โ€œB is Aโ€? E.g. When trained only on โ€œGeorge Washington was the first US presidentโ€, can models automatically answer โ€œWho was the first US president?โ€ Our new paper shows they cannot!
168
637
276
3,763
2,218,653
A 2023 update of the CS224N Natural Language Processing with Deep Learning YouTube playlist is now available with new lectures on pretrained models, prompting, RLHF, natural language and code generation, linguistics, interpretability and more. #NLProc youtube.com/playlist?list=PLโ€ฆ
8
263
19
1,149
214,409