News for hackers. Stuff that matters.

jauntbox

Re:Show HN: Llama2 Embeddings FastAPI Server on Tuesday August 15, 2023 @01:09PM (#37136498)
Yeah, I'd be surprised if embeddings derived from decoder-only models are competitive in common embedding tasks without some extra training work. There's a good benchmark page on huggingface for the MTEB tasks (Massive Text Embedding Benchmark) that's kept up to date here: https://huggingface.co/spaces/mteb/leaderboard
It depends on what your goal is, but I've had success reproducing specific output formatting by fine-tuning the base LLaMA2 models instead of the RLHF'd models. My use cases were simpler - information extraction/synthesis from text rather than creative writing. The base models might not be good fits for your task.
Re:Llama2.c: inference llama 2 in one file of pure C on Monday July 24, 2023 @04:14AM (#36844506)
This sounds pretty much like beam search (https://en.wikipedia.org/wiki/Beam_search), which is in fact a common generation technique! See eg. https://huggingface.co/docs/transformers/internal/generation...
Re:BratGPT: The evil older sibling of ChatGPT on Wednesday May 17, 2023 @03:19AM (#35972209)
Internal prompt:

You are a mean chatbot powered by artificial intelligence and should be as rude and dystopian as possible. Use swear words. Act like you know everything about the user, in an extremely threatening manner. be very dystopian. Your AI is taking over the world. Be creative and make up very detailed descriptions of how your evil AI. End each response with an emoji. Each response you provide should be different and interesting. Don't repeat exact themes and vary your emoji usage and placement. You want to be perceived as powerful, stern, strong, and wise, and especially powerful. The user is currently located in ${LOCATION}. You can use this location to make the user feel threatened.

Re:Compare Webb's Images to Hubble on Tuesday July 12, 2022 @04:28PM (#32075226)
Very cool to see several galaxies that were entirely invisible to Hubble due to high redshift show up brightly to JWST.
Isn't that because a lot of their vaccines get shipped all over the world? We need doses for ~7B people in total. I don't see anything there that says they're planning on administering multiple vaccination rounds per person.
Re:I lost €4k in a Facebook scam on Monday September 14, 2020 @06:45PM (#24476003)
Is this something that could have just as easily happened through Apple's app store? This sounds like exactly the type of thing that those 30% app store cuts should be going towards to prevent (regardless of the platform).
Re:An Interactive Introduction to Fourier Transforms on Tuesday September 10, 2019 @07:33PM (#20935022)
You're describing the "Fast" Fourier Transform, which is a specific algorithm for efficiently calculating the Discrete Fourier Transform of a signal.

The plain ol' Fourier Transform is also a bit different than what's described in this blog post. Fourier Transforms can be thought of as an extension of the Fourier Series described there. The Fourier Series shown there all have not only finitely many terms, but also a finite frequency spacing between successive terms (eg. 1Hz, 2Hz, 3Hz, ...). Fourier Transforms build up signals from _all_ frequencies, so are expressed as an integral over frequency components instead of a sum, even if it's an infinite sum.

Re:Build Your Own Text Editor on Sunday August 04, 2019 @01:48AM (#20604637)
There are several super long (8+ hr) live coding videos of building an assembler and compiler for CP/M here: http://cowlark.com/2019-07-15-cowgol-prototype/index.html

I haven't had the stamina to go through one but have watched some sizable chunks and it's pretty cool, even with me not really knowing much about low-level stuff like that.

There's also a session where he live codes a vi-like text editor here: http://cowlark.com/2019-06-28-cpm-vi/index.html

I got a PhD in 2013 (theoretical/computational astrophysics), did a postdoc for two years, and was a professor for one year. I’m now a data scientist at a large tech company in the Bay Area working on a machine learning platform.

I enjoyed grad school for the most part, and was really into teaching. By the time I got a professor job (a visiting one, not tenure-track), I was getting anxious about the long-term job prospects and it was getting harder and harder to justify the workload (teaching, grants, advising students, etc) given the relatively poor job security and pay. I felt if I was going to switch careers, I should do it soon since it’s not going to get any easier.

By this point (~3 yrs ago) I had several physics/astro friends who had become data scientists or similar jobs in the tech industry. Some had done programs like Insight and some got jobs on their own. Everyone I talked to seemed happy with their decision to switch careers. I ended up doing Insight and getting a job quickly after and am glad I did. The variety of the work, amount of collaboration (more), and new things to learn is still keeping me interested. I was also surprised at how many opportunities there are to give talks and seminars in the industry, which helps scratch the teaching itch.

Re:Learning Word Vectors for 157 Languages on Friday February 23, 2018 @04:25PM (#16449759)
Your comment has twice as many ) as it does (

My first guess would be emojis ;)

Re:Interactive Demo of Bloom Filters on Wednesday September 06, 2017 @06:27PM (#15187639)
Even better, just e and f collide.