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
HashSet.js56 linesDownload Raw Back to util
1var UniqueIDGeneretor = require('./UniqueIDGeneretor');
2
3function HashSet() {
4  this.set = {};
5}
6;
7
8HashSet.prototype.add = function (obj) {
9  var theId = UniqueIDGeneretor.createID(obj);
10  if (!this.contains(theId))
11    this.set[theId] = obj;
12};
13
14HashSet.prototype.remove = function (obj) {
15  delete this.set[UniqueIDGeneretor.createID(obj)];
16};
17
18HashSet.prototype.clear = function () {
19  this.set = {};
20};
21
22HashSet.prototype.contains = function (obj) {
23  return this.set[UniqueIDGeneretor.createID(obj)] == obj;
24};
25
26HashSet.prototype.isEmpty = function () {
27  return this.size() === 0;
28};
29
30HashSet.prototype.size = function () {
31  return Object.keys(this.set).length;
32};
33
34//concats this.set to the given list
35HashSet.prototype.addAllTo = function (list) {
36  var keys = Object.keys(this.set);
37  var length = keys.length;
38  for (var i = 0; i < length; i++) {
39    list.push(this.set[keys[i]]);
40  }
41};
42
43HashSet.prototype.size = function () {
44  return Object.keys(this.set).length;
45};
46
47HashSet.prototype.addAll = function (list) {
48  var s = list.length;
49  for (var i = 0; i < s; i++) {
50    var v = list[i];
51    this.add(v);
52  }
53};
54
55module.exports = HashSet;
56 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai