Spaces:
Running
Running
Create organizations.ts
Browse files- src/constants/organizations.ts +141 -0
src/constants/organizations.ts
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { ProviderInfo } from "../types/heatmap";
|
2 |
+
|
3 |
+
// Function to generate evenly distributed colors
|
4 |
+
function generateUniqueColors(count: number): string[] {
|
5 |
+
const colors: string[] = [];
|
6 |
+
|
7 |
+
for (let i = 0; i < count; i++) {
|
8 |
+
// Use golden ratio for better distribution
|
9 |
+
const goldenRatio = 0.618033988749895;
|
10 |
+
const hue = (i * goldenRatio * 360) % 360;
|
11 |
+
|
12 |
+
// Vary saturation and lightness for more variety
|
13 |
+
const saturation = 65 + (i % 4) * 8; // 65-89%
|
14 |
+
const lightness = 45 + ((i % 3) * 7); // 45-59%
|
15 |
+
|
16 |
+
// Convert HSL to RGB
|
17 |
+
const h = hue / 360;
|
18 |
+
const s = saturation / 100;
|
19 |
+
const l = lightness / 100;
|
20 |
+
|
21 |
+
const hue2rgb = (p: number, q: number, t: number) => {
|
22 |
+
if (t < 0) t += 1;
|
23 |
+
if (t > 1) t -= 1;
|
24 |
+
if (t < 1/6) return p + (q - p) * 6 * t;
|
25 |
+
if (t < 1/2) return q;
|
26 |
+
if (t < 2/3) return p + (q - p) * (2/3 - t) * 6;
|
27 |
+
return p;
|
28 |
+
};
|
29 |
+
|
30 |
+
const q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
31 |
+
const p = 2 * l - q;
|
32 |
+
|
33 |
+
const r = Math.round(hue2rgb(p, q, h + 1/3) * 255);
|
34 |
+
const g = Math.round(hue2rgb(p, q, h) * 255);
|
35 |
+
const b = Math.round(hue2rgb(p, q, h - 1/3) * 255);
|
36 |
+
|
37 |
+
colors.push(`#${r.toString(16).padStart(2, '0')}${g.toString(16).padStart(2, '0')}${b.toString(16).padStart(2, '0')}`);
|
38 |
+
}
|
39 |
+
|
40 |
+
return colors;
|
41 |
+
}
|
42 |
+
|
43 |
+
// Generate 94 unique colors
|
44 |
+
const uniqueColors = generateUniqueColors(94);
|
45 |
+
|
46 |
+
export const ORGANIZATIONS: ProviderInfo[] = [
|
47 |
+
{ color: uniqueColors[0], authors: ["openfree","VIDraft","seawolf2357","ginigen","ginipick","fantaxy","fantos","aiqtech","aiqcamp","Heartsync","immunobiotech","kolaslab"] },
|
48 |
+
{ color: uniqueColors[1], authors: ["kakaobrain"] },
|
49 |
+
{ color: uniqueColors[2], authors: ["NCSOFT"] },
|
50 |
+
{ color: uniqueColors[3], authors: ["upstage"] },
|
51 |
+
{ color: uniqueColors[4], authors: ["moreh"] },
|
52 |
+
{ color: uniqueColors[5], authors: ["LGAI-EXAONE"] },
|
53 |
+
{ color: uniqueColors[6], authors: ["naver-hyperclovax"] },
|
54 |
+
{ color: uniqueColors[7], authors: ["OnomaAIResearch"] },
|
55 |
+
{ color: uniqueColors[8], authors: ["kakaocorp"] },
|
56 |
+
{ color: uniqueColors[9], authors: ["Baidu","PaddlePaddle"] },
|
57 |
+
{ color: uniqueColors[10], authors: ["tencent"] },
|
58 |
+
{ color: uniqueColors[11], authors: ["BAAI"] },
|
59 |
+
{ color: uniqueColors[12], authors: ["OpenGVLab","InternLM"] },
|
60 |
+
{ color: uniqueColors[13], authors: ["Skywork"] },
|
61 |
+
{ color: uniqueColors[14], authors: ["MiniMaxAI"] },
|
62 |
+
{ color: uniqueColors[15], authors: ["stepfun-ai"] },
|
63 |
+
{ color: uniqueColors[16], authors: ["ByteDance","Bytedance Seed","bytedance-research"]},
|
64 |
+
{ color: uniqueColors[17], authors: ["openbmb"] },
|
65 |
+
{ color: uniqueColors[18], authors: ["THUDM"] },
|
66 |
+
{ color: uniqueColors[19], authors: ["rednote-hilab"] },
|
67 |
+
{ color: uniqueColors[20], authors: ["deepseek-ai"] },
|
68 |
+
{ color: uniqueColors[21], authors: ["Qwen", "wan-ai"]},
|
69 |
+
{ color: uniqueColors[22], authors: ["XiaomiMiMo"] },
|
70 |
+
{ color: uniqueColors[23], authors: ["IndexTeam"] },
|
71 |
+
{ color: uniqueColors[24], authors: ["John6666"] },
|
72 |
+
{ color: uniqueColors[25], authors: ["Nymbo"] },
|
73 |
+
{ color: uniqueColors[26], authors: ["MaziyarPanahi"] },
|
74 |
+
{ color: uniqueColors[27], authors: ["prithivMLmods"] },
|
75 |
+
{ color: uniqueColors[28], authors: ["fffiloni"] },
|
76 |
+
{ color: uniqueColors[29], authors: ["gokaygokay"] },
|
77 |
+
{ color: uniqueColors[30], authors: ["enzostvs"] },
|
78 |
+
{ color: uniqueColors[31], authors: ["black-forest-labs"] },
|
79 |
+
{ color: uniqueColors[32], authors: ["lllyasviel"] },
|
80 |
+
{ color: uniqueColors[33], authors: ["briaai"] },
|
81 |
+
{ color: uniqueColors[34], authors: ["multimodalart"] },
|
82 |
+
{ color: uniqueColors[35], authors: ["unsloth"] },
|
83 |
+
{ color: uniqueColors[36], authors: ["Xenova"] },
|
84 |
+
{ color: uniqueColors[37], authors: ["mistralai"] },
|
85 |
+
{ color: uniqueColors[38], authors: ["meta-llama","facebook"] },
|
86 |
+
{ color: uniqueColors[39], authors: ["openai"] },
|
87 |
+
{ color: uniqueColors[40], authors: ["Anthropic"] },
|
88 |
+
{ color: uniqueColors[41], authors: ["google"] },
|
89 |
+
{ color: uniqueColors[42], authors: ["allenai"] },
|
90 |
+
{ color: uniqueColors[43], authors: ["apple"] },
|
91 |
+
{ color: uniqueColors[44], authors: ["microsoft"] },
|
92 |
+
{ color: uniqueColors[45], authors: ["nvidia"] },
|
93 |
+
{ color: uniqueColors[46], authors: ["CohereLabs"] },
|
94 |
+
{ color: uniqueColors[47], authors: ["ibm-granite"] },
|
95 |
+
{ color: uniqueColors[48], authors: ["stabilityai"] },
|
96 |
+
{ color: uniqueColors[49], authors: ["huggingface", "OpenEvals", "HuggingFaceTB","HuggingFaceH4", "HuggingFaceM4", "HuggingFaceFW", "HuggingFaceFV","open-r1","parler-tts","nanotron","lerobot","distilbert"] },
|
97 |
+
{ color: uniqueColors[50], authors: ["agents-course"] },
|
98 |
+
{ color: uniqueColors[51], authors: ["Agents-MCP-Hackathon"] },
|
99 |
+
{ color: uniqueColors[52], authors: ["akhaliq"] },
|
100 |
+
{ color: uniqueColors[53], authors: ["alexnasa"] },
|
101 |
+
{ color: uniqueColors[54], authors: ["Alibaba-NLP"] },
|
102 |
+
{ color: uniqueColors[55], authors: ["ArtificialAnalysis"] },
|
103 |
+
{ color: uniqueColors[56], authors: ["bartowski"] },
|
104 |
+
{ color: uniqueColors[57], authors: ["bibibi12345"] },
|
105 |
+
{ color: uniqueColors[58], authors: ["calcuis"] },
|
106 |
+
{ color: uniqueColors[59], authors: ["ChenDY"] },
|
107 |
+
{ color: uniqueColors[60], authors: ["city96"] },
|
108 |
+
{ color: uniqueColors[61], authors: ["Comfy-Org"] },
|
109 |
+
{ color: uniqueColors[62], authors: ["fancyfeast"] },
|
110 |
+
{ color: uniqueColors[63], authors: ["fal"] },
|
111 |
+
{ color: uniqueColors[64], authors: ["hf-audio"] },
|
112 |
+
{ color: uniqueColors[65], authors: ["huggingface-projects"] },
|
113 |
+
{ color: uniqueColors[66], authors: ["hysts"] },
|
114 |
+
{ color: uniqueColors[67], authors: ["intfloat"] },
|
115 |
+
{ color: uniqueColors[68], authors: ["jbilcke-hf"] },
|
116 |
+
{ color: uniqueColors[69], authors: ["jinaai"] },
|
117 |
+
{ color: uniqueColors[70], authors: ["Kwai-Kolors"] },
|
118 |
+
{ color: uniqueColors[71], authors: ["kyutai"] },
|
119 |
+
{ color: uniqueColors[72], authors: ["leonelhs"] },
|
120 |
+
{ color: uniqueColors[73], authors: ["Menlo"] },
|
121 |
+
{ color: uniqueColors[74], authors: ["merve"] },
|
122 |
+
{ color: uniqueColors[75], authors: ["mlabonne"] },
|
123 |
+
{ color: uniqueColors[76], authors: ["MohamedRashad"] },
|
124 |
+
{ color: uniqueColors[77], authors: ["mrfakename"] },
|
125 |
+
{ color: uniqueColors[78], authors: ["ostris"] },
|
126 |
+
{ color: uniqueColors[79], authors: ["QuantStack"] },
|
127 |
+
{ color: uniqueColors[80], authors: ["r3gm"] },
|
128 |
+
{ color: uniqueColors[81], authors: ["Salesforce"] },
|
129 |
+
{ color: uniqueColors[82], authors: ["sentence-transformers"] },
|
130 |
+
{ color: uniqueColors[83], authors: ["Shakker-Labs"] },
|
131 |
+
{ color: uniqueColors[84], authors: ["skytnt"] },
|
132 |
+
{ color: uniqueColors[85], authors: ["strangerzonehf"] },
|
133 |
+
{ color: uniqueColors[86], authors: ["TheStinger"] },
|
134 |
+
{ color: uniqueColors[87], authors: ["tonyassi"] },
|
135 |
+
{ color: uniqueColors[88], authors: ["VAST-AI"] },
|
136 |
+
{ color: uniqueColors[89], authors: ["victor"] },
|
137 |
+
{ color: uniqueColors[90], authors: ["webml-community"] },
|
138 |
+
{ color: uniqueColors[91], authors: ["WeShopAI"] },
|
139 |
+
{ color: uniqueColors[92], authors: ["XLabs-AI"] },
|
140 |
+
{ color: uniqueColors[93], authors: ["zama-fhe"] },
|
141 |
+
];
|