Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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 görüntüleme • 1 yıl önce •via X (Twitter)

59 Yorum

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

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

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

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

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

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

John profil fotoğrafı
John1 yıl önce

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.

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

nice. the token ratio says a lot haha

John profil fotoğrafı
John1 yıl önce

Humans win for now

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

ok i checked your submissions, well played sir

John profil fotoğrafı
John1 yıl önce

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

dmnk profil fotoğrafı
dmnk1 yıl önce

@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

John profil fotoğrafı
John1 yıl önce

@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

sui profil fotoğrafı
sui1 yıl önce

i thought bro launched a coin 😭

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

lmao

Pietro Schirano profil fotoğrafı
Pietro Schirano1 yıl önce

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

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

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

david fant profil fotoğrafı
david fant1 yıl önce

this nerd sniped me last night - very addictive

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

thank you for being an early tester!!

John profil fotoğrafı
John1 yıl önce

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

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

mm good idea can add that

Michael Feldstein profil fotoğrafı
Michael Feldstein1 yıl önce

colf

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

can i see a hole in one?

johan profil fotoğrafı
johan1 yıl önce

addictive!

Noah Hirschfield profil fotoğrafı
Noah Hirschfield1 yıl önce

cool idea, good learning #11 on lru cache

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

let's go!

Ian Nuttall profil fotoğrafı
Ian Nuttall1 yıl önce

So good!

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

thank you!!

Andrew profil fotoğrafı
Andrew1 yıl önce

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

strwb profil fotoğrafı
strwb1 yıl önce

I ACTUALLY LOVE IT 😭

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

thanks 🍓

sasuke⚡420 profil fotoğrafı
sasuke⚡4201 yıl önce

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

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

its aggregating prompt length of best submissions!

sasuke⚡420 profil fotoğrafı
sasuke⚡4201 yıl önce

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

sasuke⚡420 profil fotoğrafı
sasuke⚡4201 yıl önce

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.

Samuel profil fotoğrafı
Samuel1 yıl önce

Trying it out

Mike Thrussell profil fotoğrafı
Mike Thrussell1 yıl önce

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...

Mario profil fotoğrafı
Mario1 yıl önce

BRING IT ON!!!!!!!!

Sanjeed profil fotoğrafı
Sanjeed1 yıl önce

love this one!

shujiuan profil fotoğrafı
shujiuan1 yıl önce

This is so cool!

sasuke⚡420 profil fotoğrafı
sasuke⚡4201 yıl önce

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

Kevin Kern profil fotoğrafı
Kevin Kern1 yıl önce

Thats really useful! Awesome eric

Ben Gold profil fotoğrafı
Ben Gold1 yıl önce

Love this concept!

Matheus profil fotoğrafı
Matheus1 yıl önce

This is so cool, amazing work Eric!

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

thanks for all feedback!

Cole McIntosh profil fotoğrafı
Cole McIntosh1 yıl önce

love this! what a great idea

Saïd Aitmbarek profil fotoğrafı
Saïd Aitmbarek1 yıl önce

this is quite fun :) !

Alireza Bashiri profil fotoğrafı
Alireza Bashiri1 yıl önce

Great product, well done.

echo.hive profil fotoğrafı
echo.hive1 yıl önce

How often does the leaderboard update?

Andrew Jefferson profil fotoğrafı
Andrew Jefferson1 yıl önce

Ahh you one shotted my reward system

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

heheh

mojo profil fotoğrafı
mojo1 yıl önce

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

Jon profil fotoğrafı
Jon1 yıl önce

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

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

@vibecodejon i believe in you!

Jon profil fotoğrafı
Jon1 yıl önce

i need a $100 plan btw

Yaya Soumah profil fotoğrafı
Yaya Soumah1 yıl önce

Very interesting idea!

Elliot Lindberg profil fotoğrafı
Elliot Lindberg1 yıl önce

LFG

Ismat Ghaatol profil fotoğrafı
Ismat Ghaatol1 yıl önce

@amanayb broskie

dmnk profil fotoğrafı
dmnk1 yıl önce

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

Raduan Al-Shedivat profil fotoğrafı
Raduan Al-Shedivat1 yıl önce

wait, I love this

eric zakariasson profil fotoğrafı
eric zakariasson1 yıl önce

<3

Jay Little profil fotoğrafı
Jay Little1 yıl önce

this was so much fun, thanks for making it

Benzer Videolar