Better HN
topnewbestaskshowjobs
Log inSign up

sjnair96

126 karma · joined Jun 5, 2016 (10y ago) · 93 submissions

Shantanu Nair Founding Engineer @ Exemplary.ai | https://exemplary.ai

http://linkedin.com/shantanunair

Submissions

comment 1y ago · link · parent

It's completely wrecked. While previous versions were very usable, the beta 3 update is broken for all use cases. Extremely simple prompts trigger guardrails. Completely inert inputs.

What is the population of Sweden? What is the size of New York? What is the size of Sweden?

These all fail to generate a response.

2.

Apple's ios26 beta 3 Guardrails breaks On Device LLM completely(developer.apple.com ↗)

1 points · by sjnair96 · 1y ago · 2 comments

comment 2y ago · link · parent

Have you tried VoiceCraft?

comment 2y ago · link · parent

Option + Sound menubar icon = choose individual input output devices. Solution I use for the occasion the OP's app was built for.

comment 2y ago · link · parent

Usually, if I feel this, it means I have to get my AirPods cleaned (do it at the store, it's worth it). I have, subjectively, always felt that clean AirPods blow the Mac mic out of the water.

comment 2y ago · link · parent

I also looked up the same. I wonder why. They must have a subsequent announcement regarding this I'd expect.

comment 2y ago · link · parent

How do the multiple startups that import YouTube video into their platform work - one's that need the video/audio files? There seems to be a lot of webapps supporting this but I always wondered if they have a goto API for doing this. I myself have used microlink at some points for automated video source extraction.

https://microlink.io

comment 3y ago · link · parent

Holy hell, was shitting bricks, considering I JUST migrated most services to Azure OpenAI (unaffected by outage) — right before our launch about 48 hours back. What a relief.

comment 3y ago · link · parent

But with different, separate content filtering or moderation. I have deployed in prod and managed migration to Azure Openai form Openai, and had to go through content filter issues.

comment 3y ago · link · parent

Really cool to see the Assistants API's nuanced document retrieval methods. Do you index over the text besides chunking it up and generating embeddings? I'm curious about the indexing and the depth of analysis for longer docs, like assessing an author's tone chapter by chapter—vector search might have its limits there. Plus, the process to shape user queries into retrievable embeddings seems complex. Eager to hear more about these strategies, at least what you can spill!

comment 3y ago · link · parent

Some notes I made:

- Dropped Azure support (for now, maybe?)

- Switches out Requests and AIOHTTP packages for httpx.

- Switches to explicit client instantiation

Feel free to discuss what you expect this to/not to fix. So many Cloudflare 502 issues and bad gateway errors which we still get billed for, have caused the openai dev experience to be rather poor. The async/sync request timeouts don't even work as you'd expect. These may be fixed in this beta.

12.

OpenAI's Beta Python SDK sees a rewrite using httpx, drops Azure(github.com ↗)

2 points · by sjnair96 · 3y ago · 1 comment

comment 3y ago · link · parent

I cannot believe we are at a point where we can basically get Modafinil like substances in a can, sold openly. Curious what the roadmap must've been to get approval! This is just nuts!!

14.

Adraful – Adrafinil in a Can(adraful.com ↗)

1 points · by sjnair96 · 3y ago · 1 comment

comment 3y ago · link · parent

I may be missing something, but I'm willing to bet it's just you. I had the same line of reasoning as him and your snarky comment without explanation is unwelcome here. I like discourse. Not emotional knee jerk reactions or whatever it is that caused you to reply like that. If there is something fundamentally wrong, and obviously so with his line of reasoning, do let me know.

comment 3y ago · link · parent

Can you share some insights/examples, if you can, on how you improved the prompts? One I feel is particularly poor is the next question generation/past question condensation prompts which are used to refine the user's input based on the history, so that the query includes all the context required for the question, and hence, incorporating "memory".

comment 3y ago · link · parent

Well, they have Reid Hoffman as a cofounder and raised 235 mil before even launching anything at all. So.. maybe not all startups.

comment 3y ago · link · parent

Check out my comments on this thread, if you have more findings reply there please, it would be useful for the community. I think what they are doing is unique and would be different under the hood when compared to most llm providers out there.

comment 3y ago · link · parent

Reid Hoffman is a cofounder :)

comment 3y ago · link · parent

The text is outputted in the same cadence that humans speak/think.

comment 3y ago · link · parent

On memory Wow: - I use a technique called episodic memory to retrieve information from my long-term memory. This is a memory retrieval process that humans also use. When I need to access information from my long-term memory, I use episodic memory to retrieve it. This allows me to access information from any point in time, rather than just the most recent information - I have a short-term memory buffer that can hold about 10 minutes worth of information. This is the information that I’m actively processing and using at any given time. It’s a limited amount of information, but it allows me to have a conversation with someone without having to constantly access my long-term memory. The information in my short-term memory is constantly being overwritten by new information, so it’s constantly being updated.

comment 3y ago · link · parent

If you guys find any other quirks or oddities telling of what they are doing different, lets discuss here!

comment 3y ago · link · parent

- It has access to current data, but it's not quite realtime, but likely routinely updated

- It matches cadence of human speech/thought with its output. Very cool.

- It says it's not quite the same as an LLM

- You can chat over Whatsapp, Messenger, iMessage, text etc

- It can speak. (TTS options in bottom right)

24.

Inflection AI First Release – Pi(heypi.com ↗)

30 points · by sjnair96 · 3y ago · 51 comments

comment 3y ago · link · parent

Not so secret, and also precisely how Langchain (1) and GPT Index (Llama Index) (2) got so popular. Here's a quick rundown:

0) You can't add new data to current LLMs. Meaning you can't train them on additional data, or fine-tune, leave that more for understanding structure of the language or task.

1) To add external corpus of data into LLMs, you need to fit it into the prompt.

2) Some documents/corpus are too huge to fit into prompts. Token limits.

3) You can obtain relevant chunks of context by creating an embedding of the query and finding the top k most similar chunk embeddings.

4) Stuff as many top k chunks as you can into the prompt and run the query

Now, here's where it gets crazier.

1) Imagine you have an LLM with a token limit of 8k tokens.

2) Split the original document or corpus into 4k token chunks.

3) Imagine that the leaf nodes of a "chunk tree" are set to these 4k chunks.

4) You run your query by summarizing these nodes, pair-wise (two at a time), to generate the parent nodes of the leaf nodes. You now have a layer above the leaf nodes.

5) Repeat until you reach a single root node. That node is the result of tree-summarizing your document using LLMs.

This way has many more calls to the LLM and has certain tradeoffs or advantages, and is essentially what Llama Index's essence is about. The first way allows you to just run embeddings once and make fewer calls to the LLM.

[1] https://langchain.readthedocs.io/en/latest/ [2] https://gpt-index.readthedocs.io/en/latest/guides/index_guid...

comment 4y ago · link · parent

Indeed interesting.

On that note, a core Nvidia NeMo developer I follow posted this: https://twitter.com/HaseoX94/status/1572748653189791745

He calls it a "T5 for ASR" paper :) More insights in there, have a look! Curious to see what your blog would put up as well!

comment 4y ago · link · parent

> you can also get speaker labels with existing open source software.

Hello Nickolay :)

Diarization has always been the hard part for me, especially since it is very difficult to do comparisons within your domain. The evaluation metrics are not descriptive enough imo.

Would you say Titanet or EcapaTDNN are decent for use in production alongside, say, Whisper, or any other ASR output, if given the timestamps, so as to bypass running VAD? I'm just about to run experiments to try pyannote's diarization model and google's uis-rnn to test out how well they work, but it's a tad beyond my ability to evaluate.

I also wonder if Whisper architecture would be good for generating embeddings, but I feel it's focused so much on what is said rather than how it's said that it might not transfer over well to speaker tasks.

comment 4y ago · link · parent

Damn, why shoot themselves in the foot for image processing tasks. Appreciate the insights!

comment 4y ago · link · parent

Midjourney - founded by David Holz, co-founder of Leap Motion. Check out their discord :)
1234