Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

colf has launched! compete by solving 10 coding challenges where you generate the code solution with prompts. you win by having the least amount of tokens in your prompt and code try it out at colf​.dev

183,715 Aufrufe • vor 1 Jahr •via X (Twitter)

59 Kommentare

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

i built this to make it easier to understand how prompting and code generation work under the hood. once you see how tokens map to code, you start to build intuition and can hopefully use it to write more performant prompt! available at

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

here's how it works 1.write your prompt & see the token count update as you type generate to send the prompt to the model and watch it stream code into the viewer 3.tests run automatically to verify solution 4.submit & see how you rank on the leaderboard

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

let me know what you think and send any feedback you have!

Profilbild von John
Johnvor 1 Jahr

I've reached #1 on the whole site and most of the individual leaderboards, but I'm pretty confident a <700 total is possible. I suspect a few people on the individual leaderboards have figured out the current 'meta' and will land <800 total on all 10 pretty soon.

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

nice. the token ratio says a lot haha

Profilbild von John
Johnvor 1 Jahr

Humans win for now

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

ok i checked your submissions, well played sir

Profilbild von John
Johnvor 1 Jahr

Thanks! For most of them I'm pretty confident there's a more elegant and more interesting shorter solution but I wanted to sprint to 10/10 #1 first before refining Not proud of the regex one... yet

Profilbild von dmnk
dmnkvor 1 Jahr

@ericzakariasson Well played, as soon as I saw the token ratio I got a bit sad Using the LLM as an autocomplete seems to be meta but should be discouraged with a similarity score or something punishing overlap Thoughts? Would love to see a 5 token prompt finish even if code is inefficient

Profilbild von John
Johnvor 1 Jahr

@ericzakariasson I agree to some extent which is why I asked @ericzakariasson to add a prompts-only leaderboard earlier today - which he did (impressively fast btw) If you go to the global leaderboard -> full leaderboard, there's a link to it near the top. More interesting results & I'm not #1

Profilbild von sui
suivor 1 Jahr

i thought bro launched a coin 😭

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

lmao

Profilbild von Pietro Schirano
Pietro Schiranovor 1 Jahr

Right behind you ahah I am going to try again today, this is fun!

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

haha nice! i need to put some more time into it as well

Profilbild von david fant
david fantvor 1 Jahr

this nerd sniped me last night - very addictive

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

thank you for being an early tester!!

Profilbild von John
Johnvor 1 Jahr

it would be cool if there was a leaderboard for shortest successful prompt on top of just shorted combined size

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

mm good idea can add that

Profilbild von Michael Feldstein
Michael Feldsteinvor 1 Jahr

colf

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

can i see a hole in one?

Profilbild von johan
johanvor 1 Jahr

addictive!

Profilbild von Noah Hirschfield
Noah Hirschfieldvor 1 Jahr

cool idea, good learning #11 on lru cache

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

let's go!

Profilbild von Ian Nuttall
Ian Nuttallvor 1 Jahr

So good!

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

thank you!!

Profilbild von Andrew
Andrewvor 1 Jahr

I had this exact idea and never got around to it haha. Are you interested in

Profilbild von strwb
strwbvor 1 Jahr

I ACTUALLY LOVE IT 😭

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

thanks 🍓

Profilbild von sasuke⚡420
sasuke⚡420vor 1 Jahr

hello, the prompt length leaderboard should perhaps aggregate by users' shortest successful prompts

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

its aggregating prompt length of best submissions!

Profilbild von sasuke⚡420
sasuke⚡420vor 1 Jahr

yes, so you can make your placement worse on the prompt length leaderboard by making a better submission for the main leaderboard

Profilbild von sasuke⚡420
sasuke⚡420vor 1 Jahr

ok, actually, i'm happy with 69. please do not fix it to account for my shortest submission for one problem being shorter than the one it is using.

Profilbild von Samuel
Samuelvor 1 Jahr

Trying it out

Profilbild von Mike Thrussell
Mike Thrussellvor 1 Jahr

Somehow I rank #57 just from copy/pasting the initial questions! Which means most people must be doing a worse job than the challenge text. Not sure what to infer from that...

Profilbild von Mario
Mariovor 1 Jahr

BRING IT ON!!!!!!!!

Profilbild von Sanjeed
Sanjeedvor 1 Jahr

love this one!

Profilbild von shujiuan
shujiuanvor 1 Jahr

This is so cool!

Profilbild von sasuke⚡420
sasuke⚡420vor 1 Jahr

what is this tokenizer that has "blanks" = 2 tokens " blanks" = 2 tokens "blank blanks" = 2 tokens

Profilbild von Kevin Kern
Kevin Kernvor 1 Jahr

Thats really useful! Awesome eric

Profilbild von Ben Gold
Ben Goldvor 1 Jahr

Love this concept!

Profilbild von Matheus
Matheusvor 1 Jahr

This is so cool, amazing work Eric!

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

thanks for all feedback!

Profilbild von Cole McIntosh
Cole McIntoshvor 1 Jahr

love this! what a great idea

Profilbild von Saïd Aitmbarek
Saïd Aitmbarekvor 1 Jahr

this is quite fun :) !

Profilbild von Alireza Bashiri
Alireza Bashirivor 1 Jahr

Great product, well done.

Profilbild von echo.hive
echo.hivevor 1 Jahr

How often does the leaderboard update?

Profilbild von Andrew Jefferson
Andrew Jeffersonvor 1 Jahr

Ahh you one shotted my reward system

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

heheh

Profilbild von mojo
mojovor 1 Jahr

in the opposite direction, when can we include long token files (150k+) into 1M context models?

Profilbild von Jon
Jonvor 1 Jahr

#19 i hope to stay above top 50 by tomorrow!

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

@vibecodejon i believe in you!

Profilbild von Jon
Jonvor 1 Jahr

i need a $100 plan btw

Profilbild von Yaya Soumah
Yaya Soumahvor 1 Jahr

Very interesting idea!

Profilbild von Elliot Lindberg
Elliot Lindbergvor 1 Jahr

LFG

Profilbild von Ismat Ghaatol
Ismat Ghaatolvor 1 Jahr

@amanayb broskie

Profilbild von dmnk
dmnkvor 1 Jahr

Looks amazing but it appears as if the best practice is to get the most efficient implementation and let it auto complete (given 1st being 1:1 ratio)I think there should be a diff check of prompt to result, since there is little reason to prompt something if you already got it

Profilbild von Raduan Al-Shedivat
Raduan Al-Shedivatvor 1 Jahr

wait, I love this

Profilbild von eric zakariasson
eric zakariassonvor 1 Jahr

<3

Profilbild von Jay Little
Jay Littlevor 1 Jahr

this was so much fun, thanks for making it

Ähnliche Videos