Spyke

Posts

programming_languages·Programming Languagesbylibrecat

What are some pros and cons of a `scope` keyword?

In something like C++ you could create a scope like so:

{
	// Do something neat here
}

I was wondering about having or maybe even requiring a scope keyword, which might look like this:

scope
{
	// Do something neat here
}

This seems even more relevant in an indentation sensitive language like python:

scope:
	pass

Interested to hear any opinions, TIA.

View original on lemmy.basedcount.com
9
fosai·Free Open-Source Artificial Intelligencebylibrecat

Code Llama 70b on text-generation-webui?

I was wondering if anyone here got Code Llama 70b running or knows of any guides/tutorials on how to do so. I tried setting it up myself with a quantized version, and it was able to load but I think I must have misconfigured it since I only got nonsensical results. One thing I definitely don't understand is the templates, did they change those? Also, if this type of post isn't allowed or is off topic please let me know, I have never posted in this sublemmy before.

View original on lemmy.basedcount.com
9

You reached the end