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
n1ql.js366 linesDownload Raw Back to languages
1/*2 Language: N1QL3 Author: Andres Täht <andres.taht@gmail.com>4 Contributors: Rene Saarsoo <nene@triin.net>5 Description: Couchbase query language6 Website: https://www.couchbase.com/products/n1ql7 Category: database8 */9 10function n1ql(hljs) {11  // Taken from http://developer.couchbase.com/documentation/server/current/n1ql/n1ql-language-reference/reservedwords.html12  const KEYWORDS = [13    "all",14    "alter",15    "analyze",16    "and",17    "any",18    "array",19    "as",20    "asc",21    "begin",22    "between",23    "binary",24    "boolean",25    "break",26    "bucket",27    "build",28    "by",29    "call",30    "case",31    "cast",32    "cluster",33    "collate",34    "collection",35    "commit",36    "connect",37    "continue",38    "correlate",39    "cover",40    "create",41    "database",42    "dataset",43    "datastore",44    "declare",45    "decrement",46    "delete",47    "derived",48    "desc",49    "describe",50    "distinct",51    "do",52    "drop",53    "each",54    "element",55    "else",56    "end",57    "every",58    "except",59    "exclude",60    "execute",61    "exists",62    "explain",63    "fetch",64    "first",65    "flatten",66    "for",67    "force",68    "from",69    "function",70    "grant",71    "group",72    "gsi",73    "having",74    "if",75    "ignore",76    "ilike",77    "in",78    "include",79    "increment",80    "index",81    "infer",82    "inline",83    "inner",84    "insert",85    "intersect",86    "into",87    "is",88    "join",89    "key",90    "keys",91    "keyspace",92    "known",93    "last",94    "left",95    "let",96    "letting",97    "like",98    "limit",99    "lsm",100    "map",101    "mapping",102    "matched",103    "materialized",104    "merge",105    "minus",106    "namespace",107    "nest",108    "not",109    "number",110    "object",111    "offset",112    "on",113    "option",114    "or",115    "order",116    "outer",117    "over",118    "parse",119    "partition",120    "password",121    "path",122    "pool",123    "prepare",124    "primary",125    "private",126    "privilege",127    "procedure",128    "public",129    "raw",130    "realm",131    "reduce",132    "rename",133    "return",134    "returning",135    "revoke",136    "right",137    "role",138    "rollback",139    "satisfies",140    "schema",141    "select",142    "self",143    "semi",144    "set",145    "show",146    "some",147    "start",148    "statistics",149    "string",150    "system",151    "then",152    "to",153    "transaction",154    "trigger",155    "truncate",156    "under",157    "union",158    "unique",159    "unknown",160    "unnest",161    "unset",162    "update",163    "upsert",164    "use",165    "user",166    "using",167    "validate",168    "value",169    "valued",170    "values",171    "via",172    "view",173    "when",174    "where",175    "while",176    "with",177    "within",178    "work",179    "xor"180  ];181  // Taken from http://developer.couchbase.com/documentation/server/4.5/n1ql/n1ql-language-reference/literals.html182  const LITERALS = [183    "true",184    "false",185    "null",186    "missing|5"187  ];188  // Taken from http://developer.couchbase.com/documentation/server/4.5/n1ql/n1ql-language-reference/functions.html189  const BUILT_INS = [190    "array_agg",191    "array_append",192    "array_concat",193    "array_contains",194    "array_count",195    "array_distinct",196    "array_ifnull",197    "array_length",198    "array_max",199    "array_min",200    "array_position",201    "array_prepend",202    "array_put",203    "array_range",204    "array_remove",205    "array_repeat",206    "array_replace",207    "array_reverse",208    "array_sort",209    "array_sum",210    "avg",211    "count",212    "max",213    "min",214    "sum",215    "greatest",216    "least",217    "ifmissing",218    "ifmissingornull",219    "ifnull",220    "missingif",221    "nullif",222    "ifinf",223    "ifnan",224    "ifnanorinf",225    "naninf",226    "neginfif",227    "posinfif",228    "clock_millis",229    "clock_str",230    "date_add_millis",231    "date_add_str",232    "date_diff_millis",233    "date_diff_str",234    "date_part_millis",235    "date_part_str",236    "date_trunc_millis",237    "date_trunc_str",238    "duration_to_str",239    "millis",240    "str_to_millis",241    "millis_to_str",242    "millis_to_utc",243    "millis_to_zone_name",244    "now_millis",245    "now_str",246    "str_to_duration",247    "str_to_utc",248    "str_to_zone_name",249    "decode_json",250    "encode_json",251    "encoded_size",252    "poly_length",253    "base64",254    "base64_encode",255    "base64_decode",256    "meta",257    "uuid",258    "abs",259    "acos",260    "asin",261    "atan",262    "atan2",263    "ceil",264    "cos",265    "degrees",266    "e",267    "exp",268    "ln",269    "log",270    "floor",271    "pi",272    "power",273    "radians",274    "random",275    "round",276    "sign",277    "sin",278    "sqrt",279    "tan",280    "trunc",281    "object_length",282    "object_names",283    "object_pairs",284    "object_inner_pairs",285    "object_values",286    "object_inner_values",287    "object_add",288    "object_put",289    "object_remove",290    "object_unwrap",291    "regexp_contains",292    "regexp_like",293    "regexp_position",294    "regexp_replace",295    "contains",296    "initcap",297    "length",298    "lower",299    "ltrim",300    "position",301    "repeat",302    "replace",303    "rtrim",304    "split",305    "substr",306    "title",307    "trim",308    "upper",309    "isarray",310    "isatom",311    "isboolean",312    "isnumber",313    "isobject",314    "isstring",315    "type",316    "toarray",317    "toatom",318    "toboolean",319    "tonumber",320    "toobject",321    "tostring"322  ];323 324  return {325    name: 'N1QL',326    case_insensitive: true,327    contains: [328      {329        beginKeywords:330          'build create index delete drop explain infer|10 insert merge prepare select update upsert|10',331        end: /;/,332        keywords: {333          keyword: KEYWORDS,334          literal: LITERALS,335          built_in: BUILT_INS336        },337        contains: [338          {339            className: 'string',340            begin: '\'',341            end: '\'',342            contains: [ hljs.BACKSLASH_ESCAPE ]343          },344          {345            className: 'string',346            begin: '"',347            end: '"',348            contains: [ hljs.BACKSLASH_ESCAPE ]349          },350          {351            className: 'symbol',352            begin: '`',353            end: '`',354            contains: [ hljs.BACKSLASH_ESCAPE ]355          },356          hljs.C_NUMBER_MODE,357          hljs.C_BLOCK_COMMENT_MODE358        ]359      },360      hljs.C_BLOCK_COMMENT_MODE361    ]362  };363}364 365export { n1ql as default };366 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai