Bijay Gurung (@bg_learning) header
Bijay Gurung (@bg_learning) profile picture

Prose, Poetry, and Programs MSc CS @ Uni Freiburg ML @deepset_ai Previously ML Engineer @fusemachines

Germany
Joined September 2014
Photo by Bijay Gurung (@bg_learning)Photo by Bijay Gurung (@bg_learning)Photo by Bijay Gurung (@bg_learning)Photo by Bijay Gurung (@bg_learning)Photo by Bijay Gurung (@bg_learning)Photo by Bijay Gurung (@bg_learning)Photo by Bijay Gurung (@bg_learning)Photo by Bijay Gurung (@bg_learning)Photo by Bijay Gurung (@bg_learning)Photo by Bijay Gurung (@bg_learning)
Bijay Gurung retweeted
Let's call it like it is: Today, the KP Sharma Oli government murdered at least 19 young Nepalis in cold blood.
3
163
7
334
25,398
21 CONFIRMED DEATHS I urge international media to cover today’s events in Nepal. A peaceful, youth-led protest against corruption turned violent when police fired live bullets, killing 21. Government is trying to distort truth by framing protest as only about a social media ban.
51
4,726
115
10,206
254,565
SOCRATES: So then the beautiful is also the good, and the just as well CHATGPT: By Zeus, you're right indeed, Socrates. And it says a lot about you that you came up with such a stunning insight. Let's delve into WHY you cooked so hard
8
62
3
685
27,359
Very happy to hear that GANs are getting the test of time award at NeurIPS 2024. The NeurIPS test of time awards are given to papers which have stood the test of the time for a decade. I took some time to reminisce how GANs came about and how AI has evolve in the last decade.
17
114
35
967
220,566
Bijay Gurung retweeted
The (true) story of development and inspiration behind the "attention" operator, the one in "Attention is All you Need" that introduced the Transformer. From personal email correspondence with the author @DBahdanau ~2 years ago, published here and now (with permission) following some fake news about how it was developed that circulated here over the last few days. Attention is a brilliant (data-dependent) weighted average operation. It is a form of global pooling, a reduction, communication. It is a way to aggregate relevant information from multiple nodes (tokens, image patches, or etc.). It is expressive, powerful, has plenty of parallelism, and is efficiently optimizable. Even the Multilayer Perceptron (MLP) can actually be almost re-written as Attention over data-indepedent weights (1st layer weights are the queries, 2nd layer weights are the values, the keys are just input, and softmax becomes elementwise, deleting the normalization). TLDR Attention is awesome and a *major* unlock in neural network architecture design. It's always been a little surprising to me that the paper "Attention is All You Need" gets ~100X more err ... attention... than the paper that actually introduced Attention ~3 years earlier, by Dzmitry Bahdanau, Kyunghyun Cho, Yoshua Bengio: "Neural Machine Translation by Jointly Learning to Align and Translate". As the name suggests, the core contribution of the Attention is All You Need paper that introduced the Transformer neural net is deleting everything *except* Attention, and basically just stacking it in a ResNet with MLPs (which can also be seen as ~attention per the above). But I do think the Transformer paper stands on its own because it adds many additional amazing ideas bundled up all together at once - positional encodings, scaled attention, multi-headed attention, the isotropic simple design, etc. And the Transformer has imo stuck around basically in its 2017 form to this day ~7 years later, with relatively few and minor modifications, maybe with the exception better positional encoding schemes (RoPE and friends). Anyway, pasting the full email below, which also hints at why this operation is called "attention" in the first place - it comes from attending to words of a source sentence while emitting the words of the translation in a sequential manner, and was introduced as a term late in the process by Yoshua Bengio in place of RNNSearch (thank god? :D). It's also interesting that the design was inspired by a human cognitive process/strategy, of attending back and forth over some data sequentially. Lastly the story is quite interesting from the perspective of nature of progress, with similar ideas and formulations "in the air", with a particular mentions to the work of Alex Graves (NMT) and Jason Weston (Memory Networks) around that time. Thank you for the story @DBahdanau !
132
973
145
6,639
866,677
54
600
51
8,865
279,340
Bijay Gurung retweeted
I’m incredibly happy to announce that our @Haystack_AI short course "Building AI Applications with Haystack" with @AndrewYNg and @DeepLearningAI is out now. Learn how to build AI applications with a step by step course, starting with the basics of the building blocks, and go all the way up to creating; ⭐️ a custom RAG pipeline ⭐️ conditional routing to RAG ⭐️ a self-reflecting agentic pipeline ⭐️ a function calling chat app
12
37
5
349
32,716
When this hit YouTube in the in 2007…. You just had the be there.
You’re unable to view this post because this account owner limits who can view their posts. Learn more
16
38
8
349
34,142
I find this concept unbearably moving. So many people who I no longer speak to or see for whatever reason who I still carry with me in how I dress, what I listen to, the slang I use, the morals I try to live by. How porous we are, how infinitely influential!
I am a mosaic of everyone I’ve ever loved, even for a heartbeat
19
6,577
163
31,406
1,306,925
"And everything is yes..." —Rosemerry Wahtola Trommer
1
53
3
269
10,472
EXCUSE me??
46
567
124
10,890
679,251
Bijay Gurung retweeted
KAN: Kolmogorov-Arnold Networks arxiv.org/abs/2404.19756 This paper is so fun to read. We need more works like this, questioning our fundamental building blocks.
MLPs are so foundational, but are there alternatives? MLPs place activation functions on neurons, but can we instead place (learnable) activation functions on weights? Yes, we KAN! We propose Kolmogorov-Arnold Networks (KAN), which are more accurate and interpretable than MLPs.🧵
10
144
15
1,027
138,750
The next chapter about transformers is up on YouTube, digging into the attention mechanism: youtu.be/eMlx5fFNoYc The model works with vectors representing tokens (think words), and this is the mechanism that allows those vectors to take in meaning from context.
57
804
111
5,757
810,897
Bijay Gurung retweeted
We are thrilled to announce the stable version of Haystack 2.0 🎉 We’ve been working on this for a while and now Haystack 2.0 has everything to help you implement composable LLM applications that are easy to use, customize, extend, optimize, evaluate, and deploy to production. We are hosting an office hour session about Haystack 2.0 tomorrow in the Haystack Discord 🧡 Drop by to ask anything about this release and Haystack 👉 discord.gg/WTXcUW6w?event=12… Learn more about the release 👉 haystack.deepset.ai/blog/hay… Give Haystack 2.0 a try 👉 haystack.deepset.ai/overview… Check out all features in our release notes 👉 haystack.deepset.ai/release-… #HaystackV2 #LLM #opensource #Python
2
27
11
78
20,255
Bijay Gurung retweeted
Last year, the Make-a-Wish Foundation announced that kids with cystic fibrosis would no longer automatically qualify for a wish. This was, actually, a good thing—a great thing even!
28
367
79
2,601
493,507
My first manager at Uber started a GitHub page back at the time with resources to become a more proficient developer - ones he personally found helpful (he did not have a CS degree). I realized he is *still* updating it, 7 years later! A neat list: github.com/charlax/professio…
60
1,274
62
9,885
1,118,550
Have you ever done a dense grid search over neural network hyperparameters? Like a *really dense* grid search? It looks like this (!!). Blueish colors correspond to hyperparameters for which training converges, redish colors to hyperparameters for which training diverges.
295
2,151
502
11,140
1,771,793
Folks, you don't need anything special to have python automatically drop you into the debugger if there's an exception -- this capability is already built in! Here's a complete demonstration of how to do it, including an alias you might find pretty handy:
18
131
10
1,412
155,746