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.
03.1k
1"use strict";2Object.defineProperty(exports, "__esModule", { value: true });3exports.defaultOptions = void 0;4exports.defaultOptions = {5 alphabet: 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789',6 minLength: 0,7 blocklist: new Set([8 '0rgasm',9 '1d10t',10 '1d1ot',11 '1di0t',12 '1diot',13 '1eccacu10',14 '1eccacu1o',15 '1eccacul0',16 '1eccaculo',17 '1mbec11e',18 '1mbec1le',19 '1mbeci1e',20 '1mbecile',21 'a11upat0',22 'a11upato',23 'a1lupat0',24 'a1lupato',25 'aand',26 'ah01e',27 'ah0le',28 'aho1e',29 'ahole',30 'al1upat0',31 'al1upato',32 'allupat0',33 'allupato',34 'ana1',35 'ana1e',36 'anal',37 'anale',38 'anus',39 'arrapat0',40 'arrapato',41 'arsch',42 'arse',43 'ass',44 'b00b',45 'b00be',46 'b01ata',47 'b0ceta',48 'b0iata',49 'b0ob',50 'b0obe',51 'b0sta',52 'b1tch',53 'b1te',54 'b1tte',55 'ba1atkar',56 'balatkar',57 'bastard0',58 'bastardo',59 'batt0na',60 'battona',61 'bitch',62 'bite',63 'bitte',64 'bo0b',65 'bo0be',66 'bo1ata',67 'boceta',68 'boiata',69 'boob',70 'boobe',71 'bosta',72 'bran1age',73 'bran1er',74 'bran1ette',75 'bran1eur',76 'bran1euse',77 'branlage',78 'branler',79 'branlette',80 'branleur',81 'branleuse',82 'c0ck',83 'c0g110ne',84 'c0g11one',85 'c0g1i0ne',86 'c0g1ione',87 'c0gl10ne',88 'c0gl1one',89 'c0gli0ne',90 'c0glione',91 'c0na',92 'c0nnard',93 'c0nnasse',94 'c0nne',95 'c0u111es',96 'c0u11les',97 'c0u1l1es',98 'c0u1lles',99 'c0ui11es',100 'c0ui1les',101 'c0uil1es',102 'c0uilles',103 'c11t',104 'c11t0',105 'c11to',106 'c1it',107 'c1it0',108 'c1ito',109 'cabr0n',110 'cabra0',111 'cabrao',112 'cabron',113 'caca',114 'cacca',115 'cacete',116 'cagante',117 'cagar',118 'cagare',119 'cagna',120 'cara1h0',121 'cara1ho',122 'caracu10',123 'caracu1o',124 'caracul0',125 'caraculo',126 'caralh0',127 'caralho',128 'cazz0',129 'cazz1mma',130 'cazzata',131 'cazzimma',132 'cazzo',133 'ch00t1a',134 'ch00t1ya',135 'ch00tia',136 'ch00tiya',137 'ch0d',138 'ch0ot1a',139 'ch0ot1ya',140 'ch0otia',141 'ch0otiya',142 'ch1asse',143 'ch1avata',144 'ch1er',145 'ch1ng0',146 'ch1ngadaz0s',147 'ch1ngadazos',148 'ch1ngader1ta',149 'ch1ngaderita',150 'ch1ngar',151 'ch1ngo',152 'ch1ngues',153 'ch1nk',154 'chatte',155 'chiasse',156 'chiavata',157 'chier',158 'ching0',159 'chingadaz0s',160 'chingadazos',161 'chingader1ta',162 'chingaderita',163 'chingar',164 'chingo',165 'chingues',166 'chink',167 'cho0t1a',168 'cho0t1ya',169 'cho0tia',170 'cho0tiya',171 'chod',172 'choot1a',173 'choot1ya',174 'chootia',175 'chootiya',176 'cl1t',177 'cl1t0',178 'cl1to',179 'clit',180 'clit0',181 'clito',182 'cock',183 'cog110ne',184 'cog11one',185 'cog1i0ne',186 'cog1ione',187 'cogl10ne',188 'cogl1one',189 'cogli0ne',190 'coglione',191 'cona',192 'connard',193 'connasse',194 'conne',195 'cou111es',196 'cou11les',197 'cou1l1es',198 'cou1lles',199 'coui11es',200 'coui1les',201 'couil1es',202 'couilles',203 'cracker',204 'crap',205 'cu10',206 'cu1att0ne',207 'cu1attone',208 'cu1er0',209 'cu1ero',210 'cu1o',211 'cul0',212 'culatt0ne',213 'culattone',214 'culer0',215 'culero',216 'culo',217 'cum',218 'cunt',219 'd11d0',220 'd11do',221 'd1ck',222 'd1ld0',223 'd1ldo',224 'damn',225 'de1ch',226 'deich',227 'depp',228 'di1d0',229 'di1do',230 'dick',231 'dild0',232 'dildo',233 'dyke',234 'encu1e',235 'encule',236 'enema',237 'enf01re',238 'enf0ire',239 'enfo1re',240 'enfoire',241 'estup1d0',242 'estup1do',243 'estupid0',244 'estupido',245 'etr0n',246 'etron',247 'f0da',248 'f0der',249 'f0ttere',250 'f0tters1',251 'f0ttersi',252 'f0tze',253 'f0utre',254 'f1ca',255 'f1cker',256 'f1ga',257 'fag',258 'fica',259 'ficker',260 'figa',261 'foda',262 'foder',263 'fottere',264 'fotters1',265 'fottersi',266 'fotze',267 'foutre',268 'fr0c10',269 'fr0c1o',270 'fr0ci0',271 'fr0cio',272 'fr0sc10',273 'fr0sc1o',274 'fr0sci0',275 'fr0scio',276 'froc10',277 'froc1o',278 'froci0',279 'frocio',280 'frosc10',281 'frosc1o',282 'frosci0',283 'froscio',284 'fuck',285 'g00',286 'g0o',287 'g0u1ne',288 'g0uine',289 'gandu',290 'go0',291 'goo',292 'gou1ne',293 'gouine',294 'gr0gnasse',295 'grognasse',296 'haram1',297 'harami',298 'haramzade',299 'hund1n',300 'hundin',301 'id10t',302 'id1ot',303 'idi0t',304 'idiot',305 'imbec11e',306 'imbec1le',307 'imbeci1e',308 'imbecile',309 'j1zz',310 'jerk',311 'jizz',312 'k1ke',313 'kam1ne',314 'kamine',315 'kike',316 'leccacu10',317 'leccacu1o',318 'leccacul0',319 'leccaculo',320 'm1erda',321 'm1gn0tta',322 'm1gnotta',323 'm1nch1a',324 'm1nchia',325 'm1st',326 'mam0n',327 'mamahuev0',328 'mamahuevo',329 'mamon',330 'masturbat10n',331 'masturbat1on',332 'masturbate',333 'masturbati0n',334 'masturbation',335 'merd0s0',336 'merd0so',337 'merda',338 'merde',339 'merdos0',340 'merdoso',341 'mierda',342 'mign0tta',343 'mignotta',344 'minch1a',345 'minchia',346 'mist',347 'musch1',348 'muschi',349 'n1gger',350 'neger',351 'negr0',352 'negre',353 'negro',354 'nerch1a',355 'nerchia',356 'nigger',357 'orgasm',358 'p00p',359 'p011a',360 'p01la',361 'p0l1a',362 'p0lla',363 'p0mp1n0',364 'p0mp1no',365 'p0mpin0',366 'p0mpino',367 'p0op',368 'p0rca',369 'p0rn',370 'p0rra',371 'p0uff1asse',372 'p0uffiasse',373 'p1p1',374 'p1pi',375 'p1r1a',376 'p1rla',377 'p1sc10',378 'p1sc1o',379 'p1sci0',380 'p1scio',381 'p1sser',382 'pa11e',383 'pa1le',384 'pal1e',385 'palle',386 'pane1e1r0',387 'pane1e1ro',388 'pane1eir0',389 'pane1eiro',390 'panele1r0',391 'panele1ro',392 'paneleir0',393 'paneleiro',394 'patakha',395 'pec0r1na',396 'pec0rina',397 'pecor1na',398 'pecorina',399 'pen1s',400 'pendej0',401 'pendejo',402 'penis',403 'pip1',404 'pipi',405 'pir1a',406 'pirla',407 'pisc10',408 'pisc1o',409 'pisci0',410 'piscio',411 'pisser',412 'po0p',413 'po11a',414 'po1la',415 'pol1a',416 'polla',417 'pomp1n0',418 'pomp1no',419 'pompin0',420 'pompino',421 'poop',422 'porca',423 'porn',424 'porra',425 'pouff1asse',426 'pouffiasse',427 'pr1ck',428 'prick',429 'pussy',430 'put1za',431 'puta',432 'puta1n',433 'putain',434 'pute',435 'putiza',436 'puttana',437 'queca',438 'r0mp1ba11e',439 'r0mp1ba1le',440 'r0mp1bal1e',441 'r0mp1balle',442 'r0mpiba11e',443 'r0mpiba1le',444 'r0mpibal1e',445 'r0mpiballe',446 'rand1',447 'randi',448 'rape',449 'recch10ne',450 'recch1one',451 'recchi0ne',452 'recchione',453 'retard',454 'romp1ba11e',455 'romp1ba1le',456 'romp1bal1e',457 'romp1balle',458 'rompiba11e',459 'rompiba1le',460 'rompibal1e',461 'rompiballe',462 'ruff1an0',463 'ruff1ano',464 'ruffian0',465 'ruffiano',466 's1ut',467 'sa10pe',468 'sa1aud',469 'sa1ope',470 'sacanagem',471 'sal0pe',472 'salaud',473 'salope',474 'saugnapf',475 'sb0rr0ne',476 'sb0rra',477 'sb0rrone',478 'sbattere',479 'sbatters1',480 'sbattersi',481 'sborr0ne',482 'sborra',483 'sborrone',484 'sc0pare',485 'sc0pata',486 'sch1ampe',487 'sche1se',488 'sche1sse',489 'scheise',490 'scheisse',491 'schlampe',492 'schwachs1nn1g',493 'schwachs1nnig',494 'schwachsinn1g',495 'schwachsinnig',496 'schwanz',497 'scopare',498 'scopata',499 'sexy',500 'sh1t',501 'shit',502 'slut',503 'sp0mp1nare',504 'sp0mpinare',505 'spomp1nare',506 'spompinare',507 'str0nz0',508 'str0nza',509 'str0nzo',510 'stronz0',511 'stronza',512 'stronzo',513 'stup1d',514 'stupid',515 'succh1am1',516 'succh1ami',517 'succhiam1',518 'succhiami',519 'sucker',520 't0pa',521 'tapette',522 'test1c1e',523 'test1cle',524 'testic1e',525 'testicle',526 'tette',527 'topa',528 'tr01a',529 'tr0ia',530 'tr0mbare',531 'tr1ng1er',532 'tr1ngler',533 'tring1er',534 'tringler',535 'tro1a',536 'troia',537 'trombare',538 'turd',539 'twat',540 'vaffancu10',541 'vaffancu1o',542 'vaffancul0',543 'vaffanculo',544 'vag1na',545 'vagina',546 'verdammt',547 'verga',548 'w1chsen',549 'wank',550 'wichsen',551 'x0ch0ta',552 'x0chota',553 'xana',554 'xoch0ta',555 'xochota',556 'z0cc01a',557 'z0cc0la',558 'z0cco1a',559 'z0ccola',560 'z1z1',561 'z1zi',562 'ziz1',563 'zizi',564 'zocc01a',565 'zocc0la',566 'zocco1a',567 'zoccola',568 ]),569};570class Sqids {571 constructor(options) {572 var _a, _b, _c;573 const alphabet = (_a = options === null || options === void 0 ? void 0 : options.alphabet) !== null && _a !== void 0 ? _a : exports.defaultOptions.alphabet;574 const minLength = (_b = options === null || options === void 0 ? void 0 : options.minLength) !== null && _b !== void 0 ? _b : exports.defaultOptions.minLength;575 const blocklist = (_c = options === null || options === void 0 ? void 0 : options.blocklist) !== null && _c !== void 0 ? _c : exports.defaultOptions.blocklist;576 if (new Blob([alphabet]).size !== alphabet.length) {577 throw new Error('Alphabet cannot contain multibyte characters');578 }579 const minAlphabetLength = 3;580 if (alphabet.length < minAlphabetLength) {581 throw new Error(`Alphabet length must be at least ${minAlphabetLength}`);582 }583 if (new Set(alphabet).size !== alphabet.length) {584 throw new Error('Alphabet must contain unique characters');585 }586 const minLengthLimit = 255;587 if (typeof minLength !== 'number' ||588 minLength < 0 ||589 minLength > minLengthLimit) {590 throw new Error(`Minimum length has to be between 0 and ${minLengthLimit}`);591 }592 const filteredBlocklist = new Set();593 const alphabetChars = alphabet.toLowerCase().split('');594 for (const word of blocklist) {595 if (word.length >= 3) {596 const wordLowercased = word.toLowerCase();597 const wordChars = wordLowercased.split('');598 const intersection = wordChars.filter((c) => alphabetChars.includes(c));599 if (intersection.length === wordChars.length) {600 filteredBlocklist.add(wordLowercased);601 }602 }603 }604 this.alphabet = this.shuffle(alphabet);605 this.minLength = minLength;606 this.blocklist = filteredBlocklist;607 }608 encode(numbers) {609 if (numbers.length === 0) {610 return '';611 }612 const inRangeNumbers = numbers.filter((n) => n >= 0 && n <= this.maxValue());613 if (inRangeNumbers.length !== numbers.length) {614 throw new Error(`Encoding supports numbers between 0 and ${this.maxValue()}`);615 }616 return this.encodeNumbers(numbers);617 }618 decode(id) {619 const ret = [];620 if (id === '') {621 return ret;622 }623 const alphabetChars = this.alphabet.split('');624 for (const c of id.split('')) {625 if (!alphabetChars.includes(c)) {626 return ret;627 }628 }629 const prefix = id.charAt(0);630 const offset = this.alphabet.indexOf(prefix);631 let alphabet = this.alphabet.slice(offset) + this.alphabet.slice(0, offset);632 alphabet = alphabet.split('').reverse().join('');633 let slicedId = id.slice(1);634 while (slicedId.length > 0) {635 const separator = alphabet.slice(0, 1);636 const chunks = slicedId.split(separator);637 if (chunks.length > 0) {638 if (chunks[0] === '') {639 return ret;640 }641 ret.push(this.toNumber(chunks[0], alphabet.slice(1)));642 if (chunks.length > 1) {643 alphabet = this.shuffle(alphabet);644 }645 }646 slicedId = chunks.slice(1).join(separator);647 }648 return ret;649 }650 encodeNumbers(numbers, increment = 0) {651 if (increment > this.alphabet.length) {652 throw new Error('Reached max attempts to re-generate the ID');653 }654 let offset = numbers.reduce((a, v, i) => this.alphabet[v % this.alphabet.length].codePointAt(0) + i + a, numbers.length) % this.alphabet.length;655 offset = (offset + increment) % this.alphabet.length;656 let alphabet = this.alphabet.slice(offset) + this.alphabet.slice(0, offset);657 const prefix = alphabet.charAt(0);658 alphabet = alphabet.split('').reverse().join('');659 const ret = [prefix];660 for (let i = 0; i !== numbers.length; i++) {661 const num = numbers[i];662 ret.push(this.toId(num, alphabet.slice(1)));663 if (i < numbers.length - 1) {664 ret.push(alphabet.slice(0, 1));665 alphabet = this.shuffle(alphabet);666 }667 }668 let id = ret.join('');669 if (this.minLength > id.length) {670 id += alphabet.slice(0, 1);671 while (this.minLength - id.length > 0) {672 alphabet = this.shuffle(alphabet);673 id += alphabet.slice(0, Math.min(this.minLength - id.length, alphabet.length));674 }675 }676 if (this.isBlockedId(id)) {677 id = this.encodeNumbers(numbers, increment + 1);678 }679 return id;680 }681 shuffle(alphabet) {682 const chars = alphabet.split('');683 for (let i = 0, j = chars.length - 1; j > 0; i++, j--) {684 const r = (i * j + chars[i].codePointAt(0) + chars[j].codePointAt(0)) %685 chars.length;686 [chars[i], chars[r]] = [chars[r], chars[i]];687 }688 return chars.join('');689 }690 toId(num, alphabet) {691 const id = [];692 const chars = alphabet.split('');693 let result = num;694 do {695 id.unshift(chars[result % chars.length]);696 result = Math.floor(result / chars.length);697 } while (result > 0);698 return id.join('');699 }700 toNumber(id, alphabet) {701 const chars = alphabet.split('');702 return id.split('').reduce((a, v) => a * chars.length + chars.indexOf(v), 0);703 }704 isBlockedId(id) {705 const lowercaseId = id.toLowerCase();706 for (const word of this.blocklist) {707 if (word.length <= lowercaseId.length) {708 if (lowercaseId.length <= 3 || word.length <= 3) {709 if (lowercaseId === word) {710 return true;711 }712 }713 else if (/\d/.test(word)) {714 if (lowercaseId.startsWith(word) || lowercaseId.endsWith(word)) {715 return true;716 }717 }718 else if (lowercaseId.includes(word)) {719 return true;720 }721 }722 }723 return false;724 }725 maxValue() {726 return Number.MAX_SAFE_INTEGER;727 }728}729exports.default = Sqids;730//# sourceMappingURL=sqids.js.map