dulldata@alien.topB to LocalLLaMAEnglish · 1 year agoWhat are your fav questions to eval a new LLM?message-squaremessage-square17fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1message-squareWhat are your fav questions to eval a new LLM?dulldata@alien.topB to LocalLLaMAEnglish · 1 year agomessage-square17fedilinkfile-text
minus-squareaseichter2007@alien.topBlinkfedilinkEnglisharrow-up1·1 year agoOpenHermes 2.5 Mistral 7b Q8 interfaced with Clipboard Conqueror. ||code|return javascript fizzbuzz using recursion Copy^ Paste: // Function to check if a number is divisible by 3 or 5 function isDivisible(num) { return num % 3 === 0 || num % 5 === 0; } // Recursive function to generate FizzBuzz function fizzBuzz(n) { if (n <= 0) return; if (isDivisible(n)) { console.log(“FizzBuzz”); } else if (n % 3 === 0) { console.log(“Fizz”); } else if (n % 5 === 0) { console.log(“Buzz”); } else { console.log(n); } fizzBuzz(n - 1); } // Call the function to start FizzBuzz fizzBuzz(100);
minus-squareExtensionCricket6501@alien.topBlinkfedilinkEnglisharrow-up1·1 year agoI guess it’s seen more javascript than python then, I’ll give it a shot later with javascript perhaps.
OpenHermes 2.5 Mistral 7b Q8 interfaced with Clipboard Conqueror.
||code|return javascript fizzbuzz using recursion
Copy^
Paste:
// Function to check if a number is divisible by 3 or 5
function isDivisible(num) {
return num % 3 === 0 || num % 5 === 0;
}
// Recursive function to generate FizzBuzz
function fizzBuzz(n) {
if (n <= 0) return;
if (isDivisible(n)) {
console.log(“FizzBuzz”);
} else if (n % 3 === 0) {
console.log(“Fizz”);
} else if (n % 5 === 0) {
console.log(“Buzz”);
} else {
console.log(n);
}
fizzBuzz(n - 1);
}
// Call the function to start FizzBuzz
fizzBuzz(100);
I guess it’s seen more javascript than python then, I’ll give it a shot later with javascript perhaps.