Joe Davison's Avatar

Joe Davison

@joeddav.bsky.social

ML -> NLP -> ✨AI✨ Prev: Hugging Face πŸ€— Harvard IACS πŸŽ“

180 Followers  |  16 Following  |  8 Posts  |  Joined: 12.06.2023  |  1.5421

Latest posts by joeddav.bsky.social on Bluesky

Don’t use agents/prompting frameworks

They make it *slightly* easier to get started, but much harder as soon as you try to do anything custom.

The best agents framework is Python.

13.12.2024 20:45 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

What’s the tie you’re breaking? Two tokens with exactly equal probabilities?

22.11.2024 06:48 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Wdym by tie breaking?

22.11.2024 04:47 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Anyone understand why OpenAI models aren’t deterministic when temp=0?

22.11.2024 03:49 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

If you REALLY want to do something like, tell the model to write a Python script that creates a random password that fits the requirements, then copy/paste the result into a terminal.

Or better yet just use any password manager cuz they can all do this πŸ˜…

19.11.2024 18:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The trouble is LLMs are not good at being random. Even the parts that look good might seem random, but if an attacker followed the same procedure you did, the chances they would reproduce the exact same password would be MUCH higher than random.

19.11.2024 18:18 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Even if your LLM chat history is totally private, the generated password will not be truly random. It might even be regurgitating publicly known passwords it saw during training.

19.11.2024 16:43 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Someone at work: β€œLook, you can copy/paste the password requirements into a local LLM to generate a compliant password!”

PSA: Don’t do this.

19.11.2024 16:43 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

@joeddav is following 15 prominent accounts