Comment by lawrenceyan
1 year ago
Really clean usage of Colab btw. I just had to click a single button and everything ran.
Good job, will join the Discord!
1 year ago
Really clean usage of Colab btw. I just had to click a single button and everything ran.
Good job, will join the Discord!
I was just thinking how terrible the website was because it doesn't gracefully degrade. There's no information if you don't successfully execute all the applications associated with the page, just a blank white page with nothing. For a blog post with text and images this is really bad. The text and images should be there in the HTML and then the dynamic elements loaded on top.
Even when I loaded it in the browser I use for banks, etc, I still get errors and the JS doesn't run quite right and I get a "NameError: name 'torch' is not defined", "NameError: name 'FastLanguageModel' is not defined" etc.
Oh ye you'll have to click "Runtime" -> "Run All". I think you probably forgot to execute the installation cell.
Apologies on the website rendering issues :( I normally find Colab to be reasonably responsive, so presumably the Javascript components are breaking :( Much apologies :(
It sounds like you are simply not familiar with how Colab works, this has nothing to do with the original work
??
Just click the `Run All` button. There's no variance, you will always get the same output.
Oh thanks! I love Colab since it provides a free GPU + you can run the code + you can write a blog post inside it :)