Team Ai
Datasetpublic

Brunobkr/llama.cpp_AlgMor24_github

ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
trim.js48 linesDownload Raw Back to lodash-es
1import baseToString from './_baseToString.js';2import baseTrim from './_baseTrim.js';3import castSlice from './_castSlice.js';4import charsEndIndex from './_charsEndIndex.js';5import charsStartIndex from './_charsStartIndex.js';6import stringToArray from './_stringToArray.js';7import toString from './toString.js';8 9/**10 * Removes leading and trailing whitespace or specified characters from `string`.11 *12 * @static13 * @memberOf _14 * @since 3.0.015 * @category String16 * @param {string} [string=''] The string to trim.17 * @param {string} [chars=whitespace] The characters to trim.18 * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.19 * @returns {string} Returns the trimmed string.20 * @example21 *22 * _.trim('  abc  ');23 * // => 'abc'24 *25 * _.trim('-_-abc-_-', '_-');26 * // => 'abc'27 *28 * _.map(['  foo  ', '  bar  '], _.trim);29 * // => ['foo', 'bar']30 */31function trim(string, chars, guard) {32  string = toString(string);33  if (string && (guard || chars === undefined)) {34    return baseTrim(string);35  }36  if (!string || !(chars = baseToString(chars))) {37    return string;38  }39  var strSymbols = stringToArray(string),40      chrSymbols = stringToArray(chars),41      start = charsStartIndex(strSymbols, chrSymbols),42      end = charsEndIndex(strSymbols, chrSymbols) + 1;43 44  return castSlice(strSymbols, start, end).join('');45}46 47export default trim;48 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai