Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 1 год назад •via X (Twitter)

Комментарии: 59

Фото профиля eric zakariasson
eric zakariasson1 год назад

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
eric zakariasson1 год назад

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
eric zakariasson1 год назад

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

Фото профиля John
John1 год назад

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
eric zakariasson1 год назад

nice. the token ratio says a lot haha

Фото профиля John
John1 год назад

Humans win for now

Фото профиля eric zakariasson
eric zakariasson1 год назад

ok i checked your submissions, well played sir

Фото профиля John
John1 год назад

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
dmnk1 год назад

@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
John1 год назад

@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
sui1 год назад

i thought bro launched a coin 😭

Фото профиля eric zakariasson
eric zakariasson1 год назад

lmao

Фото профиля Pietro Schirano
Pietro Schirano1 год назад

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

Фото профиля eric zakariasson
eric zakariasson1 год назад

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

Фото профиля david fant
david fant1 год назад

this nerd sniped me last night - very addictive

Фото профиля eric zakariasson
eric zakariasson1 год назад

thank you for being an early tester!!

Фото профиля John
John1 год назад

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

Фото профиля eric zakariasson
eric zakariasson1 год назад

mm good idea can add that

Фото профиля Michael Feldstein
Michael Feldstein1 год назад

colf

Фото профиля eric zakariasson
eric zakariasson1 год назад

can i see a hole in one?

Фото профиля johan
johan1 год назад

addictive!

Фото профиля Noah Hirschfield
Noah Hirschfield1 год назад

cool idea, good learning #11 on lru cache

Фото профиля eric zakariasson
eric zakariasson1 год назад

let's go!

Фото профиля Ian Nuttall
Ian Nuttall1 год назад

So good!

Фото профиля eric zakariasson
eric zakariasson1 год назад

thank you!!

Фото профиля Andrew
Andrew1 год назад

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

Фото профиля strwb
strwb1 год назад

I ACTUALLY LOVE IT 😭

Фото профиля eric zakariasson
eric zakariasson1 год назад

thanks 🍓

Фото профиля sasuke⚡420
sasuke⚡4201 год назад

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

Фото профиля eric zakariasson
eric zakariasson1 год назад

its aggregating prompt length of best submissions!

Фото профиля sasuke⚡420
sasuke⚡4201 год назад

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

Фото профиля sasuke⚡420
sasuke⚡4201 год назад

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
Samuel1 год назад

Trying it out

Фото профиля Mike Thrussell
Mike Thrussell1 год назад

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
Mario1 год назад

BRING IT ON!!!!!!!!

Фото профиля Sanjeed
Sanjeed1 год назад

love this one!

Фото профиля shujiuan
shujiuan1 год назад

This is so cool!

Фото профиля sasuke⚡420
sasuke⚡4201 год назад

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

Фото профиля Kevin Kern
Kevin Kern1 год назад

Thats really useful! Awesome eric

Фото профиля Ben Gold
Ben Gold1 год назад

Love this concept!

Фото профиля Matheus
Matheus1 год назад

This is so cool, amazing work Eric!

Фото профиля eric zakariasson
eric zakariasson1 год назад

thanks for all feedback!

Фото профиля Cole McIntosh
Cole McIntosh1 год назад

love this! what a great idea

Фото профиля Saïd Aitmbarek
Saïd Aitmbarek1 год назад

this is quite fun :) !

Фото профиля Alireza Bashiri
Alireza Bashiri1 год назад

Great product, well done.

Фото профиля echo.hive
echo.hive1 год назад

How often does the leaderboard update?

Фото профиля Andrew Jefferson
Andrew Jefferson1 год назад

Ahh you one shotted my reward system

Фото профиля eric zakariasson
eric zakariasson1 год назад

heheh

Фото профиля mojo
mojo1 год назад

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

Фото профиля Jon
Jon1 год назад

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

Фото профиля eric zakariasson
eric zakariasson1 год назад

@vibecodejon i believe in you!

Фото профиля Jon
Jon1 год назад

i need a $100 plan btw

Фото профиля Yaya Soumah
Yaya Soumah1 год назад

Very interesting idea!

Фото профиля Elliot Lindberg
Elliot Lindberg1 год назад

LFG

Фото профиля Ismat Ghaatol
Ismat Ghaatol1 год назад

@amanayb broskie

Фото профиля dmnk
dmnk1 год назад

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
Raduan Al-Shedivat1 год назад

wait, I love this

Фото профиля eric zakariasson
eric zakariasson1 год назад

<3

Фото профиля Jay Little
Jay Little1 год назад

this was so much fun, thanks for making it

Похожие видео