Spaces:
Running
Running
moxhi 95dca08
Browse files- assets/{bench-B2Z0sr2_.js → bench-1xfW6bwf.js} +11 -11
- assets/hanviet_data-DivPLpiI.js +0 -0
- assets/index-DOgWbOaH.js +0 -0
- assets/main-CK4bXNWD.css +0 -1
- assets/main-CSyTzukZ.js +0 -0
- assets/main-DUB1sqLl.js +0 -0
- assets/main-DVC4X1hK.css +1 -0
- assets/names_data-nngCF4q7.js +0 -0
- assets/{autotune-ZCGTapUs.js → preload-helper-DiAwoGSG.js} +0 -0
- assets/{reference-BxXr9VhE.js → reference-B1blnTed.js} +0 -0
- bench.html +2 -2
- index.html +3 -3
- model-d8/vocab.txt +0 -0
- model-d8/weights/manifest.json +1504 -0
- model-d8/weights/weights.9cd23b6c8488.p0.bin +3 -0
- model-d8/weights/weights.9cd23b6c8488.p1.bin +3 -0
- sw.js +4 -4
assets/{bench-B2Z0sr2_.js → bench-1xfW6bwf.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/reference-
|
| 2 |
-
import"./modulepreload-polyfill-B5Qt9EMX.js";import{E as G,t as
|
| 3 |
`).split(`
|
| 4 |
-
`),c=[],n=[],
|
| 5 |
|
| 6 |
暮色沉沉,秋雨初歇。断魂崖下的山道上,一行五骑冒着湿冷的山风缓缓而行。为首的正是青城派大弟子沈孤鸿,他勒住缰绳,抬头望了望崖顶那株歪脖老松,眉头微微一皱。三年前师父便是在此处失踪的,尸骨无存,只留下半截断剑。断剑如今就贴身藏在他怀中,隔着三层油布,仍似有一股寒意透出来,时时提醒着他此行的真正目的。
|
| 7 |
|
|
@@ -34,7 +34,7 @@ import"./modulepreload-polyfill-B5Qt9EMX.js";import{E as G,t as V,a as J,m as z,
|
|
| 34 |
赵师叔趁乱引着柳如烟等人坠下涧底,冰冷的涧水没过头顶的一瞬,柳如烟犹自回头,只见崖畔两道身影在电光中分而复合,合而复分,那柄断剑的寒芒每一次亮起都比前一次更接近咽喉,也更接近深渊,她张口想喊,灌进来的却只有一口冰水,赵师叔死死攥住她的手腕,两人顺着湍流向下游卷去,耳边的厮杀声、雷声、马嘶声渐渐都被水声吞没,唯有那一点剑芒烙在她眼底,任凭涧水如何冲刷也冲刷不去,多年以后她仍会在雨夜里惊醒,梦见那点寒星坠向无底的黑暗。
|
| 35 |
|
| 36 |
那一夜断魂崖的厮杀声直到五更方歇。后来江湖上有人说,曾见一个青衫剑客独战数百人,剑折之后夺刀再战,刀卷之后赤手空拳;也有人说,天明时分崖下的涧水都是红的。唯一可以确证的是,半月之后,一份写满名字的血书送到了武林盟主的案头,落款只有八个字:青城沈氏,以剑为凭。自那以后,川中道上再无血狼堡的旗号,而断魂崖顶的老松之下,多了一座无碑的剑冢,年年秋深,总有人遥遥望见一个白衣女子在冢前置酒三杯,风雨无阻。
|
| 37 |
-
`,sn=["刀出如龙,寒气逼人。","他在桥头站了一夜。","“放下剑,我饶你不死。”","钟声响起,山门缓缓开启。","她的暗器从不落空。","灯火摇曳,人影散乱。","一杯酒,敬当年的兄弟。","掌风过处,烛火尽灭。","他背上的伤疤又开始疼了。","“来者何人,报上名来!”","雪落无声,剑亦无声。","这条路,他走了半生。","密道尽头透出一线微光。","恩人一诺,死生不忘。","毒发之时,他咬碎了牙关。","旗帜倒下,城头易主。","江水东流,带不走旧恨。"];function D(t){if(t==="short32")return[...rn.slice(0,15),...sn];if(t==="chapter3k")return j(A).chunks;if(t==="file23k"){const e=j(A).chunks;return Array.from({length:8},()=>e).flat()}throw new Error(`unknown preset: ${t}`)}const H=t=>[...t].sort((e,i)=>i.length-e.length),$=t=>Number(t.toFixed(1));function hn(t){const e=[...t].sort((c,n)=>c-n),i=e.length>>1;return e.length%2?e[i]:(e[i-1]+e[i])/2}async function U(t,e,i,c,n,o=null,s={}){let a=0,p=0,u=0,h=0;const r={uniformBuffersCreated:0,dummyBuffersCreated:0,bindGroupsCreated:0,bindGroupCacheHits:0,bindGroupEvictions:0,immediateSets:0};for(let m=0;m<c.length;m+=n){const l=c.slice(m,m+n),{metrics:T}=await V(t,e,i,l,{...J(o,l.length),...s});a+=T.encoderMs,p+=T.decodeMs,u+=T.tokensGenerated,h+=T.submits;for(const L of Object.keys(r))r[L]+=T.dispatch?.[L]??0}const g=c.reduce((m,l)=>m+l.length,0);return{encoderMs:$(a),decodeMs:$(p),tokens:u,submits:h,dispatch:r,tokPerSec:$(u/p*1e3),e2eCharsPerSec:$(g/(a+p)*1e3)}}const un=["encoderMs","decodeMs","tokens","tokPerSec","e2eCharsPerSec"],_={"tfjs-wasm-q8":{device:"wasm",dtype:"q8"},"tfjs-webgpu-fp16":{device:"webgpu",dtype:"fp16"}};async function mn(t,e,i,{presets:c=["short32","chapter3k"],batches:n=[1,4,8,16],repeats:o=3,includeReference:s=!1,referencePresets:a=c,referenceBatches:p=[1,4],referenceCells:u=Object.keys(_).flatMap(m=>a.flatMap(l=>p.map(T=>({runtime:m,preset:l,batch:T})))),tuned:h=null,engineOptions:r={},onStatus:g=()=>{}}={}){const m=[],l=Object.fromEntries(c.map(f=>[f,H(D(f))])),T=f=>Array.isArray(n)?n:n[f],L=e.dtype==="f16"?2:4,B=async f=>{const b=i.encode(l[f][0]),x=z(t,K(b.length),L),k=[];for(const w of T(f)){const d=Math.min(w,x);d!==w&&g(`${f}: batch ${w} clamped to device max ${d}`),k.some(N=>N.batch===d)||k.push({batch:d,...d!==w?{requestedBatch:w}:{}})}return k};g("warmup…"),await U(t,e,i,l[c[0]],(await B(c[0]))[0].batch,h,r);for(const f of c)for(const{batch:b,requestedBatch:x}of await B(f)){const k=[];for(let d=0;d<o;d++)g(`webmt ${f} b${b} repeat ${d+1}/${o}…`),k.push(await U(t,e,i,l[f],b,h,r));const w=Object.fromEntries(un.map(d=>[d,$(hn(k.map(N=>N[d])))]));m.push({runtime:"webmt",preset:f,batch:b,...x?{requestedBatch:x}:{},repeats:k,median:w,min:{tokPerSec:Math.min(...k.map(d=>d.tokPerSec)),e2eCharsPerSec:Math.min(...k.map(d=>d.e2eCharsPerSec))},max:{tokPerSec:Math.max(...k.map(d=>d.tokPerSec)),e2eCharsPerSec:Math.max(...k.map(d=>d.e2eCharsPerSec))}})}if(s){const{runReference:f}=await an(async()=>{const{runReference:b}=await import("./reference-BxXr9VhE.js");return{runReference:b}},__vite__mapDeps([0,1]));for(const{runtime:b,preset:x,batch:k}of u){const{device:w,dtype:d}=_[b]??{};if(!w)throw new Error(`unknown reference runtime: ${b}`);const N=l[x]??H(D(x));g(`${b} ${x} b${k} (single run)…`);try{const v=await f({device:w,dtype:d,sources:N,batchSize:k,onStatus:W=>g(`${b} ${x} b${k}: ${W}`)}),O={loadMs:Math.round(v.loadMs),translateMs:Math.round(v.translateMs),tokens:v.tokens,tokPerSec:$(v.tokPerSec),e2eCharsPerSec:$(v.charsPerSec)};m.push({runtime:b,preset:x,batch:k,repeats:[O],median:O})}catch(v){m.push({runtime:b,preset:x,batch:k,error:String(v?.message??v)})}}}return m}function ln(t,e,{date:i,stack:c}={}){const n=new Date,o=`${n.getFullYear()}-${String(n.getMonth()+1).padStart(2,"0")}-${String(n.getDate()).padStart(2,"0")}`;return{schema:"webmt-bench-v1",date:i??o,adapterInfo:e,...c?{stack:c}:{},baselineRef:"docs/bench/baseline.json",runs:t}}const gn={repetitionPenalty:1.2,greedy:!0,maxNewTokensFormula:"max(24, min(192, ceil(chars*3.2)+12))",dtype:"fp32"},dn=JSON.parse('[{"source":"他缓缓拔出长剑,目光冷得像冰。","ids":[0,754,1237,1501,1594,1039,654,339,18937,821,475,1072,321,1951,18948,2],"maxNewTokens":60,"text":"Hắn chậm rãi rút trường kiếm ra, ánh mắt lạnh như băng."},{"source":"夜色渐深,客栈里只剩下几盏残灯。","ids":[0,4988,1082,2875,659,18937,332,1542,7495,394,404,329,889,1742,3286,1631,18948,2],"maxNewTokens":64,"text":"Đêm dần buông xuống, trong khách điếm chỉ còn lại vài ngọn đèn tàn."},{"source":"“你到底是什么人?”她低声问道。","ids":[0,337,11090,997,514,292,843,632,1958,1460,1298,848,18948,2],"maxNewTokens":64,"text":"\\"Rốt cuộc ngươi là ai?\\" Nàng thấp giọng hỏi."},{"source":"山风呼啸,卷起满地的落叶。","ids":[0,7521,976,2771,2813,2164,448,2189,8052,916,871,18948,2],"maxNewTokens":54,"text":"Gió núi gào thét cuốn lên lá rụng đầy đất."},{"source":"老者捋了捋胡须,微微一笑。","ids":[0,1577,732,3592,12443,5089,18937,1820,708,18948,2],"maxNewTokens":54,"text":"Lão giả vuốt chòm râu, mỉm cười."},{"source":"这一掌的力道,足以开碑裂石!","ids":[0,4522,565,313,309,1724,324,1004,469,1057,4088,3282,1155,19020,2],"maxNewTokens":57,"text":"Lực đạo của một chưởng này đủ để mở bia nứt đá!"},{"source":"“师父,弟子知错了。”少年跪在地上。","ids":[0,337,4338,1129,18937,739,576,498,1621,483,482,2439,1356,3199,459,477,871,18948,2],"maxNewTokens":70,"text":"\\"Sư phụ, đệ tử biết sai rồi.\\" Thiếu niên quỳ trên mặt đất."},{"source":"江湖上的恩怨,从来没有那么简单。","ids":[0,4489,3247,5634,1071,667,616,1463,1790,321,488,18948,2],"maxNewTokens":64,"text":"Ân oán giang hồ chưa từng đơn giản như vậy."},{"source":"她转身离去,再也没有回头。","ids":[0,1958,1795,331,1044,367,18937,290,404,1143,437,329,551,18948,2],"maxNewTokens":54,"text":"Nàng xoay người rời đi, không còn quay đầu lại nữa."},{"source":"剑光一闪,血溅三尺。","ids":[0,1089,1017,2213,448,18937,1073,2126,1549,8635,692,4479,18948,2],"maxNewTokens":44,"text":"Kiếm quang lóe lên, máu bắn tung tóe ba thước."},{"source":"大殿之内,众人鸦雀无声。","ids":[0,795,497,1140,18937,874,331,2505,15669,284,399,18948,2],"maxNewTokens":51,"text":"Trong đại điện, mọi người im phăng phắc."},{"source":"他喝了口酒,眼中闪过一丝痛楚。","ids":[0,754,2184,309,3793,2251,18937,332,475,2213,448,775,1879,3822,18948,2],"maxNewTokens":60,"text":"Hắn uống một ngụm rượu, trong mắt lóe lên vẻ đau đớn."},{"source":"“今晚三更,后山竹林见。”","ids":[0,337,18955,396,781,2124,692,18937,1035,453,2507,3016,1262,1523,482,2],"maxNewTokens":54,"text":"\\"Tối nay canh ba, gặp ở rừng trúc hậu sơn.\\""},{"source":"马蹄声由远及近,尘土飞扬。","ids":[0,3469,10058,1853,389,863,372,935,18937,2772,871,1549,1033,18948,2],"maxNewTokens":54,"text":"Tiếng vó ngựa từ xa đến gần, bụi đất tung bay."},{"source":"这门功夫,他练了整整二十年。","ids":[0,1322,583,1895,324,18937,343,335,627,1557,480,1195,549,18948,2],"maxNewTokens":57,"text":"Môn công phu này, hắn đã luyện suốt hai mươi năm."},{"source":"暮色四合之际,一行人马终于抵达了山脚下的小镇,镇口的酒旗在风中猎猎作响;为首的中年汉子翻身下马,环顾四周,见街道两旁的店铺早已关门闭户,只有远处一家客栈还透出昏黄的灯光,他皱了皱眉,低声吩咐众人收起兵刃,不要惊扰了镇上的百姓。","ids":[0,6394,561,1601,2738,2875,659,18937,2161,331,870,434,334,372,369,1054,1722,810,777,640,976,18937,2542,2251,453,981,1722,1549,1033,332,1423,19873,5623,576,921,1356,1062,437,2187,659,1853,18937,439,1100,1156,559,18937,458,591,981,1159,480,569,653,335,1157,2348,981,2348,3509,18937,394,298,309,2688,14099,863,863,404,10866,339,821,3286,1058,3305,18937,343,2012,1317,18937,1460,1298,3323,1830,874,331,493,1036,1327,535,18937,290,369,4688,5916,3393,832,332,1722,18948,2],"maxNewTokens":192,"text":"Vào lúc hoàng hôn buông xuống, đoàn người cuối cùng cũng đến được thị trấn nhỏ dưới chân núi, cờ rượu ở cửa trấn tung bay trong gió; hán tử trung niên dẫn đầu nhảy xuống ngựa, nhìn quanh bốn phía, thấy các cửa hàng hai bên đường đã sớm đóng cửa đóng kín, chỉ có một quán trọ xa xa còn hắt ra ánh đèn vàng vọt, hắn nhíu mày, thấp giọng dặn dò mọi người thu hồi binh khí, không được quấy nhiễu bách tính trong trấn."},{"source":"传闻中的藏剑山庄坐落在群山环抱之中,庄内古木参天,流水潺潺,青石铺就的小径蜿蜒曲折;每逢三月桃花盛开,四方豪杰便会齐聚于此,或论剑,或品茶,或只是远远地望一眼那位传说中的庄主,据说他已经三十年没有拔过剑了,可江湖上没有人敢小看他。","ids":[0,4694,1089,1523,1814,332,813,2410,2494,1630,929,1378,1868,313,4822,976,18937,569,332,2826,1160,1994,651,5765,862,18937,911,2133,15966,3276,18937,620,653,810,1576,1155,1402,10574,4220,4402,1134,19290,18939,19873,1224,455,1499,692,1391,2842,3389,6259,18937,2333,3778,1156,690,329,1410,5781,617,606,18937,1153,2013,654,18937,1153,2525,2686,18937,1153,394,439,863,466,559,555,3664,691,332,813,2410,598,309,625,18937,772,383,343,335,692,1195,549,290,1594,654,483,18937,428,459,5634,1071,290,843,1126,1179,705,343,18948,2],"maxNewTokens":192,"text":"Tàng Kiếm sơn trang trong truyền thuyết tọa lạc giữa vòng vây của dãy núi, bên trong thôn cổ thụ cao ngất trời, nước chảy róc rách, con đường nhỏ lát đá xanh uốn lượn khúc khuỷu; mỗi khi tháng ba hoa đào nở rộ, hào kiệt bốn phương lại tụ họp tại đây, hoặc luận kiếm, hoặc thưởng trà, hoặc chỉ nhìn xa về phía vị Trang chủ trong truyền thuyết kia một cái, nghe nói hắn đã ba mươi năm không rút kiếm rồi, nhưng trên giang hồ không ai dám coi thường hắn."},{"source":"那一夜大雨倾盆,雷声滚滚,破庙里的火堆忽明忽暗;少年抱着怀中的剑谱,听着庙外杂乱的脚步声越来越近,心跳如鼓,他知道,追兵一旦破门而入,自己便再无生路,可师父临终前的嘱托犹在耳边,这本剑谱无论如何都不能落入奸人之手。","ids":[0,4988,393,2121,321,4987,911,18937,3950,12395,1272,18937,3342,1481,332,5354,1654,561,857,561,1381,19873,1248,1356,2567,654,7636,332,626,18937,1871,772,623,736,640,2564,1587,569,688,5354,696,715,935,18937,3825,2399,10836,15013,18948,754,498,18937,309,455,763,2062,1824,373,981,1996,416,18937,512,508,290,404,653,1037,551,18937,428,725,3323,1830,452,455,3028,2870,313,595,1129,521,5290,270,518,569,1776,18937,2164,654,7636,324,658,457,506,334,290,338,1132,416,464,680,501,18948,2],"maxNewTokens":192,"text":"Đêm đó mưa như trút nước, sấm rền vang, đống lửa trong miếu đổ lúc sáng lúc tối; thiếu niên ôm kiếm phổ trong lòng, lắng nghe tiếng bước chân hỗn loạn bên ngoài miếu ngày càng gần, tim đập thình thịch. Hắn biết, một khi quân truy đuổi phá cửa xông vào, mình sẽ không còn đường sống nữa, nhưng lời dặn dò trước khi lâm chung của sư phụ vẫn văng vẳng bên tai, cuốn kiếm phổ này dù thế nào cũng không thể rơi vào tay gian nhân."},{"source":"掌门之位悬空已有三年,门中各脉明争暗斗从未停歇;大师兄稳重却优柔寡断,二师姐剑法超群却性情孤傲,三师弟聪明伶俐却资历尚浅,长老们各怀心思,谁也不肯先开口,直到那个雪夜,山门外传来一声长啸,所有人都放下了手中的茶盏。","ids":[0,2404,1092,1724,716,335,3547,3248,3761,692,549,18937,591,1454,332,716,1184,1097,1155,3852,667,616,1234,2653,19873,741,595,1144,1310,1870,428,329,720,820,1248,1124,1439,18937,2186,595,1691,654,496,3450,2745,428,832,803,1158,3324,18937,1451,595,739,833,1441,11877,1125,428,1020,2338,404,5002,3454,18937,591,841,655,471,922,649,1020,1854,18937,290,843,1131,1057,1172,452,18937,432,372,1368,2051,1053,18937,569,688,1523,716,813,372,309,623,269,18991,1012,18937,948,363,874,331,471,1414,3969,2686,332,464,659,18948,2],"maxNewTokens":192,"text":"Vị trí chưởng môn đã treo lơ lửng ba năm, các mạch trong môn phái đấu đá ngầm chưa từng ngừng nghỉ; Đại sư huynh trầm ổn nhưng lại do dự thiếu quyết đoán, Nhị sư tỷ kiếm pháp siêu quần nhưng tính tình cô ngạo, Tam sư đệ thông minh lanh lợi nhưng tư lịch còn nông cạn, các trưởng lão đều mang tâm tư riêng, không ai chịu mở miệng trước, cho đến đêm tuyết ấy, bên ngoài sơn môn truyền đến một tiếng hú dài, tất cả mọi người đều đặt chén trà trong tay xuống."},{"source":"集市上人声鼎沸,卖艺的汉子赤膊耍着一杆铁枪,围观的人群不时爆发出阵阵喝彩声;忽然人群一阵骚动,几名黑衣人分开众人径直走向那名枪手,为首之人冷冷地丢下一块乌黑的令牌,喧闹的集市霎时安静了下来,连风都仿佛停了。","ids":[0,1521,453,7196,5922,4759,3588,2359,18937,2328,1899,989,1920,3938,8267,2961,4687,309,1328,1562,829,18937,1014,331,1868,884,2287,2554,329,714,339,616,6261,623,8860,7359,1263,2525,18948,15010,558,1014,331,7694,6091,18937,713,790,2275,613,501,3671,874,331,339,367,1112,466,559,790,829,672,598,18937,757,1400,437,1072,2527,2690,659,309,2641,1696,1739,1019,6325,18937,7196,5922,4759,332,2414,1576,1800,1239,660,329,18937,801,363,1423,334,321,1234,329,18948,2],"maxNewTokens":192,"text":"Người ở chợ ồn ào náo nhiệt, gã đàn ông bán nghệ cởi trần múa một cây thiết thương, đám người vây xem thỉnh thoảng lại phát ra từng tràng tiếng reo hò tán thưởng. Bỗng nhiên đám người xôn xao, mấy tên hắc y nhân tách mọi người ra đi thẳng về phía tên thương thủ kia, kẻ cầm đầu lạnh lùng ném xuống một khối lệnh bài đen nhánh, chợ ồn ào trong chốc lát yên tĩnh trở lại, ngay cả gió cũng như ngừng lại."},{"source":"信使跪在堂下,双手呈上一封火漆密函,堂上众人面面相觑;老庄主拆开信笺,只看了一眼,脸色便骤然大变,他缓缓起身,望着窗外沉沉的夜色,半晌才道:传令下去,即刻封山,任何人不得进出,违令者一律逐出师门,永不再录。","ids":[0,7964,732,3199,777,653,18937,480,464,2549,448,309,906,1300,1693,1523,1383,18937,874,331,459,653,439,962,3456,5611,19873,655,1814,691,1057,906,1300,339,18937,394,1982,475,309,625,18937,853,477,746,842,558,497,818,18948,3866,1237,1501,844,1777,18937,439,1924,1368,2339,1133,688,981,2644,18937,1250,696,534,383,19026,3471,1696,659,18937,770,647,906,1523,18937,729,643,843,290,369,339,416,18937,757,887,2028,1696,471,449,7938,762,828,595,716,18937,4487,3830,290,2282,329,551,18948,2],"maxNewTokens":192,"text":"Sứ giả quỳ dưới đường, hai tay dâng lên một phong thư mật sơn đỏ, mọi người trên đường nhìn nhau ngơ ngác; lão trang chủ mở phong thư ra, chỉ liếc mắt một cái, sắc mặt liền đột nhiên đại biến. Ông chậm rãi đứng dậy, nhìn màn đêm dày đặc ngoài cửa sổ, nửa ngày mới nói: Truyền lệnh xuống, lập tức phong sơn, bất kỳ ai không được ra vào, kẻ vi phạm lệnh đều bị trục xuất khỏi sư môn, vĩnh viễn không ghi lại nữa."},{"source":"三十年前的那场大火烧毁了半座城池,也烧断了两大世家百年的情谊;如今旧事重提,当年的幸存者死的死,散的散,唯有城南那口枯井旁的老槐树还记得一切,树下埋着的,不只是一坛陈年的女儿红,还有一个再也无人敢提起的名字。","ids":[0,1839,1624,14105,692,1195,549,452,335,373,2464,1250,1888,442,1593,18937,334,3626,11367,803,1526,988,549,313,480,497,457,619,19873,781,631,2145,1663,329,18937,331,1037,2204,549,1791,784,784,18937,1408,6677,18937,394,298,1328,7359,19014,1932,569,8833,3163,559,1582,442,404,1455,719,948,363,18937,777,2762,1328,5951,290,394,309,4725,2280,1823,1199,909,1307,18937,368,404,298,625,790,290,843,1126,1663,372,551,18948,2],"maxNewTokens":192,"text":"Trận hỏa hoạn ba mươi năm trước đã phá hủy nửa tòa thành trì, cũng thiêu rụi tình nghĩa trăm năm của hai đại thế gia; nay chuyện cũ nhắc lại, người sống sót năm xưa chết chết, tan rã, chỉ có cây hòe già bên giếng khô phía nam thành còn nhớ rõ tất cả, dưới gốc cây chôn không chỉ một vò Nữ Nhi Hồng lâu đời, mà còn có cái tên không ai dám nhắc đến nữa."},{"source":"渡口的老船夫眯着眼打量来客,见那书生衣���褴褛却腰悬长剑,不由得多问了一句;书生笑而不答,只将一锭碎银放在船头,转身望向对岸茫茫的芦苇荡,江风吹起他的衣角,露出内衬上暗绣的金线纹样,老船夫握着船桨的手,忽然抖了一下。","ids":[0,1577,2200,1895,453,7445,263,19013,4280,475,793,1149,1542,563,18937,458,1300,687,598,2745,1290,3276,286,1984,428,6834,1390,3547,1039,654,18937,290,828,848,785,309,1055,19873,1698,687,708,368,290,1361,18937,394,1414,309,266,573,1807,2922,453,1866,2200,18937,1795,331,439,466,559,5205,278,446,5032,3814,569,598,2658,18948,7521,2408,3424,1549,2747,1290,313,343,18937,950,339,1391,1634,1563,3038,11130,1918,18938,569,332,18948,9126,655,2200,1895,1175,2670,17524,1689,558,2169,448,309,625,18948,2],"maxNewTokens":192,"text":"Lão thuyền phu ở bến đò nheo mắt đánh giá khách tới, thấy thư sinh kia quần áo rách rưới nhưng thắt lưng treo trường kiếm, không khỏi hỏi thêm một câu; Thư sinh cười mà không đáp, chỉ đặt một thỏi bạc vụn ở mũi thuyền, xoay người nhìn về phía lau sậy mênh mông bên kia bờ. Gió sông thổi tung góc áo của hắn, lộ ra hoa văn kim tuyến thêu thùa bên trong. Tay lão thuyền phu nắm mái chèo bỗng nhiên run lên một cái."},{"source":"林昭推门而入,林昭的剑还在滴着血,可林昭的声音却平静得可怕。","ids":[0,1090,4264,2182,981,736,416,18937,654,313,1090,4264,521,404,520,810,1073,18937,428,877,1096,313,343,329,815,1239,372,1094,953,18948,2],"maxNewTokens":108,"text":"Lâm Chiêu đẩy cửa bước vào, kiếm của Lâm Chiêu vẫn còn đang nhỏ máu, nhưng thanh âm của hắn lại bình tĩnh đến đáng sợ."},{"source":"沈青山望着窗外,沈青山知道,今夜之后江湖上再无沈青山这个名字。","ids":[0,3560,734,730,439,339,688,981,2644,18937,3560,734,730,498,776,18937,465,1368,781,459,5634,1071,290,404,625,790,3560,734,730,506,551,18948,2],"maxNewTokens":112,"text":"Thẩm Thanh Sơn nhìn ra ngoài cửa sổ, Thẩm Thanh Sơn biết rằng, sau đêm nay trên giang hồ không còn cái tên Thẩm Thanh Sơn nào nữa."},{"source":"“林昭!林昭你给我站住!”她追出门外,可林昭的身影早已消失在夜色之中。","ids":[0,415,18989,424,4264,19020,1090,4264,18937,514,844,329,432,382,568,1958,1824,339,688,981,18937,428,479,1249,313,1090,4264,335,1157,818,920,332,1924,1368,18948,2],"maxNewTokens":124,"text":"“Lâm Chiêu! Lâm Chiêu, ngươi đứng lại cho ta!” Nàng đuổi ra ngoài cửa, nhưng thân ảnh của Lâm Chiêu đã sớm biến mất trong màn đêm."},{"source":"众人都说沈青山败了,可沈青山不这么认为,沈青山收剑入鞘,转身走下擂台。","ids":[0,3032,331,471,383,3560,734,730,335,2665,18937,428,3560,734,730,290,676,488,18937,3560,734,730,493,654,416,3998,18937,1795,331,736,659,1963,2058,18948,2],"maxNewTokens":124,"text":"Mọi người đều nói Thẩm Thanh Sơn đã thua, nhưng Thẩm Thanh Sơn không nghĩ vậy, Thẩm Thanh Sơn thu kiếm vào vỏ, xoay người bước xuống lôi đài."},{"source":"林昭救过他一次,林昭也骗过他一次,所以当林昭再次出现时,他不知该拔剑还是敬酒。","ids":[0,1090,4264,335,1372,343,309,638,18937,1090,4264,334,3539,5136,343,309,638,18937,432,599,455,1090,4264,762,516,638,551,18937,343,290,498,599,1594,654,802,292,1809,2251,18948,2],"maxNewTokens":137,"text":"Lâm Chiêu đã cứu hắn một lần, Lâm Chiêu cũng lừa gạt hắn một lần, cho nên khi Lâm Chiêu xuất hiện lần nữa, hắn không biết nên rút kiếm hay là kính rượu."},{"source":"沈青山的刀快,沈青山的心更狠,凡是见过沈青山出手的人,都不愿再与他为敌。","ids":[0,3271,313,3560,734,730,894,18937,626,3560,734,730,715,785,1631,2492,18937,729,749,843,616,458,3560,734,730,339,464,471,290,582,660,442,757,1734,412,343,551,18948,2],"maxNewTokens":128,"text":"Đao của Thẩm Thanh Sơn nhanh, lòng Thẩm Thanh Sơn càng thêm tàn nhẫn, bất cứ ai từng thấy Thẩm Thanh Sơn ra tay đều không muốn trở thành kẻ địch với hắn nữa."},{"source":"有人说林昭死在了雁门关外,有人说林昭隐居山林,还有人说,林昭根本就没有存在过。","ids":[0,1480,331,383,1090,4264,784,453,688,10521,1322,1592,18937,298,331,383,343,1279,3715,332,2507,976,18937,329,404,298,331,383,18937,1090,4264,1107,624,667,616,1512,617,18948,2],"maxNewTokens":137,"text":"Có người nói Lâm Chiêu chết ở ngoài Nhạn Môn Quan, có người nói hắn ẩn cư trong rừng núi, lại còn có người nói, Lâm Chiêu căn bản chưa từng tồn tại."}]'),C={config:gn,items:dn},pn=document.querySelector("#app");pn.innerHTML=`
|
| 38 |
<h1>webMT bench</h1>
|
| 39 |
<p>
|
| 40 |
<button id="load">Load engine</button>
|
|
@@ -46,19 +46,19 @@ import"./modulepreload-polyfill-B5Qt9EMX.js";import{E as G,t as V,a as J,m as z,
|
|
| 46 |
<p id="status" style="color:#8bc"></p>
|
| 47 |
<div id="benchTable"></div>
|
| 48 |
<pre id="out" style="white-space:pre-wrap"></pre>
|
| 49 |
-
`;const R=document.querySelector("#load"),
|
| 50 |
-
`};let
|
| 51 |
-
${
|
| 52 |
-
${
|
| 53 |
<td colspan="4" style="color:#f55">ERROR: ${n.error}</td></tr>`:`<tr><td>${n.runtime}</td><td>${n.preset}</td><td>${n.batch}</td>
|
| 54 |
<td>${n.median.tokPerSec}${i(n,"tokPerSec")}</td>
|
| 55 |
<td>${n.median.e2eCharsPerSec}${i(n,"e2eCharsPerSec")}</td>
|
| 56 |
<td>${n.median.tokens}</td>
|
| 57 |
-
<td>${n.median.decodeMs??n.median.translateMs}</td></tr>`).join("");
|
| 58 |
<table border="1" cellpadding="4" style="border-collapse:collapse">
|
| 59 |
<tr><th>runtime</th><th>preset</th><th>batch</th>
|
| 60 |
<th>tok/s median (min–max)</th><th>chars/s median (min–max)</th>
|
| 61 |
<th>tokens</th><th>decode ms</th></tr>
|
| 62 |
${c}
|
| 63 |
-
</table>`}
|
| 64 |
-
${c?.stack??""}`)}finally{
|
|
|
|
| 1 |
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/reference-B1blnTed.js","assets/preload-helper-DiAwoGSG.js"])))=>i.map(i=>d[i]);
|
| 2 |
+
import"./modulepreload-polyfill-B5Qt9EMX.js";import{E as G,_ as W,t as U,a as V,m as z,b as K,i as Y,l as X,e as Z,c as nn,d as tn}from"./preload-helper-DiAwoGSG.js";function F(t){for(let e=1;e<t.length;e++)if(t[e]===G)return t.slice(0,e+1);return t.slice()}function en(t,e){const i=F(t),c=F(e),n=Math.min(i.length,c.length);let a=0;for(;a<n&&i[a]===c[a];)a++;if(a===i.length&&a===c.length)return{verdict:"exact"};if(a===n){const d=i.length>c.length?i:c;if(d.length===n+1&&d[n]===G)return{verdict:"forced-eos"}}return{verdict:"mismatch",step:a}}function I(t,e=220){const i=String(t).replace(/\r\n/g,`
|
| 3 |
`).split(`
|
| 4 |
+
`),c=[],n=[],a=Math.max(80,Number(e)||220),d=/[^。!?!?;;]+[。!?!?;;]*/g;for(const m of i){const g=m.trim();if(!g){n.push(null);continue}const f=g.match(d)||[g];let u="";const r=[],k=()=>{u&&(r.push(c.length),c.push(u),u="")};for(const h of f){if(h.length>a){k();for(let o=0;o<h.length;o+=a)r.push(c.length),c.push(h.slice(o,o+a));continue}u&&(u+h).length>a&&k(),u+=h}k(),n.push(r)}return{chunks:c,plan:n}}const cn=["他缓缓拔出长剑,目光冷得像冰。","夜色渐深,客栈里只剩下几盏残灯。","“你到底是什么人?”她低声问道。","山风呼啸,卷起满地的落叶。","老者捋了捋胡须,微微一笑。","这一掌的力道,足以开碑裂石!","“师父,弟子知错了。”少年跪在地上。","江湖上的恩怨,从来没有那么简单。","她转身离去,再也没有回头。","剑光一闪,血溅三尺。","大殿之内,众人鸦雀无声。","他喝了口酒,眼中闪过一丝痛楚。","“今晚三更,后山竹林见。”","马蹄声由远及近,尘土飞扬。","这门功夫,他练了整整二十年。","暮色四合之际,一行人马终于抵达了山脚下的小镇,镇口的酒旗在风中猎猎作响;为首的中年汉子翻身下马,环顾四周,见街道两旁的店铺早已关门闭户,只有远处一家客栈还透出昏黄的灯光,他皱了皱眉,低声吩咐众人收起兵刃,不要惊扰了镇上的百姓。","传闻中的藏剑山庄坐落在群山环抱之中,庄内古木参天,流水潺潺,青石铺就的小径蜿蜒曲折;每逢三月桃花盛开,四方豪杰便会齐聚于此,或论剑,或品茶,或只是远远地望一眼那位传说中的庄主,据说他已经三十年没有拔过剑了,可江湖上没有人敢小看他。","那一夜大雨倾盆,雷声滚滚,破庙里的火堆忽明忽暗;少年抱着怀中的剑谱,听着庙外杂乱的脚步声越来越近,心跳如鼓,他知道,追兵一旦破门而入,自己便再无生路,可师父临终前的嘱托犹在耳边,这本剑谱无论如何都不能落入奸人之手。","掌门之位悬空已有三年,门中各脉明争暗斗从未停歇;大师兄稳重却优柔寡断,二师姐剑法超群却性情孤傲,三师弟聪明伶俐却资历尚浅,长老们各怀心思,谁也不肯先开口,直到那个雪夜,山门外传来一声长啸,所有人都放下了手中的茶盏。","集市上人声鼎沸,卖艺的汉子赤膊耍着一杆铁枪,围观的人群不时爆发出阵阵喝彩声;忽然人群一阵骚动,几名黑衣人分开众人径直走向那名枪手,为首之人冷冷地丢下一块乌黑的令牌,喧闹的集市霎时安静了下来,连风都仿佛停了。","信使跪在堂下,双手呈上一封火漆密函,堂上众人面面相觑;老庄主拆开信笺,只看了一眼,脸色便骤然大变,他缓缓起身,望着窗外沉沉的夜色,半晌才道:传令下去,即刻封山,任何人不得进出,违令者一律逐出师门,永不再录。","三十年前的那场大火烧毁了半座城池,也烧断了两��世家百年的情谊;如今旧事重提,当年的幸存者死的死,散的散,唯有城南那口枯井旁的老槐树还记得一切,树下埋着的,不只是一坛陈年的女儿红,还有一个再也无人敢提起的名字。","渡口的老船夫眯着眼打量来客,见那书生衣衫褴褛却腰悬长剑,不由得多问了一句;书生笑而不答,只将一锭碎银放在船头,转身望向对岸茫茫的芦苇荡,江风吹起他的衣角,露出内衬上暗绣的金线纹样,老船夫握着船桨的手,忽然抖了一下。","林昭推门而入,林昭的剑还在滴着血,可林昭的声音却平静得可怕。","沈青山望着窗外,沈青山知道,今夜之后江湖上再无沈青山这个名字。","“林昭!林昭你给我站住!”她追出门外,可林昭的身影早已消失在夜色之中。","众人都说沈青山败了,可沈青山不这么认为,沈青山收剑入鞘,转身走下擂台。","林昭救过他一次,林昭也骗过他一次,所以当林昭再次出现时,他不知该拔剑还是敬酒。","沈青山的刀快,沈青山的心更狠,凡是见过沈青山出手的人,都不愿再与他为敌。","有人说林昭死在了雁门关外,有人说林昭隐居山林,还有人说,林昭根本就没有存在过。"],j=`第三章 夜雨断魂崖
|
| 5 |
|
| 6 |
暮色沉沉,秋雨初歇。断魂崖下的山道上,一行五骑冒着湿冷的山风缓缓而行。为首的正是青城派大弟子沈孤鸿,他勒住缰绳,抬头望了望崖顶那株歪脖老松,眉头微微一皱。三年前师父便是在此处失踪的,尸骨无存,只留下半截断剑。断剑如今就贴身藏在他怀中,隔着三层油布,仍似有一股寒意透出来,时时提醒着他此行的真正目的。
|
| 7 |
|
|
|
|
| 34 |
赵师叔趁乱引着柳如烟等人坠下涧底,冰冷的涧水没过头顶的一瞬,柳如烟犹自回头,只见崖畔两道身影在电光中分而复合,合而复分,那柄断剑的寒芒每一次亮起都比前一次更接近咽喉,也更接近深渊,她张口想喊,灌进来的却只有一口冰水,赵师叔死死攥住她的手腕,两人顺着湍流向下游卷去,耳边的厮杀声、雷声、马嘶声渐渐都被水声吞没,唯有那一点剑芒烙在她眼底,任凭涧水如何冲刷也冲刷不去,多年以后她仍会在雨夜里惊醒,梦见那点寒星坠向无底的黑暗。
|
| 35 |
|
| 36 |
那一夜断魂崖的厮杀声直到五更方歇。后来江湖上有人说,曾见一个青衫剑客独战数百人,剑折之后夺刀再战,刀卷之后赤手空拳;也有人说,天明时分崖下的涧水都是红的。唯一可以确证的是,半月之后,一份写满名字的血书送到了武林盟主的案头,落款只有八个字:青城沈氏,以剑为凭。自那以后,川中道上再无血狼堡的旗号,而断魂崖顶的老松之下,多了一座无碑的剑冢,年年秋深,总有人遥遥望见一个白衣女子在冢前置酒三杯,风雨无阻。
|
| 37 |
+
`,an=["刀出如龙,寒气逼人。","他在桥头站了一夜。","“放下剑,我饶你不死。”","钟声响起,山门缓缓开启。","她的暗器从不落空。","灯火摇曳,人影散乱。","一杯酒,敬当年的兄弟。","���风过处,烛火尽灭。","他背上的伤疤又开始疼了。","“来者何人,报上名来!”","雪落无声,剑亦无声。","这条路,他走了半生。","密道尽头透出一线微光。","恩人一诺,死生不忘。","毒发之时,他咬碎了牙关。","旗帜倒下,城头易主。","江水东流,带不走旧恨。"];function A(t){if(t==="short32")return[...cn.slice(0,15),...an];if(t==="chapter3k")return I(j).chunks;if(t==="file23k"){const e=I(j).chunks;return Array.from({length:8},()=>e).flat()}throw new Error(`unknown preset: ${t}`)}const D=t=>[...t].sort((e,i)=>i.length-e.length),$=t=>Number(t.toFixed(1));function hn(t){const e=[...t].sort((c,n)=>c-n),i=e.length>>1;return e.length%2?e[i]:(e[i-1]+e[i])/2}async function H(t,e,i,c,n,a=null,d={}){let m=0,g=0,f=0,u=0;const r={uniformBuffersCreated:0,dummyBuffersCreated:0,bindGroupsCreated:0,bindGroupCacheHits:0,bindGroupEvictions:0,immediateSets:0};for(let h=0;h<c.length;h+=n){const o=c.slice(h,h+n),{metrics:w}=await U(t,e,i,o,{...V(a,o.length),...d});m+=w.encoderMs,g+=w.decodeMs,f+=w.tokensGenerated,u+=w.submits;for(const L of Object.keys(r))r[L]+=w.dispatch?.[L]??0}const k=c.reduce((h,o)=>h+o.length,0);return{encoderMs:$(m),decodeMs:$(g),tokens:f,submits:u,dispatch:r,tokPerSec:$(f/g*1e3),e2eCharsPerSec:$(k/(m+g)*1e3)}}const on=["encoderMs","decodeMs","tokens","tokPerSec","e2eCharsPerSec"],_={"tfjs-wasm-q8":{device:"wasm",dtype:"q8"},"tfjs-webgpu-fp16":{device:"webgpu",dtype:"fp16"}};async function sn(t,e,i,{presets:c=["short32","chapter3k"],batches:n=[1,4,8,16],repeats:a=3,includeReference:d=!1,referencePresets:m=c,referenceBatches:g=[1,4],referenceCells:f=Object.keys(_).flatMap(h=>m.flatMap(o=>g.map(w=>({runtime:h,preset:o,batch:w})))),tuned:u=null,engineOptions:r={},onStatus:k=()=>{}}={}){const h=[],o=Object.fromEntries(c.map(p=>[p,D(A(p))])),w=p=>Array.isArray(n)?n:n[p],L=e.dtype==="f16"?2:4,B=async p=>{const b=i.encode(o[p][0]),y=z(t,K(b.length),L),l=[];for(const T of w(p)){const s=Math.min(T,y);s!==T&&k(`${p}: batch ${T} clamped to device max ${s}`),l.some(N=>N.batch===s)||l.push({batch:s,...s!==T?{requestedBatch:T}:{}})}return l};k("warmup…"),await H(t,e,i,o[c[0]],(await B(c[0]))[0].batch,u,r);for(const p of c)for(const{batch:b,requestedBatch:y}of await B(p)){const l=[];for(let s=0;s<a;s++)k(`webmt ${p} b${b} repeat ${s+1}/${a}…`),l.push(await H(t,e,i,o[p],b,u,r));const T=Object.fromEntries(on.map(s=>[s,$(hn(l.map(N=>N[s])))]));h.push({runtime:"webmt",preset:p,batch:b,...y?{requestedBatch:y}:{},repeats:l,median:T,min:{tokPerSec:Math.min(...l.map(s=>s.tokPerSec)),e2eCharsPerSec:Math.min(...l.map(s=>s.e2eCharsPerSec))},max:{tokPerSec:Math.max(...l.map(s=>s.tokPerSec)),e2eCharsPerSec:Math.max(...l.map(s=>s.e2eCharsPerSec))}})}if(d){const{runReference:p}=await W(async()=>{const{runReference:b}=await import("./reference-B1blnTed.js");return{runReference:b}},__vite__mapDeps([0,1]));for(const{runtime:b,preset:y,batch:l}of f){const{device:T,dtype:s}=_[b]??{};if(!T)throw new Error(`unknown reference runtime: ${b}`);const N=o[y]??D(A(y));k(`${b} ${y} b${l} (single run)…`);try{const S=await p({device:T,dtype:s,sources:N,batchSize:l,onStatus:Q=>k(`${b} ${y} b${l}: ${Q}`)}),O={loadMs:Math.round(S.loadMs),translateMs:Math.round(S.translateMs),tokens:S.tokens,tokPerSec:$(S.tokPerSec),e2eCharsPerSec:$(S.charsPerSec)};h.push({runtime:b,preset:y,batch:l,repeats:[O],median:O})}catch(S){h.push({runtime:b,preset:y,batch:l,error:String(S?.message??S)})}}}return h}function rn(t,e,{date:i,stack:c}={}){const n=new Date,a=`${n.getFullYear()}-${String(n.getMonth()+1).padStart(2,"0")}-${String(n.getDate()).padStart(2,"0")}`;return{schema:"webmt-bench-v1",date:i??a,adapterInfo:e,...c?{stack:c}:{},baselineRef:"docs/bench/baseline.json",runs:t}}const mn={repetitionPenalty:1.2,greedy:!0,maxNewTokensFormula:"max(24, min(192, ceil(chars*3.2)+12))",dtype:"fp32"},gn=JSON.parse('[{"source":"他缓缓拔出长剑,目光冷得像冰。","ids":[0,754,1237,1501,1594,1039,654,339,18937,821,475,1072,321,1951,18948,2],"maxNewTokens":60,"text":"Hắn chậm rãi rút trường kiếm ra, ánh mắt lạnh như băng."},{"source":"夜色渐深,客栈里只剩下几盏残灯。","ids":[0,4988,1082,2875,659,18937,332,1542,7495,394,404,329,889,1742,3286,1631,18948,2],"maxNewTokens":64,"text":"Đêm dần buông xuống, trong khách điếm chỉ còn lại vài ngọn đèn tàn."},{"source":"“你到底是什么人?”她低声问道。","ids":[0,337,11090,997,514,292,843,632,1958,1460,1298,848,18948,2],"maxNewTokens":64,"text":"\\"Rốt cuộc ngươi là ai?\\" Nàng thấp giọng hỏi."},{"source":"山风呼啸,卷起满地的落叶。","ids":[0,7521,976,2771,2813,2164,448,2189,8052,916,871,18948,2],"maxNewTokens":54,"text":"Gió núi gào thét cuốn lên lá rụng đầy đất."},{"source":"老者捋了捋胡须,微微一笑。","ids":[0,1577,732,3592,12443,5089,18937,1820,708,18948,2],"maxNewTokens":54,"text":"Lão giả vuốt chòm râu, mỉm cười."},{"source":"这一掌的力道,足以开碑裂石!","ids":[0,4522,565,313,309,1724,324,1004,469,1057,4088,3282,1155,19020,2],"maxNewTokens":57,"text":"Lực đạo của một chưởng này đủ để mở bia nứt đá!"},{"source":"“师父,弟子知错了。”少年跪在地上。","ids":[0,337,4338,1129,18937,739,576,498,1621,483,482,2439,1356,3199,459,477,871,18948,2],"maxNewTokens":70,"text":"\\"Sư phụ, đệ tử biết sai rồi.\\" Thiếu niên quỳ trên mặt đất."},{"source":"江湖上的恩怨,从来没有那么简单。","ids":[0,4489,3247,5634,1071,667,616,1463,1790,321,488,18948,2],"maxNewTokens":64,"text":"Ân oán giang hồ chưa từng đơn giản như vậy."},{"source":"她转身离去,再也没有回头。","ids":[0,1958,1795,331,1044,367,18937,290,404,1143,437,329,551,18948,2],"maxNewTokens":54,"text":"Nàng xoay người rời đi, không còn quay đầu lại nữa."},{"source":"剑光一闪,血溅三尺。","ids":[0,1089,1017,2213,448,18937,1073,2126,1549,8635,692,4479,18948,2],"maxNewTokens":44,"text":"Kiếm quang lóe lên, máu bắn tung tóe ba thước."},{"source":"大殿之内,众人鸦雀无声。","ids":[0,795,497,1140,18937,874,331,2505,15669,284,399,18948,2],"maxNewTokens":51,"text":"Trong đại điện, mọi người im phăng phắc."},{"source":"他喝了口酒,眼中闪过一丝痛楚。","ids":[0,754,2184,309,3793,2251,18937,332,475,2213,448,775,1879,3822,18948,2],"maxNewTokens":60,"text":"Hắn uống một ngụm rượu, trong mắt lóe lên vẻ đau đớn."},{"source":"“今晚三更,后山竹林见。”","ids":[0,337,18955,396,781,2124,692,18937,1035,453,2507,3016,1262,1523,482,2],"maxNewTokens":54,"text":"\\"Tối nay canh ba, gặp ở rừng trúc hậu sơn.\\""},{"source":"马蹄声由远及近,尘土飞扬。","ids":[0,3469,10058,1853,389,863,372,935,18937,2772,871,1549,1033,18948,2],"maxNewTokens":54,"text":"Tiếng vó ngựa từ xa đến gần, bụi đất tung bay."},{"source":"这门功夫,他练了整整二十年。","ids":[0,1322,583,1895,324,18937,343,335,627,1557,480,1195,549,18948,2],"maxNewTokens":57,"text":"Môn công phu này, hắn đã luyện suốt hai mươi năm."},{"source":"暮色四合之际,一行人马终于抵达了山脚下的小镇,镇口的酒旗在风中猎猎作响;为首的中年汉子翻身下马,环顾四周,见街道两旁的店铺早已关门闭户,只有远处一家客栈还透出昏黄的灯光,他皱了皱眉,低声吩咐众人收起兵刃,不要惊扰了镇上的百姓。","ids":[0,6394,561,1601,2738,2875,659,18937,2161,331,870,434,334,372,369,1054,1722,810,777,640,976,18937,2542,2251,453,981,1722,1549,1033,332,1423,19873,5623,576,921,1356,1062,437,2187,659,1853,18937,439,1100,1156,559,18937,458,591,981,1159,480,569,653,335,1157,2348,981,2348,3509,18937,394,298,309,2688,14099,863,863,404,10866,339,821,3286,1058,3305,18937,343,2012,1317,18937,1460,1298,3323,1830,874,331,493,1036,1327,535,18937,290,369,4688,5916,3393,832,332,1722,18948,2],"maxNewTokens":192,"text":"Vào lúc hoàng hôn buông xuống, đoàn người cuối cùng cũng đến được thị trấn nhỏ dưới chân núi, cờ rượu ở cửa trấn tung bay trong gió; hán tử trung niên dẫn đầu nhảy xuống ngựa, nhìn quanh bốn phía, thấy các cửa hàng hai bên đường đã sớm đóng cửa đóng kín, chỉ có một quán trọ xa xa còn hắt ra ánh đèn vàng vọt, hắn nhíu mày, thấp giọng dặn dò mọi người thu hồi binh khí, không được quấy nhiễu bách tính trong trấn."},{"source":"传闻中的藏剑山庄坐落在群山环抱之中,庄内古木参天,流水潺潺,青石铺就的小径蜿蜒曲折;每逢三月桃花盛开,四方豪杰便会齐聚于此,或论剑,或品茶,或只是远远地望一眼那位传说中的庄主,据说他已经三十年没有拔过剑了,可江湖上没有人敢小看他。","ids":[0,4694,1089,1523,1814,332,813,2410,2494,1630,929,1378,1868,313,4822,976,18937,569,332,2826,1160,1994,651,5765,862,18937,911,2133,15966,3276,18937,620,653,810,1576,1155,1402,10574,4220,4402,1134,19290,18939,19873,1224,455,1499,692,1391,2842,3389,6259,18937,2333,3778,1156,690,329,1410,5781,617,606,18937,1153,2013,654,18937,1153,2525,2686,18937,1153,394,439,863,466,559,555,3664,691,332,813,2410,598,309,625,18937,772,383,343,335,692,1195,549,290,1594,654,483,18937,428,459,5634,1071,290,843,1126,1179,705,343,18948,2],"maxNewTokens":192,"text":"Tàng Kiếm sơn trang trong truyền thuyết tọa lạc giữa vòng vây của dãy núi, bên trong thôn cổ thụ cao ngất trời, nước chảy róc rách, con đường nhỏ lát đá xanh uốn lượn khúc khuỷu; mỗi khi tháng ba hoa đào nở rộ, hào kiệt bốn phương lại tụ họp tại đây, hoặc luận kiếm, hoặc thưởng trà, hoặc chỉ nhìn xa về phía vị Trang chủ trong truyền thuyết kia một cái, nghe nói hắn đã ba mươi năm không rút kiếm rồi, nhưng trên giang hồ không ai dám coi thường hắn."},{"source":"那一夜大雨倾盆,雷声滚滚,破庙里的火堆忽明忽暗;少年抱着怀中的剑谱,听着庙外杂乱的脚步声越来越近,心跳如鼓,他知道,追兵一旦破门而入,自己便再无生路,可师父临终前的嘱托犹在耳边,这本剑谱无论如何都不能落入奸人之手。","ids":[0,4988,393,2121,321,4987,911,18937,3950,12395,1272,18937,3342,1481,332,5354,1654,561,857,561,1381,19873,1248,1356,2567,654,7636,332,626,18937,1871,772,623,736,640,2564,1587,569,688,5354,696,715,935,18937,3825,2399,10836,15013,18948,754,498,18937,309,455,763,2062,1824,373,981,1996,416,18937,512,508,290,404,653,1037,551,18937,428,725,3323,1830,452,455,3028,2870,313,595,1129,521,5290,270,518,569,1776,18937,2164,654,7636,324,658,457,506,334,290,338,1132,416,464,680,501,18948,2],"maxNewTokens":192,"text":"Đêm đó mưa như trút nước, sấm rền vang, đống lửa trong miếu đổ lúc sáng lúc tối; thiếu niên ôm kiếm phổ trong lòng, lắng nghe tiếng bước chân hỗn loạn bên ngoài miếu ngày càng gần, tim đập thình thịch. Hắn biết, một khi quân truy đuổi phá cửa xông vào, mình sẽ không còn đường sống nữa, nhưng lời dặn dò trước khi lâm chung của sư phụ vẫn văng vẳng bên tai, cuốn kiếm phổ này dù thế nào cũng không thể rơi vào tay gian nhân."},{"source":"掌门之位悬空已有三年,门中各脉明争暗斗从未停歇;大师兄稳重却优柔寡断,二师姐剑法超群却性情孤傲,三师弟聪明伶俐却资历尚浅,长老们各怀心思,谁也不肯先开口,直到那个雪夜,山门外传来一声长啸,所有人都放下了手中的茶盏。","ids":[0,2404,1092,1724,716,335,3547,3248,3761,692,549,18937,591,1454,332,716,1184,1097,1155,3852,667,616,1234,2653,19873,741,595,1144,1310,1870,428,329,720,820,1248,1124,1439,18937,2186,595,1691,654,496,3450,2745,428,832,803,1158,3324,18937,1451,595,739,833,1441,11877,1125,428,1020,2338,404,5002,3454,18937,591,841,655,471,922,649,1020,1854,18937,290,843,1131,1057,1172,452,18937,432,372,1368,2051,1053,18937,569,688,1523,716,813,372,309,623,269,18991,1012,18937,948,363,874,331,471,1414,3969,2686,332,464,659,18948,2],"maxNewTokens":192,"text":"Vị trí chưởng môn đã treo lơ lửng ba năm, các mạch trong môn phái đấu đá ngầm chưa từng ngừng nghỉ; Đại sư huynh trầm ổn nhưng lại do dự thiếu quyết đoán, Nhị sư tỷ kiếm pháp siêu quần nhưng tính tình cô ngạo, Tam sư đệ thông minh lanh lợi nhưng tư lịch còn nông cạn, các trưởng lão đều mang tâm tư riêng, không ai chịu mở miệng trước, cho đến đêm tuyết ấy, bên ngoài sơn môn truyền đến một tiếng hú dài, tất cả mọi người đều đặt chén trà trong tay xuống."},{"source":"集市上人声鼎沸,卖艺的汉子赤膊耍着一杆铁枪,围观的人群不时爆发出阵阵喝彩声;忽然人群一阵骚动,几名黑衣人分开众人径直走向那名枪手,为首之人冷冷地丢下一块乌黑的令牌,喧闹的集市霎时安静了下来,连风都仿佛停了。","ids":[0,1521,453,7196,5922,4759,3588,2359,18937,2328,1899,989,1920,3938,8267,2961,4687,309,1328,1562,829,18937,1014,331,1868,884,2287,2554,329,714,339,616,6261,623,8860,7359,1263,2525,18948,15010,558,1014,331,7694,6091,18937,713,790,2275,613,501,3671,874,331,339,367,1112,466,559,790,829,672,598,18937,757,1400,437,1072,2527,2690,659,309,2641,1696,1739,1019,6325,18937,7196,5922,4759,332,2414,1576,1800,1239,660,329,18937,801,363,1423,334,321,1234,329,18948,2],"maxNewTokens":192,"text":"Người ở chợ ồn ào náo nhiệt, gã đàn ông bán nghệ cởi trần múa một cây thiết thương, đám người vây xem thỉnh thoảng lại phát ra từng tràng tiếng reo hò tán thưởng. Bỗng nhiên đám người xôn xao, mấy tên hắc y nhân tách mọi người ra đi thẳng về phía tên thương thủ kia, kẻ cầm đầu lạnh lùng ném xuống một khối lệnh bài đen nhánh, chợ ồn ào trong chốc lát yên tĩnh trở lại, ngay cả gió cũng như ngừng lại."},{"source":"信使跪在堂下,双手呈上一封火漆密函,堂上众人面面相觑;老庄主拆开信笺,只看了一眼,脸色便骤然大变,他缓缓起身,望着窗外沉沉的夜色,半晌才道:传令下去,即刻封山,任何人不得进出,违令者一律逐出师门,永不再录。","ids":[0,7964,732,3199,777,653,18937,480,464,2549,448,309,906,1300,1693,1523,1383,18937,874,331,459,653,439,962,3456,5611,19873,655,1814,691,1057,906,1300,339,18937,394,1982,475,309,625,18937,853,477,746,842,558,497,818,18948,3866,1237,1501,844,1777,18937,439,1924,1368,2339,1133,688,981,2644,18937,1250,696,534,383,19026,3471,1696,659,18937,770,647,906,1523,18937,729,643,843,290,369,339,416,18937,757,887,2028,1696,471,449,7938,762,828,595,716,18937,4487,3830,290,2282,329,551,18948,2],"maxNewTokens":192,"text":"Sứ giả quỳ dưới đường, hai tay dâng lên một phong thư mật sơn đỏ, mọi người trên đường nhìn nhau ngơ ngác; lão trang chủ mở phong thư ra, chỉ liếc mắt một cái, sắc mặt liền đột nhiên đại biến. Ông chậm rãi đứng dậy, nhìn màn đêm dày đặc ngoài cửa sổ, nửa ngày mới nói: Truyền lệnh xuống, lập tức phong sơn, bất kỳ ai không được ra vào, kẻ vi phạm lệnh đều bị trục xuất khỏi sư môn, vĩnh viễn không ghi lại nữa."},{"source":"三十年前的那场大火烧毁了半座城池,也烧断了两大世家百年的情谊;如今旧事重提,当年的幸存者死的死,散的散,唯有城南那口枯井旁的老槐树还记得一切,树下埋着的,不只是一坛陈年的女儿红,还有一个再也无人敢提起的名字。","ids":[0,1839,1624,14105,692,1195,549,452,335,373,2464,1250,1888,442,1593,18937,334,3626,11367,803,1526,988,549,313,480,497,457,619,19873,781,631,2145,1663,329,18937,331,1037,2204,549,1791,784,784,18937,1408,6677,18937,394,298,1328,7359,19014,1932,569,8833,3163,559,1582,442,404,1455,719,948,363,18937,777,2762,1328,5951,290,394,309,4725,2280,1823,1199,909,1307,18937,368,404,298,625,790,290,843,1126,1663,372,551,18948,2],"maxNewTokens":192,"text":"Trận hỏa hoạn ba mươi năm trước đã phá hủy nửa tòa thành trì, cũng thiêu rụi tình nghĩa trăm năm của hai đại thế gia; nay chuyện cũ nhắc lại, người sống sót năm xưa chết chết, tan rã, chỉ có cây hòe già bên giếng khô phía nam thành còn nhớ rõ tất cả, dưới gốc cây chôn không chỉ một vò Nữ Nhi Hồng lâu đời, mà còn có cái tên không ai dám nhắc đến nữa."},{"source":"渡口的老船夫眯着眼打量来客,见那书生衣衫褴褛却腰悬长剑,不由得多问了一句;书生笑而不答,只将一锭碎银放在船头,转身望向对岸茫茫的芦苇荡,江风吹起他的衣角,露出内衬上暗绣的金线纹样,老船夫握着船桨的手,忽然抖了一下。","ids":[0,1577,2200,1895,453,7445,263,19013,4280,475,793,1149,1542,563,18937,458,1300,687,598,2745,1290,3276,286,1984,428,6834,1390,3547,1039,654,18937,290,828,848,785,309,1055,19873,1698,687,708,368,290,1361,18937,394,1414,309,266,573,1807,2922,453,1866,2200,18937,1795,331,439,466,559,5205,278,446,5032,3814,569,598,2658,18948,7521,2408,3424,1549,2747,1290,313,343,18937,950,339,1391,1634,1563,3038,11130,1918,18938,569,332,18948,9126,655,2200,1895,1175,2670,17524,1689,558,2169,448,309,625,18948,2],"maxNewTokens":192,"text":"Lão thuyền phu ở bến đò nheo mắt đánh giá khách tới, thấy thư sinh kia quần áo rách rưới nhưng thắt lưng treo trường kiếm, không khỏi hỏi thêm một câu; Thư sinh cười mà không đáp, chỉ đặt một thỏi bạc vụn ở mũi thuyền, xoay người nhìn về phía lau sậy mênh mông bên kia bờ. Gió sông thổi tung góc áo của hắn, lộ ra hoa văn kim tuyến thêu thùa bên trong. Tay lão thuyền phu nắm mái chèo bỗng nhiên run lên một cái."},{"source":"林昭推门而入,林昭的剑还在滴着血,可林昭的声音却平静得可怕。","ids":[0,1090,4264,2182,981,736,416,18937,654,313,1090,4264,521,404,520,810,1073,18937,428,877,1096,313,343,329,815,1239,372,1094,953,18948,2],"maxNewTokens":108,"text":"Lâm Chiêu đẩy cửa bước vào, kiếm của Lâm Chiêu vẫn còn đang nhỏ máu, nhưng thanh âm của hắn lại bình tĩnh đến đáng sợ."},{"source":"沈青山望着窗外,沈青山知道,今夜之后江湖上再无沈青山这个名字。","ids":[0,3560,734,730,439,339,688,981,2644,18937,3560,734,730,498,776,18937,465,1368,781,459,5634,1071,290,404,625,790,3560,734,730,506,551,18948,2],"maxNewTokens":112,"text":"Thẩm Thanh Sơn nhìn ra ngoài cửa sổ, Thẩm Thanh Sơn biết rằng, sau đêm nay trên giang hồ không còn cái tên Thẩm Thanh Sơn nào nữa."},{"source":"“林昭!林昭你给我站住!”她追出门外,可林昭的身影早已消失在夜色之中。","ids":[0,415,18989,424,4264,19020,1090,4264,18937,514,844,329,432,382,568,1958,1824,339,688,981,18937,428,479,1249,313,1090,4264,335,1157,818,920,332,1924,1368,18948,2],"maxNewTokens":124,"text":"“Lâm Chiêu! Lâm Chiêu, ngươi đứng lại cho ta!” Nàng đuổi ra ngoài cửa, nhưng thân ảnh của Lâm Chiêu đã sớm biến mất trong màn đêm."},{"source":"众人都说沈青山败了,可沈青山不这么认为,沈青山收剑入鞘,转身走下擂台。","ids":[0,3032,331,471,383,3560,734,730,335,2665,18937,428,3560,734,730,290,676,488,18937,3560,734,730,493,654,416,3998,18937,1795,331,736,659,1963,2058,18948,2],"maxNewTokens":124,"text":"Mọi người đều nói Thẩm Thanh Sơn đã thua, nhưng Thẩm Thanh Sơn không nghĩ vậy, Thẩm Thanh Sơn thu kiếm vào vỏ, xoay người bước xuống lôi đài."},{"source":"林昭救过他一次,林昭也骗过他一次,所以当林昭再次出现时,他不知该拔剑还是敬酒。","ids":[0,1090,4264,335,1372,343,309,638,18937,1090,4264,334,3539,5136,343,309,638,18937,432,599,455,1090,4264,762,516,638,551,18937,343,290,498,599,1594,654,802,292,1809,2251,18948,2],"maxNewTokens":137,"text":"Lâm Chiêu đã cứu hắn một lần, Lâm Chiêu cũng lừa gạt hắn một lần, cho nên khi Lâm Chiêu xuất hiện lần nữa, hắn không biết nên rút kiếm hay là kính rượu."},{"source":"沈青山的刀快,沈青山的心更狠,凡是见过沈青山出手的人,都不愿再与他为敌。","ids":[0,3271,313,3560,734,730,894,18937,626,3560,734,730,715,785,1631,2492,18937,729,749,843,616,458,3560,734,730,339,464,471,290,582,660,442,757,1734,412,343,551,18948,2],"maxNewTokens":128,"text":"Đao của Thẩm Thanh Sơn nhanh, lòng Thẩm Thanh Sơn càng thêm tàn nhẫn, bất cứ ai từng thấy Thẩm Thanh Sơn ra tay đều không muốn trở thành kẻ địch với hắn nữa."},{"source":"有人说林昭死在了雁门关外,有人说林昭隐居山林,还有人说,林昭根本就没有存在过。","ids":[0,1480,331,383,1090,4264,784,453,688,10521,1322,1592,18937,298,331,383,343,1279,3715,332,2507,976,18937,329,404,298,331,383,18937,1090,4264,1107,624,667,616,1512,617,18948,2],"maxNewTokens":137,"text":"Có người nói Lâm Chiêu chết ở ngoài Nhạn Môn Quan, có người nói hắn ẩn cư trong rừng núi, lại còn có người nói, Lâm Chiêu căn bản chưa từng tồn tại."}]'),P={config:mn,items:gn},un=document.querySelector("#app");un.innerHTML=`
|
| 38 |
<h1>webMT bench</h1>
|
| 39 |
<p>
|
| 40 |
<button id="load">Load engine</button>
|
|
|
|
| 46 |
<p id="status" style="color:#8bc"></p>
|
| 47 |
<div id="benchTable"></div>
|
| 48 |
<pre id="out" style="white-space:pre-wrap"></pre>
|
| 49 |
+
`;const R=document.querySelector("#load"),C=document.querySelector("#verify"),E=document.querySelector("#bench"),dn=document.querySelector("#includeRef"),J=document.querySelector("#export"),q=document.querySelector("#status"),ln=document.querySelector("#benchTable"),pn=document.querySelector("#out"),x=t=>{pn.textContent+=`${t}
|
| 50 |
+
`};let v=null;R.addEventListener("click",async()=>{R.disabled=!0;try{x("loading engine…");const t=await Y(),e=t.hasF16?"f16":"f32",i=new URLSearchParams(location.search),c=i.get("immediates")==="0"?"off":"auto",n=await X(),a=i.get("shortlist")!=="0",d=e==="f16"&&a?Z(n.idToToken):null,m=await nn(t.device,"/weights",{targetDtype:e,lmHeadQ8:e==="f16",ffnWT:e==="f16",projWT:e==="f16",directQ8:i.get("directq8")!=="0",...d?{lmHeadIds:d}:{}});let g=null,f="off";if(i.get("tune")!=="0"){x("autotuning routing on this device…");const r=await tn({...t,dtype:e},m,{immediates:c});g=r.tuned,f=r.partial?"partial":"measured",r.partial&&x(`autotune partial (${r.partial}) — defaults + correctness verdicts only`)}const u={shortlist:d?d.length:0,autotune:f,tuned:g,directQ8:m.q8Stats.directTensors>0,q8Stats:m.q8Stats,immediates:c==="auto"&&t.hasImmediates?"on":"off"};v={ctx:{...t,dtype:e},weights:m,tok:n,tuned:g,stack:u,immediates:c},x(`engine ready: ${t.adapterInfo.description||t.adapterInfo.vendor} (${e}, ${d?`shortlist ${d.length}`:"full vocab"}, autotune ${f})`),g&&x(`tuned: ${JSON.stringify(g)}`),C.disabled=!1,E.disabled=!1}catch(t){x(`LOAD FAILED: ${t?.message??t}`),R.disabled=!1}});C.addEventListener("click",async()=>{C.disabled=!0;const{ctx:t,weights:e,tok:i}=v;let c=0,n=0,a=0,d=0;try{for(let u=0;u<P.items.length;u++){const r=P.items[u],{rows:k,metrics:h}=await U(t,e,i,[r.source],{maxNewTokens:r.maxNewTokens,...V(v.tuned,1),immediates:v.immediates});d+=h.tokPerSec;const o=en(k[0].ids,r.ids);o.verdict==="exact"?c++:o.verdict==="forced-eos"?n++:a++,x(`[${String(u).padStart(2)}] ${o.verdict.toUpperCase().padEnd(10)} ${h.tokPerSec.toFixed(0)} tok/s ${r.source}`),o.verdict==="mismatch"&&(x(` step ${o.step}`),x(` engine: ${k[0].text}`),x(` golden: ${r.text}`))}const m=P.items.length,g=Math.ceil(.95*m),f=c+n>=g;x(`
|
| 51 |
+
${f?"PASS":"FAIL"}: exact=${c} forced-eos=${n} mismatch=${a} (need ${g}/${m}) avg ${(d/m).toFixed(1)} tok/s @ batch=1`)}catch(m){x(`VERIFY FAILED: ${m?.message??m}
|
| 52 |
+
${m?.stack??""}`)}finally{C.disabled=!1}});let M=null;function kn(t){const e=t.runs,i=(n,a)=>n.min?` (${n.min[a]}–${n.max[a]})`:"",c=e.map(n=>n.error?`<tr><td>${n.runtime}</td><td>${n.preset}</td><td>${n.batch}</td>
|
| 53 |
<td colspan="4" style="color:#f55">ERROR: ${n.error}</td></tr>`:`<tr><td>${n.runtime}</td><td>${n.preset}</td><td>${n.batch}</td>
|
| 54 |
<td>${n.median.tokPerSec}${i(n,"tokPerSec")}</td>
|
| 55 |
<td>${n.median.e2eCharsPerSec}${i(n,"e2eCharsPerSec")}</td>
|
| 56 |
<td>${n.median.tokens}</td>
|
| 57 |
+
<td>${n.median.decodeMs??n.median.translateMs}</td></tr>`).join("");ln.innerHTML=`
|
| 58 |
<table border="1" cellpadding="4" style="border-collapse:collapse">
|
| 59 |
<tr><th>runtime</th><th>preset</th><th>batch</th>
|
| 60 |
<th>tok/s median (min–max)</th><th>chars/s median (min–max)</th>
|
| 61 |
<th>tokens</th><th>decode ms</th></tr>
|
| 62 |
${c}
|
| 63 |
+
</table>`}E.addEventListener("click",async()=>{E.disabled=!0;const{ctx:t,weights:e,tok:i}=v;try{const c=await sn(t,e,i,{includeReference:dn.checked,referencePresets:["short32"],tuned:v.tuned,engineOptions:{immediates:v.immediates},onStatus:n=>{q.textContent=n}});M=rn(c,t.adapterInfo,{stack:v.stack}),kn(M),q.textContent="benchmark complete",J.disabled=!1}catch(c){q.textContent="",x(`BENCH FAILED: ${c?.message??c}
|
| 64 |
+
${c?.stack??""}`)}finally{E.disabled=!1}});J.addEventListener("click",()=>{if(!M)return;const t=new Blob([JSON.stringify(M,null,2)],{type:"application/json"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.download=`webmt-bench-${M.date}.json`,e.click(),URL.revokeObjectURL(e.href)});
|
assets/hanviet_data-DivPLpiI.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/index-DOgWbOaH.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/main-CK4bXNWD.css
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
@font-face{font-family:Playfair Display;font-style:normal;font-weight:600 700;font-display:swap;src:url(/assets/playfair-vietnamese-Cabi7G8-.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Playfair Display;font-style:normal;font-weight:600 700;font-display:swap;src:url(/assets/playfair-latin-BOwq7MWX.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--paper: #f4eee3;--paper-2: #ece4d4;--paper-3: #e3d9c6;--ink: #2f2a28;--ink-soft: #5a524c;--ink-faint: #6f655c;--blossom: #e9aec6;--blossom-deep: #d67ba6;--plum: #8d5474;--moss: #5e7360;--seal: #b3372f;--seal-dark: #9c2f28;--serif-display: "Playfair Display", Georgia, "Times New Roman", serif;--serif-zh: "Noto Serif SC", "Songti SC", "SimSun", serif;--serif-vi: "Times New Roman", "Noto Serif", "Tinos", serif}*{box-sizing:border-box}html,body{margin:0;padding:0}body{min-height:100vh;color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif;background-color:var(--paper);background-image:radial-gradient(1100px 700px at -8% -12%,rgba(47,42,40,.075),transparent 60%),radial-gradient(900px 620px at 108% 112%,rgba(94,115,96,.09),transparent 60%),radial-gradient(700px 420px at 92% -6%,rgba(214,123,166,.1),transparent 65%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.16 0 0 0 0 0.15 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E")}.mist{position:fixed;z-index:0;width:62vw;height:30vh;border-radius:50%;background:radial-gradient(closest-side,rgba(255,252,246,.55),transparent 70%);filter:blur(52px);pointer-events:none}.mist-a{top:4vh;left:-12vw;animation:mist-drift 85s ease-in-out infinite alternate}.mist-b{bottom:-6vh;right:-14vw;animation:mist-drift 105s ease-in-out infinite alternate-reverse}@keyframes mist-drift{0%{transform:translate(-6vw)}to{transform:translate(9vw)}}.page{position:relative;z-index:1;max-width:1060px;margin:0 auto;padding:26px 20px 14px;display:flex;flex-direction:column;min-height:100vh}main{flex:1}.site{margin-bottom:26px}.brand{display:flex;align-items:center;gap:16px}.seal{width:58px;height:58px;flex:none;filter:drop-shadow(0 2px 5px rgba(47,42,40,.28));transform:rotate(-2.5deg)}.brand-text h1{margin:0;font-family:var(--serif-display);font-weight:700;font-size:2.15rem;letter-spacing:.02em;line-height:1.1}.tagline{margin:4px 0 0;color:var(--ink-soft);font-size:.95rem}.brushline{display:block;width:min(600px,100%);height:12px;margin-top:14px}.card{background:#fffdf8a6;border:1px solid var(--paper-3);border-radius:12px;padding:22px 26px;box-shadow:0 10px 28px -18px #2f2a2873}.hint{color:var(--ink-faint);font-size:.86rem;margin:6px 0 0}.center{text-align:center}[hidden]{display:none!important}button{font:inherit;cursor:pointer;border-radius:8px;border:none}button:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--plum);outline-offset:2px}.go{position:relative;overflow:hidden;background:linear-gradient(160deg,var(--seal),var(--seal-dark));color:var(--paper);font-family:var(--serif-display);font-weight:600;font-size:1.12rem;padding:12px 42px;box-shadow:0 6px 18px -8px #b3372fbf;transition:transform .12s ease,box-shadow .12s ease}.go:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 22px -8px #b3372fcc}.go:disabled{opacity:.55;cursor:default}.go.small{font-size:.98rem;padding:9px 26px}.go.alt{background:linear-gradient(160deg,var(--moss),#4c5e4e);box-shadow:0 6px 18px -8px #5e7360bf}.go .kbd{font-family:system-ui,sans-serif;font-size:.68rem;font-weight:400;opacity:.75;margin-left:8px;border:1px solid rgba(244,238,227,.5);border-radius:4px;padding:1px 5px;vertical-align:2px}.go.busy{animation:busy-pulse 1.1s ease-in-out infinite}@keyframes busy-pulse{0%,to{filter:saturate(1)}50%{filter:saturate(.55) brightness(1.06)}}.ghost{background:transparent;color:var(--ink-soft);border:1px solid var(--paper-3);padding:6px 14px;font-size:.88rem;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:border-color .12s ease,color .12s ease,background .12s ease}.ghost:hover{border-color:var(--plum);color:var(--plum);background:#9a5d7f0f}.bi{width:14px;height:14px;flex:none}.go .bi{width:15px;height:15px;vertical-align:-2px;margin-right:2px}.linklike{background:none;border:none;padding:0;color:var(--plum);text-decoration:underline;font-size:inherit}.gate{max-width:640px;margin:5vh auto;text-align:center}.gate h2{font-family:var(--serif-display);margin:0 0 10px}.gate-summary{margin:0 auto 18px;color:var(--ink-soft);line-height:1.5}.gate-steps{margin:0;padding-left:1.4rem;display:grid;gap:16px;text-align:left;line-height:1.5}.gate-step-text{display:block}.gate-address{min-width:0;margin-top:8px;display:flex;align-items:stretch;gap:8px}.gate-address code{min-width:0;flex:1;display:flex;align-items:center;padding:8px 10px;border:1px solid var(--paper-3);border-radius:7px;background:#2f2a280e;color:var(--ink-soft);font-size:.8rem;overflow-wrap:anywhere;user-select:all}.gate-copy{min-height:44px;padding:8px 13px;flex:none}.gate-advanced{margin-top:20px;padding-top:8px;border-top:1px solid var(--paper-3);text-align:left;color:var(--ink-soft)}.gate-advanced summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--plum);font-weight:600}.gate-advanced summary:focus-visible{outline:2px solid var(--plum);outline-offset:2px}.gate-advanced p{margin:6px 0 0;line-height:1.5}.gate-actions{display:flex;justify-content:center;margin-top:22px}.gate-retry{min-height:44px}.gate-copy-status{min-height:1.3em}.gate-error{overflow-wrap:anywhere}.boot-fallback{max-width:560px;margin:16vh auto;padding:0 20px;text-align:center;color:var(--ink-soft);opacity:0;animation:fallback-in .35s ease .6s forwards}.boot-fallback h1{font-family:var(--serif-display);color:var(--ink)}@keyframes fallback-in{to{opacity:1}}.loading{max-width:480px;margin:3vh auto;text-align:center}.hero{width:min(340px,76vw);aspect-ratio:1 / 1.01;margin:0 auto 18px}.hero img{width:100%;height:100%;object-fit:cover;-webkit-mask-image:radial-gradient(ellipse 68% 66% at 50% 48%,#000 58%,transparent 97%);mask-image:radial-gradient(ellipse 68% 66% at 50% 48%,#000 58%,transparent 97%);animation:hero-breathe 6s ease-in-out infinite alternate}@keyframes hero-breathe{0%{transform:scale(1)}to{transform:scale(1.022)}}.phase{min-height:1.4em;margin:0 0 10px;color:var(--ink-soft);font-variant-numeric:tabular-nums}.brushbar{height:13px;border-radius:7px;background:var(--paper-2);border:1px solid var(--paper-3);position:relative}.brushfill{position:relative;height:100%;width:0%;border-radius:7px 9px 11px 7px/7px 5px 9px 7px;background:linear-gradient(90deg,rgba(90,82,76,.85),var(--ink) 38%,#191513 62%,rgba(90,82,76,.9));background-size:220% 100%;animation:ink-flow 2.6s linear infinite;box-shadow:inset 0 -2px 3px #ffffff1f;transition:width .25s ease}@keyframes ink-flow{0%{background-position:0% 0}to{background-position:-220% 0}}.brushfill:after{content:"";position:absolute;right:-3px;top:50%;width:19px;height:19px;transform:translateY(-50%);border-radius:50% 46% 52% 48%;background:radial-gradient(circle at 35% 35%,#3d3733,#14100e 70%);box-shadow:0 0 10px #19151373}.brushfill:before{content:"";position:absolute;right:3px;top:100%;width:5px;height:7px;border-radius:50% 50% 60% 60%;background:#191513a6;opacity:0;animation:ink-drip 2.4s ease-in infinite}@keyframes ink-drip{0%,55%{transform:translateY(0) scale(.6);opacity:0}65%{transform:translateY(2px) scale(1);opacity:.8}95%{transform:translateY(15px) scale(.9);opacity:0}to{opacity:0}}.panes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.pane{display:flex;flex-direction:column;background:#fffdf8b8;border:1px solid var(--paper-3);border-radius:12px;box-shadow:0 12px 30px -22px #2f2a2880;overflow:hidden}.pane-head{display:flex;justify-content:space-between;align-items:baseline;padding:10px 16px 8px;border-bottom:1px dashed var(--paper-3)}.lang{font-family:var(--serif-display);font-weight:600;color:var(--plum);letter-spacing:.06em}.pane.src .lang{font-family:var(--serif-zh)}.count{color:var(--ink-faint);font-size:.8rem;font-variant-numeric:tabular-nums}.pane textarea,.output{min-height:320px;padding:14px 16px;border:none;background:transparent;resize:vertical;flex:1}.pane textarea{font-family:var(--serif-zh);font-size:1.06rem;line-height:1.75;color:var(--ink)}.pane textarea::placeholder{color:var(--ink-faint);opacity:.8}.pane textarea:focus{outline:none}.output{font-family:var(--serif-vi);font-size:1.02rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:break-word;overflow-y:auto;max-height:60vh}.output .dlg{font-style:italic}.pane-foot{display:flex;gap:8px;padding:8px 12px 12px;margin-top:auto}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:20px 2px}.auto{color:var(--ink-soft);font-size:.9rem;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.auto input{--knob: 14px;appearance:none;width:36px;height:20px;margin:0;border-radius:999px;border:1px solid var(--ink-faint);background:var(--paper-2);position:relative;cursor:pointer;flex:none;transition:background .15s ease,border-color .15s ease}.auto input:before{content:"";position:absolute;top:50%;left:2px;width:var(--knob);height:var(--knob);border-radius:50%;transform:translateY(-50%);background:#fffdf8;box-shadow:0 1px 2px #2f2a2859;transition:left .15s ease}.auto input:checked{background:var(--moss);border-color:var(--moss)}.auto input:checked:before{left:calc(100% - var(--knob) - 2px)}.progress{color:var(--plum);font-size:.9rem;font-variant-numeric:tabular-nums}.filezone{margin:6px 0 18px}.drop{border:1.6px dashed var(--ink-faint);border-radius:12px;padding:18px 20px;text-align:center;color:var(--ink-soft);background:#fffdf866;transition:border-color .15s ease,background .15s ease}.drop p{margin:4px 0}.drop.dragover{border-color:var(--seal);background:#e9aec624}.filecard{margin-top:4px}.filemeta{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.encpick{color:var(--ink-soft);font-size:.88rem;margin-left:auto}.modelpick{margin-left:0}.modelpick select:disabled{opacity:.55}.encpick select{font:inherit;margin-left:6px;padding:4px 8px;border:1px solid var(--paper-3);border-radius:6px;background:var(--paper);color:var(--ink)}.preview{font-family:var(--serif-zh);font-size:.92rem;line-height:1.6;background:#ece4d48c;border-radius:8px;padding:10px 12px;margin:12px 0;max-height:130px;overflow:auto;white-space:pre-wrap;overflow-wrap:break-word}.preview.result{font-family:var(--serif-vi);border-left:3px solid var(--moss)}.fileacts{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.error-banner{display:flex;align-items:center;gap:14px;justify-content:space-between;margin:18px 0;padding:12px 16px;border-radius:10px;border:1px solid rgba(179,55,47,.4);background:#b3372f14;color:var(--seal-dark)}.stats{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:16px 2px 6px;margin-top:10px;border-top:1px solid var(--paper-3);color:var(--ink-faint);font-size:.8rem;font-variant-numeric:tabular-nums}.stats .perf{margin-left:auto}.chipbadge .modellink{color:var(--moss);text-decoration:none;border-bottom:1px dotted currentColor}.chipbadge .modellink:hover{color:var(--plum)}.chipbadge .modellink:not([href]){border-bottom:none;color:inherit}a.ghost{text-decoration:none}.stats .ghost{background:#ffffff8c;border-color:#bfb094;box-shadow:0 1px 3px #2f2a2814}.stats .ghost:hover{border-color:var(--plum);color:var(--plum);background:#9a5d7f14}.bench-modal .hint a{color:var(--plum);text-underline-offset:2px}.gpu-tip{flex-basis:100%;color:var(--plum);font-size:.78rem}.chipbadge{display:inline-flex;align-items:center;gap:7px;padding:4px 11px;border:1px solid var(--paper-3);border-radius:999px;background:#fffdf88c;max-width:100%}.chipbadge .bi{width:15px;height:15px;color:var(--moss);transition:color .3s ease;flex-shrink:0}.chipbadge .chiptext{min-width:0;overflow-wrap:anywhere}.chipbadge.busy .bi{color:var(--seal);animation:chip-glow 1.15s ease-in-out infinite}@keyframes chip-glow{0%,to{filter:drop-shadow(0 0 0 rgba(179,55,47,0))}50%{filter:drop-shadow(0 0 4px rgba(179,55,47,.85))}}.ink-in{display:inline;animation:ink-in .55s both}@keyframes ink-in{0%{opacity:0;filter:blur(6px)}to{opacity:1;filter:blur(0)}}.ripple{position:absolute;border-radius:50%;width:18px;height:18px;margin:-9px;pointer-events:none;background:radial-gradient(circle,#19151380,#19151300 65%);animation:ripple-out .65s ease-out forwards}@keyframes ripple-out{0%{transform:scale(.4);opacity:.9}to{transform:scale(13);opacity:0}}@media(max-width:900px){.panes{grid-template-columns:1fr}.pane textarea,.output{min-height:200px}.brand-text h1{font-size:1.8rem}.stats .perf{margin-left:0}}@media(max-width:520px){.gate{margin:2vh auto;padding:20px 18px}.gate-address code{font-size:.74rem}}@media(pointer:coarse){.ghost{min-height:44px;padding:9px 16px}.go.small{min-height:44px}.encpick select{font-size:16px;min-height:40px}.auto{min-height:44px}.auto input{--knob: 18px;width:44px;height:24px}.linklike{padding:12px 4px;margin:-12px 0}}@media(hover:none){.go .kbd{display:none}}@media(prefers-reduced-motion:reduce){.mist{display:none}.go.busy{animation:none;opacity:.75}.ink-in{animation-duration:.2s}.ripple{display:none}.brushfill{transition:none;animation:none}.brushfill:before{display:none}.hero img,.chipbadge.busy .bi{animation:none}.auto input,.auto input:before{transition:none}}.bench-modal{border:1px solid var(--ink);border-radius:10px;background:var(--paper);color:var(--ink);max-width:34rem;width:calc(100vw - 2rem);padding:1rem 1.25rem}.bench-modal::backdrop{background:#0006}.bench-modal .bench-json pre{max-height:40vh;overflow:auto;font-size:.72rem;background:#0000000f;padding:.5rem;border-radius:6px}.bench-modal .bench-acts{display:flex;gap:.5rem;justify-content:flex-end;margin-top:.75rem}.bench-modal textarea{width:100%;margin-top:.5rem}.bench-attach{display:block;margin-top:.5rem}.benchsubmit{font-size:.85em}
|
|
|
|
|
|
assets/main-CSyTzukZ.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/main-DUB1sqLl.js
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/main-DVC4X1hK.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
@font-face{font-family:Playfair Display;font-style:normal;font-weight:600 700;font-display:swap;src:url(/assets/playfair-vietnamese-Cabi7G8-.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Playfair Display;font-style:normal;font-weight:600 700;font-display:swap;src:url(/assets/playfair-latin-BOwq7MWX.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--paper: #f4eee3;--paper-2: #ece4d4;--paper-3: #e3d9c6;--ink: #2f2a28;--ink-soft: #5a524c;--ink-faint: #6f655c;--blossom: #e9aec6;--blossom-deep: #d67ba6;--plum: #8d5474;--moss: #5e7360;--seal: #b3372f;--seal-dark: #9c2f28;--serif-display: "Playfair Display", Georgia, "Times New Roman", serif;--serif-zh: "Noto Serif SC", "Songti SC", "SimSun", serif;--serif-vi: "Times New Roman", "Noto Serif", "Tinos", serif}*{box-sizing:border-box}html,body{margin:0;padding:0}body{min-height:100vh;color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif;background-color:var(--paper);background-image:radial-gradient(1100px 700px at -8% -12%,rgba(47,42,40,.075),transparent 60%),radial-gradient(900px 620px at 108% 112%,rgba(94,115,96,.09),transparent 60%),radial-gradient(700px 420px at 92% -6%,rgba(214,123,166,.1),transparent 65%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.16 0 0 0 0 0.15 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E")}.mist{position:fixed;z-index:0;width:62vw;height:30vh;border-radius:50%;background:radial-gradient(closest-side,rgba(255,252,246,.55),transparent 70%);filter:blur(52px);pointer-events:none}.mist-a{top:4vh;left:-12vw;animation:mist-drift 85s ease-in-out infinite alternate}.mist-b{bottom:-6vh;right:-14vw;animation:mist-drift 105s ease-in-out infinite alternate-reverse}@keyframes mist-drift{0%{transform:translate(-6vw)}to{transform:translate(9vw)}}.page{position:relative;z-index:1;max-width:1060px;margin:0 auto;padding:26px 20px 14px;display:flex;flex-direction:column;min-height:100vh}main{flex:1}.site{margin-bottom:26px}.brand{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.site-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;flex-basis:100%}.site-tools .btn-label{display:none}.site-tools .ghost{min-width:44px}@media(min-width:640px){.site-tools{flex-basis:auto;margin-left:auto}.site-tools .btn-label{display:inline}.site-tools .ghost{min-width:0}}.site-tools .modelpick select:disabled{opacity:.55}.seal{width:58px;height:58px;flex:none;filter:drop-shadow(0 2px 5px rgba(47,42,40,.28));transform:rotate(-2.5deg)}.brand-text h1{margin:0;font-family:var(--serif-display);font-weight:700;font-size:1.8rem;letter-spacing:.02em;line-height:1.1}.tagline{margin:4px 0 0;color:var(--ink-soft);font-size:.95rem}.brushline{display:block;width:min(600px,100%);height:12px;margin-top:14px}.card{background:#fffdf8a6;border:1px solid var(--paper-3);border-radius:12px;padding:22px 26px;box-shadow:0 10px 28px -18px #2f2a2873}.hint{color:var(--ink-faint);font-size:.86rem;margin:6px 0 0}.center{text-align:center}[hidden]{display:none!important}button{font:inherit;cursor:pointer;border-radius:8px;border:none}button:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--plum);outline-offset:2px}.go{position:relative;overflow:hidden;background:linear-gradient(160deg,var(--seal),var(--seal-dark));color:var(--paper);font-family:var(--serif-display);font-weight:600;font-size:1.12rem;padding:12px 42px;box-shadow:0 6px 18px -8px #b3372fbf;transition:transform .12s ease,box-shadow .12s ease}.go:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 22px -8px #b3372fcc}.go:disabled{opacity:.55;cursor:default}.go.small{font-size:.98rem;padding:9px 26px}.go.alt{background:linear-gradient(160deg,var(--moss),#4c5e4e);box-shadow:0 6px 18px -8px #5e7360bf}.go .kbd{font-family:system-ui,sans-serif;font-size:.68rem;font-weight:400;opacity:.75;margin-left:8px;border:1px solid rgba(244,238,227,.5);border-radius:4px;padding:1px 5px;vertical-align:2px}.go.busy{animation:busy-pulse 1.1s ease-in-out infinite}@keyframes busy-pulse{0%,to{filter:saturate(1)}50%{filter:saturate(.55) brightness(1.06)}}.ghost{background:transparent;color:var(--ink-soft);border:1px solid var(--paper-3);padding:6px 14px;font-size:.88rem;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:border-color .12s ease,color .12s ease,background .12s ease}.ghost:hover{border-color:var(--plum);color:var(--plum);background:#9a5d7f0f}:where(.site-tools,.actions,.pane-foot,.docbar) .ghost{min-height:36px}.bi{width:14px;height:14px;flex:none}.go .bi{width:15px;height:15px;vertical-align:-2px;margin-right:2px}.linklike{background:none;border:none;padding:0;color:var(--plum);text-decoration:underline;font-size:inherit}.gate{max-width:640px;margin:5vh auto;text-align:center}.gate h2{font-family:var(--serif-display);margin:0 0 10px}.gate-summary{margin:0 auto 18px;color:var(--ink-soft);line-height:1.5}.gate-steps{margin:0;padding-left:1.4rem;display:grid;gap:16px;text-align:left;line-height:1.5}.gate-step-text{display:block}.gate-address{min-width:0;margin-top:8px;display:flex;align-items:stretch;gap:8px}.gate-address code{min-width:0;flex:1;display:flex;align-items:center;padding:8px 10px;border:1px solid var(--paper-3);border-radius:7px;background:#2f2a280e;color:var(--ink-soft);font-size:.8rem;overflow-wrap:anywhere;user-select:all}.gate-copy{min-height:44px;padding:8px 13px;flex:none}.gate-advanced{margin-top:20px;padding-top:8px;border-top:1px solid var(--paper-3);text-align:left;color:var(--ink-soft)}.gate-advanced summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--plum);font-weight:600}.gate-advanced summary:focus-visible{outline:2px solid var(--plum);outline-offset:2px}.gate-advanced p{margin:6px 0 0;line-height:1.5}.gate-actions{display:flex;justify-content:center;margin-top:22px}.gate-retry{min-height:44px}.gate-copy-status{min-height:1.3em}.gate-error{overflow-wrap:anywhere}.boot-fallback{max-width:560px;margin:16vh auto;padding:0 20px;text-align:center;color:var(--ink-soft);opacity:0;animation:fallback-in .35s ease .6s forwards}.boot-fallback h1{font-family:var(--serif-display);color:var(--ink)}@keyframes fallback-in{to{opacity:1}}.loading{max-width:480px;margin:3vh auto;text-align:center}.hero{width:min(340px,76vw);aspect-ratio:1 / 1.01;margin:0 auto 18px}.hero img{width:100%;height:100%;object-fit:cover;-webkit-mask-image:radial-gradient(ellipse 68% 66% at 50% 48%,#000 58%,transparent 97%);mask-image:radial-gradient(ellipse 68% 66% at 50% 48%,#000 58%,transparent 97%);animation:hero-breathe 6s ease-in-out infinite alternate}@keyframes hero-breathe{0%{transform:scale(1)}to{transform:scale(1.022)}}.phase{min-height:1.4em;margin:0 0 10px;color:var(--ink-soft);font-variant-numeric:tabular-nums}.brushbar{height:13px;border-radius:7px;background:var(--paper-2);border:1px solid var(--paper-3);position:relative}.brushfill{position:relative;height:100%;width:0%;border-radius:7px 9px 11px 7px/7px 5px 9px 7px;background:linear-gradient(90deg,rgba(90,82,76,.85),var(--ink) 38%,#191513 62%,rgba(90,82,76,.9));background-size:220% 100%;animation:ink-flow 2.6s linear infinite;box-shadow:inset 0 -2px 3px #ffffff1f;transition:width .25s ease}@keyframes ink-flow{0%{background-position:0% 0}to{background-position:-220% 0}}.brushfill:after{content:"";position:absolute;right:-3px;top:50%;width:19px;height:19px;transform:translateY(-50%);border-radius:50% 46% 52% 48%;background:radial-gradient(circle at 35% 35%,#3d3733,#14100e 70%);box-shadow:0 0 10px #19151373}.brushfill:before{content:"";position:absolute;right:3px;top:100%;width:5px;height:7px;border-radius:50% 50% 60% 60%;background:#191513a6;opacity:0;animation:ink-drip 2.4s ease-in infinite}@keyframes ink-drip{0%,55%{transform:translateY(0) scale(.6);opacity:0}65%{transform:translateY(2px) scale(1);opacity:.8}95%{transform:translateY(15px) scale(.9);opacity:0}to{opacity:0}}.panes{display:grid;grid-template-columns:1fr;gap:20px}.pane{display:flex;flex-direction:column;background:#fffdf8b8;border:1px solid var(--paper-3);border-radius:12px;box-shadow:0 12px 30px -22px #2f2a2880;overflow:hidden}.pane-head{display:flex;justify-content:space-between;align-items:baseline;padding:10px 16px 8px;border-bottom:1px dashed var(--paper-3)}.lang{font-family:var(--serif-display);font-weight:600;color:var(--plum);letter-spacing:.06em}.pane.src .lang{font-family:var(--serif-zh)}.count{color:var(--ink-faint);font-size:.8rem;font-variant-numeric:tabular-nums}.pane textarea,.output{min-height:200px;padding:14px 16px;border:none;background:transparent;resize:vertical;flex:1}.pane textarea{font-family:var(--serif-zh);font-size:1.06rem;line-height:1.75;color:var(--ink)}.pane textarea::placeholder{color:var(--ink-faint);opacity:.8}.pane textarea:focus{outline:none}.output{font-family:var(--serif-vi);font-size:1.02rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:break-word;overflow-y:auto;max-height:60vh}.output .dlg{font-style:italic}.pane-foot{display:flex;gap:8px;padding:8px 12px 12px;margin-top:auto}.actions{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:20px 2px 0;padding:10px 2px calc(10px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--paper-3);box-shadow:0 -8px 18px #2f2a280d}.actions .go{padding:12px 30px}.auto{color:var(--ink-soft);font-size:.9rem;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.auto input{--knob: 14px;appearance:none;width:36px;height:20px;margin:0;border-radius:999px;border:1px solid var(--ink-faint);background:var(--paper-2);position:relative;cursor:pointer;flex:none;transition:background .15s ease,border-color .15s ease}.auto input:before{content:"";position:absolute;top:50%;left:2px;width:var(--knob);height:var(--knob);border-radius:50%;transform:translateY(-50%);background:#fffdf8;box-shadow:0 1px 2px #2f2a2859;transition:left .15s ease}.auto input:checked{background:var(--moss);border-color:var(--moss)}.auto input:checked:before{left:calc(100% - var(--knob) - 2px)}.progress{color:var(--plum);font-size:.9rem;font-variant-numeric:tabular-nums}.paneltabs{flex:1 0 100%;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.paneltabs::-webkit-scrollbar{width:0;height:0}.paneltab{flex:none}.paneltab.on{border-color:var(--plum);color:var(--plum);background:#9a5d7f0f}.tabbadge{padding:1px 8px;border-radius:999px;background:var(--paper-2);color:var(--ink-faint);font-size:.82em;font-variant-numeric:tabular-nums}.docbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 2px 12px;padding:8px 12px;border:1px solid var(--paper-3);border-radius:10px;background:#fffdf899;color:var(--ink-soft);font-size:.9rem}.docbar .bi{width:16px;height:16px;color:var(--plum);flex:none}.docbar-name{color:var(--ink);overflow-wrap:anywhere;min-width:0}.docbar .ghost{margin-left:auto}.panes{position:relative}.dropveil{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:2px dashed var(--seal);border-radius:12px;background:#f4eee3eb;color:var(--ink-soft);text-align:center;pointer-events:none}.dropveil p{margin:2px 0}.srchint{margin:10px 2px 0}.srcview{flex:1;min-height:200px;max-height:60vh;margin:0;padding:14px 16px;overflow:auto;font-family:var(--serif-zh);font-size:1.06rem;line-height:1.75;color:var(--ink);white-space:pre-wrap;overflow-wrap:break-word}.pane-foot .more{margin-left:auto;font-size:.88rem}.encpick{color:var(--ink-soft);font-size:.88rem}.encpick select{font:inherit;margin-left:6px;padding:4px 8px;border:1px solid var(--paper-3);border-radius:6px;background:var(--paper);color:var(--ink)}.error-banner{display:flex;align-items:center;gap:14px;justify-content:space-between;margin:18px 0;padding:12px 16px;border-radius:10px;border:1px solid rgba(179,55,47,.4);background:#b3372f14;color:var(--seal-dark)}.stats{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:16px 2px 6px;margin-top:10px;border-top:1px solid var(--paper-3);color:var(--ink-faint);font-size:.8rem;font-variant-numeric:tabular-nums}.stats .perf{margin-left:0}.stats .perf:not(:empty){flex-basis:100%}.chipbadge .modellink{color:var(--moss);text-decoration:none;border-bottom:1px dotted currentColor}.chipbadge .modellink:hover{color:var(--plum)}.chipbadge .modellink:not([href]){border-bottom:none;color:inherit}a.ghost{text-decoration:none}.stats .ghost{background:#ffffff8c;border-color:#bfb094;box-shadow:0 1px 3px #2f2a2814}.stats .ghost:hover{border-color:var(--plum);color:var(--plum);background:#9a5d7f14}.bench-modal .hint a{color:var(--plum);text-underline-offset:2px}.gpu-tip{flex-basis:100%;color:var(--plum);font-size:.78rem}.chipbadge{display:inline-flex;align-items:center;gap:7px;padding:4px 11px;border:1px solid var(--paper-3);border-radius:999px;background:#fffdf88c;max-width:100%}.chipbadge .bi{width:15px;height:15px;color:var(--moss);transition:color .3s ease;flex-shrink:0}.chipbadge .chiptext{min-width:0;overflow-wrap:anywhere}.chipbadge.busy .bi{color:var(--seal);animation:chip-glow 1.15s ease-in-out infinite}@keyframes chip-glow{0%,to{filter:drop-shadow(0 0 0 rgba(179,55,47,0))}50%{filter:drop-shadow(0 0 4px rgba(179,55,47,.85))}}.ink-in{display:inline;animation:ink-in .55s both}@keyframes ink-in{0%{opacity:0;filter:blur(6px)}to{opacity:1;filter:blur(0)}}.ripple{position:absolute;border-radius:50%;width:18px;height:18px;margin:-9px;pointer-events:none;background:radial-gradient(circle,#19151380,#19151300 65%);animation:ripple-out .65s ease-out forwards}@keyframes ripple-out{0%{transform:scale(.4);opacity:.9}to{transform:scale(13);opacity:0}}@media(min-width:900px){.panes{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pane textarea,.output,.srcview{min-height:320px}.brand-text h1{font-size:2.15rem}.stats .perf,.stats .perf:not(:empty){margin-left:auto;flex-basis:auto}.actions{position:static;margin:20px 2px;padding:0;background:none;border-top:none;box-shadow:none;gap:18px}.actions .go{padding:12px 42px}.paneltabs{flex:0 1 auto;flex-wrap:wrap;margin-left:auto;overflow-x:visible}}@media(max-width:520px){.gate{margin:2vh auto;padding:20px 18px}.gate-address code{font-size:.74rem}}@media(pointer:coarse){.ghost{min-height:44px;padding:9px 16px}.go.small{min-height:44px}.encpick select{font-size:16px;min-height:40px}.auto{min-height:44px}.auto input{--knob: 18px;width:44px;height:24px}.linklike{padding:12px 4px;margin:-12px 0}}@media(hover:none){.go .kbd{display:none}}@media(prefers-reduced-motion:reduce){.mist{display:none}.go.busy{animation:none;opacity:.75}.ink-in{animation-duration:.2s}.ripple{display:none}.brushfill{transition:none;animation:none}.brushfill:before{display:none}.hero img,.chipbadge.busy .bi{animation:none}.auto input,.auto input:before{transition:none}}.bench-modal{border:1px solid var(--ink);border-radius:10px;background:var(--paper);color:var(--ink);max-width:34rem;width:calc(100vw - 2rem);padding:1rem 1.25rem}.bench-modal::backdrop{background:#0006}.bench-modal .bench-json pre{max-height:40vh;overflow:auto;font-size:.72rem;background:#0000000f;padding:.5rem;border-radius:6px}.bench-modal .bench-acts{display:flex;gap:.5rem;justify-content:flex-end;margin-top:.75rem}.bench-modal textarea{width:100%;margin-top:.5rem}.bench-attach{display:block;margin-top:.5rem}.benchsubmit{font-size:.85em}.panel-modal{width:100%;max-width:none;margin:auto 0 0;padding:0 1rem calc(1rem + env(safe-area-inset-bottom));border-width:1px 0 0;border-radius:16px 16px 0 0;max-height:88vh;max-height:88dvh}.panel-modal[open]{display:flex;flex-direction:column;animation:sheet-up .22s cubic-bezier(.2,.7,.3,1)}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.sheet-grip{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:4px 0 0;border:none;background:none;cursor:grab;touch-action:none}.sheet-grip:before{content:"";display:block;width:46px;height:4px;margin:0 auto;border-radius:999px;background:var(--paper-3)}.sheet-grip:active{cursor:grabbing}.panel-head{display:flex;flex:none;align-items:baseline;gap:1rem;margin-bottom:.5rem}.panel-head h3{margin:0;font-family:var(--serif-display)}.panel-head .ghost{margin-left:auto}.panel-body{flex:1 1 auto;min-height:0;overflow:auto}.panel-body .hint{line-height:1.5}@media(min-width:900px){.panel-modal{width:calc(100vw - 2rem);max-width:46rem;max-height:82vh;margin:auto;padding:1rem 1.25rem;border-width:1px;border-radius:10px}.panel-modal[open]{animation:none}.sheet-grip{display:none}}@media(prefers-reduced-motion:reduce){.panel-modal[open]{animation:none}}.rail,.railtoggle{display:none}@media(min-width:1440px){.railtoggle{display:inline-flex}.page.rail-open{--rail-w: 320px;--rail-gap: 24px;max-width:1400px;padding-right:calc(20px + var(--rail-w) + var(--rail-gap))}.page.rail-open .rail{display:block;position:absolute;top:26px;right:20px;bottom:14px;width:var(--rail-w)}.rail-inner{position:sticky;top:26px;display:flex;flex-direction:column;max-height:calc(100vh - 52px);max-height:calc(100dvh - 52px);padding:14px 16px;border:1px solid var(--paper-3);border-radius:12px;background:#fffdf8b8}.rail .tmtable,.rail .tmtable tbody,.rail .tmtable tr,.rail .tmtable td{display:block}.rail .tmtable thead{display:none}.rail .tmtable td{padding:2px 0;border:none}.rail .tmtable tr{padding:10px 0;border-bottom:1px solid var(--paper-3)}.rail .tmtable td.num{padding-left:0;text-align:left}}.tmtable{width:100%;border-collapse:collapse;margin:.75rem 0}.tmtable th{padding:0 0 6px;text-align:left;font-size:.8rem;font-weight:600;color:var(--ink-faint);border-bottom:1px solid var(--paper-3)}.tmtable td{padding:10px 0;border-bottom:1px solid var(--paper-3);vertical-align:top}.tmtable .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.tmtable td.num{padding-left:12px}.tmtable b{display:block;overflow-wrap:anywhere}.tmtable .hint{display:block;font-size:.8rem;overflow-wrap:anywhere}.tmcur{display:inline-block;margin-top:4px;padding:1px 8px;border-radius:999px;background:#5e736024;color:var(--moss);font-size:.75rem}.tmlist{list-style:none;margin:.6rem 0 0;padding:0}.tmrow{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;padding:9px 0;border-bottom:1px solid var(--paper-3)}.tmrow-main{flex:1 1 8rem;min-width:0;display:flex;align-items:center;gap:8px}.tmrow-main b{overflow-wrap:anywhere}.tmrow .tmcur{margin-top:0;flex:none}.tmrow-meta{color:var(--ink-faint);font-size:.85rem;font-variant-numeric:tabular-nums;white-space:nowrap}.tmrow .ghost{flex:none;padding:3px 10px;font-size:.8rem}.panel-sep{border:none;border-top:1px solid var(--paper-3);margin:14px 0}.tmdanger{border-color:var(--seal);color:var(--seal)}.tmdanger:hover{border-color:var(--seal-dark);color:var(--seal-dark);background:#b3372f12}.glossform input,.entadd input{flex:1 1 130px;min-height:38px;padding:6px 12px;border:1px solid var(--paper-3);border-radius:10px;background:var(--paper);color:var(--ink);font:inherit}.glossform input:focus-visible,.entadd input:focus-visible{outline:2px solid var(--plum);outline-offset:1px}.glosstable .glossapply,.enttable .entn{width:3.5em}.glosstable .glossact,.enttable .entact{width:5.5em}.glosstable td,.enttable td{padding:7px 0;overflow-wrap:anywhere}.glosstable .glosszh,.enttable .entzh{font-family:var(--serif-zh);overflow-wrap:anywhere}.glosstable .ghost,.enttable .ghost{padding:3px 10px;font-size:.8rem}.glossform{display:flex;gap:8px;margin:12px 0 0;flex-wrap:wrap}.glossform input:first-child{font-family:var(--serif-zh)}.glossform .ghost{flex:none}.glossoff td{opacity:.45}.glosstable input[type=checkbox]{width:20px;height:20px;margin:0;cursor:pointer;accent-color:var(--moss)}.glosstable .glossact .ghost:hover{border-color:var(--seal);color:var(--seal);background:#b3372f12}.glosstools{display:flex;gap:8px;margin-top:14px}.glosstools .ghost{flex:none}.enttools{display:flex;gap:8px;margin:12px 0 0}.enthead{display:flex;align-items:center;gap:12px;margin:10px 0 0;flex-wrap:wrap}.enthead .hint{margin:0;flex:1 1 12rem}.enthead .ghost{flex:none}.entprog{display:flex;align-items:center;gap:12px;margin:10px 0 0}.entprog .ghost{flex:none}.entfilter{display:flex;gap:6px;margin:14px 0 2px;flex-wrap:wrap}.entfilter .ghost{border-radius:999px;padding:4px 12px;font-size:.82rem}.entfilter .on{border-color:var(--plum);background:#8d54741f;color:var(--plum);font-weight:600}.entfilter .on:hover{background:#8d54742e}.enttypeicon{color:var(--ink-faint);margin-right:7px}.enttypeicon .bi{width:13px;height:13px;vertical-align:-1.5px}.entfilter .bi{width:12px;height:12px}.enttable .enthv{font-family:var(--serif-vi);color:var(--ink-soft)}.enttable .entvi{font-family:var(--serif-vi)}.enttable .entvi.entguess{color:var(--ink-faint);font-style:italic}.enttable .entvi.entnone{color:var(--ink-faint)}.enttable .entn{color:var(--ink-faint);font-size:.85rem}.help-modal{max-width:34rem}.help-modal .help-list{margin:12px 0;padding-left:1.2rem;display:grid;gap:8px;line-height:1.5}.enttable tbody tr{cursor:pointer}.enttable tbody tr:hover td{background:#5e73600f}.entdone{color:var(--moss);font-weight:600}.entdetail td,.entdetail:hover td{padding:10px 12px;background:var(--paper-3);cursor:default}.entexample{margin:0;font-family:var(--serif-zh);font-size:.9rem;line-height:1.75;color:var(--ink-soft)}.entexample mark{background:none;color:var(--ink);text-decoration:underline;text-underline-offset:3px}.entadd{display:flex;gap:8px;margin:10px 0 2px;flex-wrap:wrap}.entadd .ghost{flex:none}.entadd .hint{flex:1 1 100%;margin:4px 0 0}.entmore{display:block;margin:12px auto 0}@media(pointer:coarse){.glossform input,.entadd input{min-height:44px}.glosstable .ghost,.enttable .ghost,.entfilter .ghost{padding:9px 14px}}
|
assets/names_data-nngCF4q7.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/{autotune-ZCGTapUs.js → preload-helper-DiAwoGSG.js}
RENAMED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/{reference-BxXr9VhE.js → reference-B1blnTed.js}
RENAMED
|
The diff for this file is too large to render.
See raw diff
|
|
|
bench.html
CHANGED
|
@@ -13,9 +13,9 @@
|
|
| 13 |
font-family: system-ui, sans-serif;
|
| 14 |
}
|
| 15 |
</style>
|
| 16 |
-
<script type="module" crossorigin src="/assets/bench-
|
| 17 |
<link rel="modulepreload" crossorigin href="/assets/modulepreload-polyfill-B5Qt9EMX.js">
|
| 18 |
-
<link rel="modulepreload" crossorigin href="/assets/
|
| 19 |
</head>
|
| 20 |
<body>
|
| 21 |
<main id="app"></main>
|
|
|
|
| 13 |
font-family: system-ui, sans-serif;
|
| 14 |
}
|
| 15 |
</style>
|
| 16 |
+
<script type="module" crossorigin src="/assets/bench-1xfW6bwf.js"></script>
|
| 17 |
<link rel="modulepreload" crossorigin href="/assets/modulepreload-polyfill-B5Qt9EMX.js">
|
| 18 |
+
<link rel="modulepreload" crossorigin href="/assets/preload-helper-DiAwoGSG.js">
|
| 19 |
</head>
|
| 20 |
<body>
|
| 21 |
<main id="app"></main>
|
index.html
CHANGED
|
@@ -12,11 +12,11 @@
|
|
| 12 |
<meta name="theme-color" content="#b3372f" />
|
| 13 |
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
| 14 |
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='10' fill='%23b3372f'/%3E%3Ctext x='32' y='30' font-size='26' text-anchor='middle' fill='%23f4eee3' font-family='serif'%3E墨%3C/text%3E%3Ctext x='32' y='56' font-size='26' text-anchor='middle' fill='%23f4eee3' font-family='serif'%3E曦%3C/text%3E%3C/svg%3E" />
|
| 15 |
-
<script type="module" crossorigin src="/assets/main-
|
| 16 |
<link rel="modulepreload" crossorigin href="/assets/modulepreload-polyfill-B5Qt9EMX.js">
|
| 17 |
-
<link rel="modulepreload" crossorigin href="/assets/
|
| 18 |
<link rel="modulepreload" crossorigin href="/assets/models-QsPq0tJ5.js">
|
| 19 |
-
<link rel="stylesheet" crossorigin href="/assets/main-
|
| 20 |
</head>
|
| 21 |
<body>
|
| 22 |
<div id="app">
|
|
|
|
| 12 |
<meta name="theme-color" content="#b3372f" />
|
| 13 |
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
| 14 |
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='10' fill='%23b3372f'/%3E%3Ctext x='32' y='30' font-size='26' text-anchor='middle' fill='%23f4eee3' font-family='serif'%3E墨%3C/text%3E%3Ctext x='32' y='56' font-size='26' text-anchor='middle' fill='%23f4eee3' font-family='serif'%3E曦%3C/text%3E%3C/svg%3E" />
|
| 15 |
+
<script type="module" crossorigin src="/assets/main-CSyTzukZ.js"></script>
|
| 16 |
<link rel="modulepreload" crossorigin href="/assets/modulepreload-polyfill-B5Qt9EMX.js">
|
| 17 |
+
<link rel="modulepreload" crossorigin href="/assets/preload-helper-DiAwoGSG.js">
|
| 18 |
<link rel="modulepreload" crossorigin href="/assets/models-QsPq0tJ5.js">
|
| 19 |
+
<link rel="stylesheet" crossorigin href="/assets/main-DVC4X1hK.css">
|
| 20 |
</head>
|
| 21 |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,
|
| 6 |
+
"heads": 4,
|
| 7 |
+
"headDim": 64,
|
| 8 |
+
"ffn": 1024,
|
| 9 |
+
"encLayers": 12,
|
| 10 |
+
"embSize": 256,
|
| 11 |
+
"vocab": 21128,
|
| 12 |
+
"maxPos": 512,
|
| 13 |
+
"srcCap": 512,
|
| 14 |
+
"lnEps": 1e-12,
|
| 15 |
+
"pad": 0,
|
| 16 |
+
"cls": 101,
|
| 17 |
+
"sep": 102,
|
| 18 |
+
"unk": 100
|
| 19 |
+
},
|
| 20 |
+
"labels": {
|
| 21 |
+
"ner": [
|
| 22 |
+
"O",
|
| 23 |
+
"B-Nh",
|
| 24 |
+
"I-Nh",
|
| 25 |
+
"B-Ns",
|
| 26 |
+
"I-Ns",
|
| 27 |
+
"B-Ni",
|
| 28 |
+
"I-Ni"
|
| 29 |
+
]
|
| 30 |
+
},
|
| 31 |
+
"storage": {
|
| 32 |
+
"dtype": "f16",
|
| 33 |
+
"alignmentBytes": 256,
|
| 34 |
+
"imageBytes": 30038544,
|
| 35 |
+
"imageSha256": "9cd23b6c8488a2dde401b8d80b011e88f54a2f5bd4c3838a17b0149498780468",
|
| 36 |
+
"tokenTypeRow0FoldedIntoPosition": true,
|
| 37 |
+
"qkvLayout": "q|k|v",
|
| 38 |
+
"classifierWeightLayout": "NK"
|
| 39 |
+
},
|
| 40 |
+
"bins": [
|
| 41 |
+
{
|
| 42 |
+
"file": "weights.9cd23b6c8488.p0.bin",
|
| 43 |
+
"byteLength": 20000000,
|
| 44 |
+
"sha256": "4b0831122806053ff36d787e5eb5145b8f72915517d70ea0947f481741f4a795"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"file": "weights.9cd23b6c8488.p1.bin",
|
| 48 |
+
"byteLength": 10038544,
|
| 49 |
+
"sha256": "517acbab12cdbc5e978655b97f0ef88c25d01e8df10f3719d9f03a8bb801b743"
|
| 50 |
+
}
|
| 51 |
+
],
|
| 52 |
+
"tensors": [
|
| 53 |
+
{
|
| 54 |
+
"name": "emb.word",
|
| 55 |
+
"dtype": "f16",
|
| 56 |
+
"shape": [
|
| 57 |
+
21128,
|
| 58 |
+
256
|
| 59 |
+
],
|
| 60 |
+
"byteOffset": 0,
|
| 61 |
+
"byteLength": 10817536
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": "emb.pos",
|
| 65 |
+
"dtype": "f16",
|
| 66 |
+
"shape": [
|
| 67 |
+
512,
|
| 68 |
+
256
|
| 69 |
+
],
|
| 70 |
+
"byteOffset": 10817536,
|
| 71 |
+
"byteLength": 262144
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"name": "emb.ln.weight",
|
| 75 |
+
"dtype": "f16",
|
| 76 |
+
"shape": [
|
| 77 |
+
256
|
| 78 |
+
],
|
| 79 |
+
"byteOffset": 11079680,
|
| 80 |
+
"byteLength": 512
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": "emb.ln.bias",
|
| 84 |
+
"dtype": "f16",
|
| 85 |
+
"shape": [
|
| 86 |
+
256
|
| 87 |
+
],
|
| 88 |
+
"byteOffset": 11080192,
|
| 89 |
+
"byteLength": 512
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"name": "enc.0.qkv.weight",
|
| 93 |
+
"dtype": "f16",
|
| 94 |
+
"shape": [
|
| 95 |
+
256,
|
| 96 |
+
768
|
| 97 |
+
],
|
| 98 |
+
"byteOffset": 11080704,
|
| 99 |
+
"byteLength": 393216,
|
| 100 |
+
"layout": "KN"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"name": "enc.0.qkv.bias",
|
| 104 |
+
"dtype": "f16",
|
| 105 |
+
"shape": [
|
| 106 |
+
768
|
| 107 |
+
],
|
| 108 |
+
"byteOffset": 11473920,
|
| 109 |
+
"byteLength": 1536
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"name": "enc.0.out.weight",
|
| 113 |
+
"dtype": "f16",
|
| 114 |
+
"shape": [
|
| 115 |
+
256,
|
| 116 |
+
256
|
| 117 |
+
],
|
| 118 |
+
"byteOffset": 11475456,
|
| 119 |
+
"byteLength": 131072,
|
| 120 |
+
"layout": "KN"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"name": "enc.0.out.bias",
|
| 124 |
+
"dtype": "f16",
|
| 125 |
+
"shape": [
|
| 126 |
+
256
|
| 127 |
+
],
|
| 128 |
+
"byteOffset": 11606528,
|
| 129 |
+
"byteLength": 512
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"name": "enc.0.ln1.weight",
|
| 133 |
+
"dtype": "f16",
|
| 134 |
+
"shape": [
|
| 135 |
+
256
|
| 136 |
+
],
|
| 137 |
+
"byteOffset": 11607040,
|
| 138 |
+
"byteLength": 512
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"name": "enc.0.ln1.bias",
|
| 142 |
+
"dtype": "f16",
|
| 143 |
+
"shape": [
|
| 144 |
+
256
|
| 145 |
+
],
|
| 146 |
+
"byteOffset": 11607552,
|
| 147 |
+
"byteLength": 512
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"name": "enc.0.fc1.weight",
|
| 151 |
+
"dtype": "f16",
|
| 152 |
+
"shape": [
|
| 153 |
+
256,
|
| 154 |
+
1024
|
| 155 |
+
],
|
| 156 |
+
"byteOffset": 11608064,
|
| 157 |
+
"byteLength": 524288,
|
| 158 |
+
"layout": "KN"
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"name": "enc.0.fc1.bias",
|
| 162 |
+
"dtype": "f16",
|
| 163 |
+
"shape": [
|
| 164 |
+
1024
|
| 165 |
+
],
|
| 166 |
+
"byteOffset": 12132352,
|
| 167 |
+
"byteLength": 2048
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"name": "enc.0.fc2.weight",
|
| 171 |
+
"dtype": "f16",
|
| 172 |
+
"shape": [
|
| 173 |
+
1024,
|
| 174 |
+
256
|
| 175 |
+
],
|
| 176 |
+
"byteOffset": 12134400,
|
| 177 |
+
"byteLength": 524288,
|
| 178 |
+
"layout": "KN"
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "enc.0.fc2.bias",
|
| 182 |
+
"dtype": "f16",
|
| 183 |
+
"shape": [
|
| 184 |
+
256
|
| 185 |
+
],
|
| 186 |
+
"byteOffset": 12658688,
|
| 187 |
+
"byteLength": 512
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"name": "enc.0.ln2.weight",
|
| 191 |
+
"dtype": "f16",
|
| 192 |
+
"shape": [
|
| 193 |
+
256
|
| 194 |
+
],
|
| 195 |
+
"byteOffset": 12659200,
|
| 196 |
+
"byteLength": 512
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "enc.0.ln2.bias",
|
| 200 |
+
"dtype": "f16",
|
| 201 |
+
"shape": [
|
| 202 |
+
256
|
| 203 |
+
],
|
| 204 |
+
"byteOffset": 12659712,
|
| 205 |
+
"byteLength": 512
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"name": "enc.1.qkv.weight",
|
| 209 |
+
"dtype": "f16",
|
| 210 |
+
"shape": [
|
| 211 |
+
256,
|
| 212 |
+
768
|
| 213 |
+
],
|
| 214 |
+
"byteOffset": 12660224,
|
| 215 |
+
"byteLength": 393216,
|
| 216 |
+
"layout": "KN"
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"name": "enc.1.qkv.bias",
|
| 220 |
+
"dtype": "f16",
|
| 221 |
+
"shape": [
|
| 222 |
+
768
|
| 223 |
+
],
|
| 224 |
+
"byteOffset": 13053440,
|
| 225 |
+
"byteLength": 1536
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"name": "enc.1.out.weight",
|
| 229 |
+
"dtype": "f16",
|
| 230 |
+
"shape": [
|
| 231 |
+
256,
|
| 232 |
+
256
|
| 233 |
+
],
|
| 234 |
+
"byteOffset": 13054976,
|
| 235 |
+
"byteLength": 131072,
|
| 236 |
+
"layout": "KN"
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"name": "enc.1.out.bias",
|
| 240 |
+
"dtype": "f16",
|
| 241 |
+
"shape": [
|
| 242 |
+
256
|
| 243 |
+
],
|
| 244 |
+
"byteOffset": 13186048,
|
| 245 |
+
"byteLength": 512
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"name": "enc.1.ln1.weight",
|
| 249 |
+
"dtype": "f16",
|
| 250 |
+
"shape": [
|
| 251 |
+
256
|
| 252 |
+
],
|
| 253 |
+
"byteOffset": 13186560,
|
| 254 |
+
"byteLength": 512
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"name": "enc.1.ln1.bias",
|
| 258 |
+
"dtype": "f16",
|
| 259 |
+
"shape": [
|
| 260 |
+
256
|
| 261 |
+
],
|
| 262 |
+
"byteOffset": 13187072,
|
| 263 |
+
"byteLength": 512
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"name": "enc.1.fc1.weight",
|
| 267 |
+
"dtype": "f16",
|
| 268 |
+
"shape": [
|
| 269 |
+
256,
|
| 270 |
+
1024
|
| 271 |
+
],
|
| 272 |
+
"byteOffset": 13187584,
|
| 273 |
+
"byteLength": 524288,
|
| 274 |
+
"layout": "KN"
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"name": "enc.1.fc1.bias",
|
| 278 |
+
"dtype": "f16",
|
| 279 |
+
"shape": [
|
| 280 |
+
1024
|
| 281 |
+
],
|
| 282 |
+
"byteOffset": 13711872,
|
| 283 |
+
"byteLength": 2048
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"name": "enc.1.fc2.weight",
|
| 287 |
+
"dtype": "f16",
|
| 288 |
+
"shape": [
|
| 289 |
+
1024,
|
| 290 |
+
256
|
| 291 |
+
],
|
| 292 |
+
"byteOffset": 13713920,
|
| 293 |
+
"byteLength": 524288,
|
| 294 |
+
"layout": "KN"
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"name": "enc.1.fc2.bias",
|
| 298 |
+
"dtype": "f16",
|
| 299 |
+
"shape": [
|
| 300 |
+
256
|
| 301 |
+
],
|
| 302 |
+
"byteOffset": 14238208,
|
| 303 |
+
"byteLength": 512
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"name": "enc.1.ln2.weight",
|
| 307 |
+
"dtype": "f16",
|
| 308 |
+
"shape": [
|
| 309 |
+
256
|
| 310 |
+
],
|
| 311 |
+
"byteOffset": 14238720,
|
| 312 |
+
"byteLength": 512
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"name": "enc.1.ln2.bias",
|
| 316 |
+
"dtype": "f16",
|
| 317 |
+
"shape": [
|
| 318 |
+
256
|
| 319 |
+
],
|
| 320 |
+
"byteOffset": 14239232,
|
| 321 |
+
"byteLength": 512
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"name": "enc.2.qkv.weight",
|
| 325 |
+
"dtype": "f16",
|
| 326 |
+
"shape": [
|
| 327 |
+
256,
|
| 328 |
+
768
|
| 329 |
+
],
|
| 330 |
+
"byteOffset": 14239744,
|
| 331 |
+
"byteLength": 393216,
|
| 332 |
+
"layout": "KN"
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"name": "enc.2.qkv.bias",
|
| 336 |
+
"dtype": "f16",
|
| 337 |
+
"shape": [
|
| 338 |
+
768
|
| 339 |
+
],
|
| 340 |
+
"byteOffset": 14632960,
|
| 341 |
+
"byteLength": 1536
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"name": "enc.2.out.weight",
|
| 345 |
+
"dtype": "f16",
|
| 346 |
+
"shape": [
|
| 347 |
+
256,
|
| 348 |
+
256
|
| 349 |
+
],
|
| 350 |
+
"byteOffset": 14634496,
|
| 351 |
+
"byteLength": 131072,
|
| 352 |
+
"layout": "KN"
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "enc.2.out.bias",
|
| 356 |
+
"dtype": "f16",
|
| 357 |
+
"shape": [
|
| 358 |
+
256
|
| 359 |
+
],
|
| 360 |
+
"byteOffset": 14765568,
|
| 361 |
+
"byteLength": 512
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"name": "enc.2.ln1.weight",
|
| 365 |
+
"dtype": "f16",
|
| 366 |
+
"shape": [
|
| 367 |
+
256
|
| 368 |
+
],
|
| 369 |
+
"byteOffset": 14766080,
|
| 370 |
+
"byteLength": 512
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"name": "enc.2.ln1.bias",
|
| 374 |
+
"dtype": "f16",
|
| 375 |
+
"shape": [
|
| 376 |
+
256
|
| 377 |
+
],
|
| 378 |
+
"byteOffset": 14766592,
|
| 379 |
+
"byteLength": 512
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"name": "enc.2.fc1.weight",
|
| 383 |
+
"dtype": "f16",
|
| 384 |
+
"shape": [
|
| 385 |
+
256,
|
| 386 |
+
1024
|
| 387 |
+
],
|
| 388 |
+
"byteOffset": 14767104,
|
| 389 |
+
"byteLength": 524288,
|
| 390 |
+
"layout": "KN"
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"name": "enc.2.fc1.bias",
|
| 394 |
+
"dtype": "f16",
|
| 395 |
+
"shape": [
|
| 396 |
+
1024
|
| 397 |
+
],
|
| 398 |
+
"byteOffset": 15291392,
|
| 399 |
+
"byteLength": 2048
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"name": "enc.2.fc2.weight",
|
| 403 |
+
"dtype": "f16",
|
| 404 |
+
"shape": [
|
| 405 |
+
1024,
|
| 406 |
+
256
|
| 407 |
+
],
|
| 408 |
+
"byteOffset": 15293440,
|
| 409 |
+
"byteLength": 524288,
|
| 410 |
+
"layout": "KN"
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"name": "enc.2.fc2.bias",
|
| 414 |
+
"dtype": "f16",
|
| 415 |
+
"shape": [
|
| 416 |
+
256
|
| 417 |
+
],
|
| 418 |
+
"byteOffset": 15817728,
|
| 419 |
+
"byteLength": 512
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"name": "enc.2.ln2.weight",
|
| 423 |
+
"dtype": "f16",
|
| 424 |
+
"shape": [
|
| 425 |
+
256
|
| 426 |
+
],
|
| 427 |
+
"byteOffset": 15818240,
|
| 428 |
+
"byteLength": 512
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"name": "enc.2.ln2.bias",
|
| 432 |
+
"dtype": "f16",
|
| 433 |
+
"shape": [
|
| 434 |
+
256
|
| 435 |
+
],
|
| 436 |
+
"byteOffset": 15818752,
|
| 437 |
+
"byteLength": 512
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"name": "enc.3.qkv.weight",
|
| 441 |
+
"dtype": "f16",
|
| 442 |
+
"shape": [
|
| 443 |
+
256,
|
| 444 |
+
768
|
| 445 |
+
],
|
| 446 |
+
"byteOffset": 15819264,
|
| 447 |
+
"byteLength": 393216,
|
| 448 |
+
"layout": "KN"
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"name": "enc.3.qkv.bias",
|
| 452 |
+
"dtype": "f16",
|
| 453 |
+
"shape": [
|
| 454 |
+
768
|
| 455 |
+
],
|
| 456 |
+
"byteOffset": 16212480,
|
| 457 |
+
"byteLength": 1536
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"name": "enc.3.out.weight",
|
| 461 |
+
"dtype": "f16",
|
| 462 |
+
"shape": [
|
| 463 |
+
256,
|
| 464 |
+
256
|
| 465 |
+
],
|
| 466 |
+
"byteOffset": 16214016,
|
| 467 |
+
"byteLength": 131072,
|
| 468 |
+
"layout": "KN"
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"name": "enc.3.out.bias",
|
| 472 |
+
"dtype": "f16",
|
| 473 |
+
"shape": [
|
| 474 |
+
256
|
| 475 |
+
],
|
| 476 |
+
"byteOffset": 16345088,
|
| 477 |
+
"byteLength": 512
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"name": "enc.3.ln1.weight",
|
| 481 |
+
"dtype": "f16",
|
| 482 |
+
"shape": [
|
| 483 |
+
256
|
| 484 |
+
],
|
| 485 |
+
"byteOffset": 16345600,
|
| 486 |
+
"byteLength": 512
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"name": "enc.3.ln1.bias",
|
| 490 |
+
"dtype": "f16",
|
| 491 |
+
"shape": [
|
| 492 |
+
256
|
| 493 |
+
],
|
| 494 |
+
"byteOffset": 16346112,
|
| 495 |
+
"byteLength": 512
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"name": "enc.3.fc1.weight",
|
| 499 |
+
"dtype": "f16",
|
| 500 |
+
"shape": [
|
| 501 |
+
256,
|
| 502 |
+
1024
|
| 503 |
+
],
|
| 504 |
+
"byteOffset": 16346624,
|
| 505 |
+
"byteLength": 524288,
|
| 506 |
+
"layout": "KN"
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"name": "enc.3.fc1.bias",
|
| 510 |
+
"dtype": "f16",
|
| 511 |
+
"shape": [
|
| 512 |
+
1024
|
| 513 |
+
],
|
| 514 |
+
"byteOffset": 16870912,
|
| 515 |
+
"byteLength": 2048
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"name": "enc.3.fc2.weight",
|
| 519 |
+
"dtype": "f16",
|
| 520 |
+
"shape": [
|
| 521 |
+
1024,
|
| 522 |
+
256
|
| 523 |
+
],
|
| 524 |
+
"byteOffset": 16872960,
|
| 525 |
+
"byteLength": 524288,
|
| 526 |
+
"layout": "KN"
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"name": "enc.3.fc2.bias",
|
| 530 |
+
"dtype": "f16",
|
| 531 |
+
"shape": [
|
| 532 |
+
256
|
| 533 |
+
],
|
| 534 |
+
"byteOffset": 17397248,
|
| 535 |
+
"byteLength": 512
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"name": "enc.3.ln2.weight",
|
| 539 |
+
"dtype": "f16",
|
| 540 |
+
"shape": [
|
| 541 |
+
256
|
| 542 |
+
],
|
| 543 |
+
"byteOffset": 17397760,
|
| 544 |
+
"byteLength": 512
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"name": "enc.3.ln2.bias",
|
| 548 |
+
"dtype": "f16",
|
| 549 |
+
"shape": [
|
| 550 |
+
256
|
| 551 |
+
],
|
| 552 |
+
"byteOffset": 17398272,
|
| 553 |
+
"byteLength": 512
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"name": "enc.4.qkv.weight",
|
| 557 |
+
"dtype": "f16",
|
| 558 |
+
"shape": [
|
| 559 |
+
256,
|
| 560 |
+
768
|
| 561 |
+
],
|
| 562 |
+
"byteOffset": 17398784,
|
| 563 |
+
"byteLength": 393216,
|
| 564 |
+
"layout": "KN"
|
| 565 |
+
},
|
| 566 |
+
{
|
| 567 |
+
"name": "enc.4.qkv.bias",
|
| 568 |
+
"dtype": "f16",
|
| 569 |
+
"shape": [
|
| 570 |
+
768
|
| 571 |
+
],
|
| 572 |
+
"byteOffset": 17792000,
|
| 573 |
+
"byteLength": 1536
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"name": "enc.4.out.weight",
|
| 577 |
+
"dtype": "f16",
|
| 578 |
+
"shape": [
|
| 579 |
+
256,
|
| 580 |
+
256
|
| 581 |
+
],
|
| 582 |
+
"byteOffset": 17793536,
|
| 583 |
+
"byteLength": 131072,
|
| 584 |
+
"layout": "KN"
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"name": "enc.4.out.bias",
|
| 588 |
+
"dtype": "f16",
|
| 589 |
+
"shape": [
|
| 590 |
+
256
|
| 591 |
+
],
|
| 592 |
+
"byteOffset": 17924608,
|
| 593 |
+
"byteLength": 512
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"name": "enc.4.ln1.weight",
|
| 597 |
+
"dtype": "f16",
|
| 598 |
+
"shape": [
|
| 599 |
+
256
|
| 600 |
+
],
|
| 601 |
+
"byteOffset": 17925120,
|
| 602 |
+
"byteLength": 512
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"name": "enc.4.ln1.bias",
|
| 606 |
+
"dtype": "f16",
|
| 607 |
+
"shape": [
|
| 608 |
+
256
|
| 609 |
+
],
|
| 610 |
+
"byteOffset": 17925632,
|
| 611 |
+
"byteLength": 512
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"name": "enc.4.fc1.weight",
|
| 615 |
+
"dtype": "f16",
|
| 616 |
+
"shape": [
|
| 617 |
+
256,
|
| 618 |
+
1024
|
| 619 |
+
],
|
| 620 |
+
"byteOffset": 17926144,
|
| 621 |
+
"byteLength": 524288,
|
| 622 |
+
"layout": "KN"
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"name": "enc.4.fc1.bias",
|
| 626 |
+
"dtype": "f16",
|
| 627 |
+
"shape": [
|
| 628 |
+
1024
|
| 629 |
+
],
|
| 630 |
+
"byteOffset": 18450432,
|
| 631 |
+
"byteLength": 2048
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"name": "enc.4.fc2.weight",
|
| 635 |
+
"dtype": "f16",
|
| 636 |
+
"shape": [
|
| 637 |
+
1024,
|
| 638 |
+
256
|
| 639 |
+
],
|
| 640 |
+
"byteOffset": 18452480,
|
| 641 |
+
"byteLength": 524288,
|
| 642 |
+
"layout": "KN"
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"name": "enc.4.fc2.bias",
|
| 646 |
+
"dtype": "f16",
|
| 647 |
+
"shape": [
|
| 648 |
+
256
|
| 649 |
+
],
|
| 650 |
+
"byteOffset": 18976768,
|
| 651 |
+
"byteLength": 512
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"name": "enc.4.ln2.weight",
|
| 655 |
+
"dtype": "f16",
|
| 656 |
+
"shape": [
|
| 657 |
+
256
|
| 658 |
+
],
|
| 659 |
+
"byteOffset": 18977280,
|
| 660 |
+
"byteLength": 512
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"name": "enc.4.ln2.bias",
|
| 664 |
+
"dtype": "f16",
|
| 665 |
+
"shape": [
|
| 666 |
+
256
|
| 667 |
+
],
|
| 668 |
+
"byteOffset": 18977792,
|
| 669 |
+
"byteLength": 512
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"name": "enc.5.qkv.weight",
|
| 673 |
+
"dtype": "f16",
|
| 674 |
+
"shape": [
|
| 675 |
+
256,
|
| 676 |
+
768
|
| 677 |
+
],
|
| 678 |
+
"byteOffset": 18978304,
|
| 679 |
+
"byteLength": 393216,
|
| 680 |
+
"layout": "KN"
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"name": "enc.5.qkv.bias",
|
| 684 |
+
"dtype": "f16",
|
| 685 |
+
"shape": [
|
| 686 |
+
768
|
| 687 |
+
],
|
| 688 |
+
"byteOffset": 19371520,
|
| 689 |
+
"byteLength": 1536
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"name": "enc.5.out.weight",
|
| 693 |
+
"dtype": "f16",
|
| 694 |
+
"shape": [
|
| 695 |
+
256,
|
| 696 |
+
256
|
| 697 |
+
],
|
| 698 |
+
"byteOffset": 19373056,
|
| 699 |
+
"byteLength": 131072,
|
| 700 |
+
"layout": "KN"
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"name": "enc.5.out.bias",
|
| 704 |
+
"dtype": "f16",
|
| 705 |
+
"shape": [
|
| 706 |
+
256
|
| 707 |
+
],
|
| 708 |
+
"byteOffset": 19504128,
|
| 709 |
+
"byteLength": 512
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"name": "enc.5.ln1.weight",
|
| 713 |
+
"dtype": "f16",
|
| 714 |
+
"shape": [
|
| 715 |
+
256
|
| 716 |
+
],
|
| 717 |
+
"byteOffset": 19504640,
|
| 718 |
+
"byteLength": 512
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"name": "enc.5.ln1.bias",
|
| 722 |
+
"dtype": "f16",
|
| 723 |
+
"shape": [
|
| 724 |
+
256
|
| 725 |
+
],
|
| 726 |
+
"byteOffset": 19505152,
|
| 727 |
+
"byteLength": 512
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"name": "enc.5.fc1.weight",
|
| 731 |
+
"dtype": "f16",
|
| 732 |
+
"shape": [
|
| 733 |
+
256,
|
| 734 |
+
1024
|
| 735 |
+
],
|
| 736 |
+
"byteOffset": 19505664,
|
| 737 |
+
"byteLength": 524288,
|
| 738 |
+
"layout": "KN"
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"name": "enc.5.fc1.bias",
|
| 742 |
+
"dtype": "f16",
|
| 743 |
+
"shape": [
|
| 744 |
+
1024
|
| 745 |
+
],
|
| 746 |
+
"byteOffset": 20029952,
|
| 747 |
+
"byteLength": 2048
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"name": "enc.5.fc2.weight",
|
| 751 |
+
"dtype": "f16",
|
| 752 |
+
"shape": [
|
| 753 |
+
1024,
|
| 754 |
+
256
|
| 755 |
+
],
|
| 756 |
+
"byteOffset": 20032000,
|
| 757 |
+
"byteLength": 524288,
|
| 758 |
+
"layout": "KN"
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"name": "enc.5.fc2.bias",
|
| 762 |
+
"dtype": "f16",
|
| 763 |
+
"shape": [
|
| 764 |
+
256
|
| 765 |
+
],
|
| 766 |
+
"byteOffset": 20556288,
|
| 767 |
+
"byteLength": 512
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"name": "enc.5.ln2.weight",
|
| 771 |
+
"dtype": "f16",
|
| 772 |
+
"shape": [
|
| 773 |
+
256
|
| 774 |
+
],
|
| 775 |
+
"byteOffset": 20556800,
|
| 776 |
+
"byteLength": 512
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"name": "enc.5.ln2.bias",
|
| 780 |
+
"dtype": "f16",
|
| 781 |
+
"shape": [
|
| 782 |
+
256
|
| 783 |
+
],
|
| 784 |
+
"byteOffset": 20557312,
|
| 785 |
+
"byteLength": 512
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"name": "enc.6.qkv.weight",
|
| 789 |
+
"dtype": "f16",
|
| 790 |
+
"shape": [
|
| 791 |
+
256,
|
| 792 |
+
768
|
| 793 |
+
],
|
| 794 |
+
"byteOffset": 20557824,
|
| 795 |
+
"byteLength": 393216,
|
| 796 |
+
"layout": "KN"
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"name": "enc.6.qkv.bias",
|
| 800 |
+
"dtype": "f16",
|
| 801 |
+
"shape": [
|
| 802 |
+
768
|
| 803 |
+
],
|
| 804 |
+
"byteOffset": 20951040,
|
| 805 |
+
"byteLength": 1536
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"name": "enc.6.out.weight",
|
| 809 |
+
"dtype": "f16",
|
| 810 |
+
"shape": [
|
| 811 |
+
256,
|
| 812 |
+
256
|
| 813 |
+
],
|
| 814 |
+
"byteOffset": 20952576,
|
| 815 |
+
"byteLength": 131072,
|
| 816 |
+
"layout": "KN"
|
| 817 |
+
},
|
| 818 |
+
{
|
| 819 |
+
"name": "enc.6.out.bias",
|
| 820 |
+
"dtype": "f16",
|
| 821 |
+
"shape": [
|
| 822 |
+
256
|
| 823 |
+
],
|
| 824 |
+
"byteOffset": 21083648,
|
| 825 |
+
"byteLength": 512
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"name": "enc.6.ln1.weight",
|
| 829 |
+
"dtype": "f16",
|
| 830 |
+
"shape": [
|
| 831 |
+
256
|
| 832 |
+
],
|
| 833 |
+
"byteOffset": 21084160,
|
| 834 |
+
"byteLength": 512
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"name": "enc.6.ln1.bias",
|
| 838 |
+
"dtype": "f16",
|
| 839 |
+
"shape": [
|
| 840 |
+
256
|
| 841 |
+
],
|
| 842 |
+
"byteOffset": 21084672,
|
| 843 |
+
"byteLength": 512
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"name": "enc.6.fc1.weight",
|
| 847 |
+
"dtype": "f16",
|
| 848 |
+
"shape": [
|
| 849 |
+
256,
|
| 850 |
+
1024
|
| 851 |
+
],
|
| 852 |
+
"byteOffset": 21085184,
|
| 853 |
+
"byteLength": 524288,
|
| 854 |
+
"layout": "KN"
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"name": "enc.6.fc1.bias",
|
| 858 |
+
"dtype": "f16",
|
| 859 |
+
"shape": [
|
| 860 |
+
1024
|
| 861 |
+
],
|
| 862 |
+
"byteOffset": 21609472,
|
| 863 |
+
"byteLength": 2048
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"name": "enc.6.fc2.weight",
|
| 867 |
+
"dtype": "f16",
|
| 868 |
+
"shape": [
|
| 869 |
+
1024,
|
| 870 |
+
256
|
| 871 |
+
],
|
| 872 |
+
"byteOffset": 21611520,
|
| 873 |
+
"byteLength": 524288,
|
| 874 |
+
"layout": "KN"
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"name": "enc.6.fc2.bias",
|
| 878 |
+
"dtype": "f16",
|
| 879 |
+
"shape": [
|
| 880 |
+
256
|
| 881 |
+
],
|
| 882 |
+
"byteOffset": 22135808,
|
| 883 |
+
"byteLength": 512
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"name": "enc.6.ln2.weight",
|
| 887 |
+
"dtype": "f16",
|
| 888 |
+
"shape": [
|
| 889 |
+
256
|
| 890 |
+
],
|
| 891 |
+
"byteOffset": 22136320,
|
| 892 |
+
"byteLength": 512
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"name": "enc.6.ln2.bias",
|
| 896 |
+
"dtype": "f16",
|
| 897 |
+
"shape": [
|
| 898 |
+
256
|
| 899 |
+
],
|
| 900 |
+
"byteOffset": 22136832,
|
| 901 |
+
"byteLength": 512
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"name": "enc.7.qkv.weight",
|
| 905 |
+
"dtype": "f16",
|
| 906 |
+
"shape": [
|
| 907 |
+
256,
|
| 908 |
+
768
|
| 909 |
+
],
|
| 910 |
+
"byteOffset": 22137344,
|
| 911 |
+
"byteLength": 393216,
|
| 912 |
+
"layout": "KN"
|
| 913 |
+
},
|
| 914 |
+
{
|
| 915 |
+
"name": "enc.7.qkv.bias",
|
| 916 |
+
"dtype": "f16",
|
| 917 |
+
"shape": [
|
| 918 |
+
768
|
| 919 |
+
],
|
| 920 |
+
"byteOffset": 22530560,
|
| 921 |
+
"byteLength": 1536
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"name": "enc.7.out.weight",
|
| 925 |
+
"dtype": "f16",
|
| 926 |
+
"shape": [
|
| 927 |
+
256,
|
| 928 |
+
256
|
| 929 |
+
],
|
| 930 |
+
"byteOffset": 22532096,
|
| 931 |
+
"byteLength": 131072,
|
| 932 |
+
"layout": "KN"
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"name": "enc.7.out.bias",
|
| 936 |
+
"dtype": "f16",
|
| 937 |
+
"shape": [
|
| 938 |
+
256
|
| 939 |
+
],
|
| 940 |
+
"byteOffset": 22663168,
|
| 941 |
+
"byteLength": 512
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"name": "enc.7.ln1.weight",
|
| 945 |
+
"dtype": "f16",
|
| 946 |
+
"shape": [
|
| 947 |
+
256
|
| 948 |
+
],
|
| 949 |
+
"byteOffset": 22663680,
|
| 950 |
+
"byteLength": 512
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"name": "enc.7.ln1.bias",
|
| 954 |
+
"dtype": "f16",
|
| 955 |
+
"shape": [
|
| 956 |
+
256
|
| 957 |
+
],
|
| 958 |
+
"byteOffset": 22664192,
|
| 959 |
+
"byteLength": 512
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"name": "enc.7.fc1.weight",
|
| 963 |
+
"dtype": "f16",
|
| 964 |
+
"shape": [
|
| 965 |
+
256,
|
| 966 |
+
1024
|
| 967 |
+
],
|
| 968 |
+
"byteOffset": 22664704,
|
| 969 |
+
"byteLength": 524288,
|
| 970 |
+
"layout": "KN"
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"name": "enc.7.fc1.bias",
|
| 974 |
+
"dtype": "f16",
|
| 975 |
+
"shape": [
|
| 976 |
+
1024
|
| 977 |
+
],
|
| 978 |
+
"byteOffset": 23188992,
|
| 979 |
+
"byteLength": 2048
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"name": "enc.7.fc2.weight",
|
| 983 |
+
"dtype": "f16",
|
| 984 |
+
"shape": [
|
| 985 |
+
1024,
|
| 986 |
+
256
|
| 987 |
+
],
|
| 988 |
+
"byteOffset": 23191040,
|
| 989 |
+
"byteLength": 524288,
|
| 990 |
+
"layout": "KN"
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"name": "enc.7.fc2.bias",
|
| 994 |
+
"dtype": "f16",
|
| 995 |
+
"shape": [
|
| 996 |
+
256
|
| 997 |
+
],
|
| 998 |
+
"byteOffset": 23715328,
|
| 999 |
+
"byteLength": 512
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"name": "enc.7.ln2.weight",
|
| 1003 |
+
"dtype": "f16",
|
| 1004 |
+
"shape": [
|
| 1005 |
+
256
|
| 1006 |
+
],
|
| 1007 |
+
"byteOffset": 23715840,
|
| 1008 |
+
"byteLength": 512
|
| 1009 |
+
},
|
| 1010 |
+
{
|
| 1011 |
+
"name": "enc.7.ln2.bias",
|
| 1012 |
+
"dtype": "f16",
|
| 1013 |
+
"shape": [
|
| 1014 |
+
256
|
| 1015 |
+
],
|
| 1016 |
+
"byteOffset": 23716352,
|
| 1017 |
+
"byteLength": 512
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"name": "enc.8.qkv.weight",
|
| 1021 |
+
"dtype": "f16",
|
| 1022 |
+
"shape": [
|
| 1023 |
+
256,
|
| 1024 |
+
768
|
| 1025 |
+
],
|
| 1026 |
+
"byteOffset": 23716864,
|
| 1027 |
+
"byteLength": 393216,
|
| 1028 |
+
"layout": "KN"
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"name": "enc.8.qkv.bias",
|
| 1032 |
+
"dtype": "f16",
|
| 1033 |
+
"shape": [
|
| 1034 |
+
768
|
| 1035 |
+
],
|
| 1036 |
+
"byteOffset": 24110080,
|
| 1037 |
+
"byteLength": 1536
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"name": "enc.8.out.weight",
|
| 1041 |
+
"dtype": "f16",
|
| 1042 |
+
"shape": [
|
| 1043 |
+
256,
|
| 1044 |
+
256
|
| 1045 |
+
],
|
| 1046 |
+
"byteOffset": 24111616,
|
| 1047 |
+
"byteLength": 131072,
|
| 1048 |
+
"layout": "KN"
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"name": "enc.8.out.bias",
|
| 1052 |
+
"dtype": "f16",
|
| 1053 |
+
"shape": [
|
| 1054 |
+
256
|
| 1055 |
+
],
|
| 1056 |
+
"byteOffset": 24242688,
|
| 1057 |
+
"byteLength": 512
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"name": "enc.8.ln1.weight",
|
| 1061 |
+
"dtype": "f16",
|
| 1062 |
+
"shape": [
|
| 1063 |
+
256
|
| 1064 |
+
],
|
| 1065 |
+
"byteOffset": 24243200,
|
| 1066 |
+
"byteLength": 512
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"name": "enc.8.ln1.bias",
|
| 1070 |
+
"dtype": "f16",
|
| 1071 |
+
"shape": [
|
| 1072 |
+
256
|
| 1073 |
+
],
|
| 1074 |
+
"byteOffset": 24243712,
|
| 1075 |
+
"byteLength": 512
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"name": "enc.8.fc1.weight",
|
| 1079 |
+
"dtype": "f16",
|
| 1080 |
+
"shape": [
|
| 1081 |
+
256,
|
| 1082 |
+
1024
|
| 1083 |
+
],
|
| 1084 |
+
"byteOffset": 24244224,
|
| 1085 |
+
"byteLength": 524288,
|
| 1086 |
+
"layout": "KN"
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"name": "enc.8.fc1.bias",
|
| 1090 |
+
"dtype": "f16",
|
| 1091 |
+
"shape": [
|
| 1092 |
+
1024
|
| 1093 |
+
],
|
| 1094 |
+
"byteOffset": 24768512,
|
| 1095 |
+
"byteLength": 2048
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"name": "enc.8.fc2.weight",
|
| 1099 |
+
"dtype": "f16",
|
| 1100 |
+
"shape": [
|
| 1101 |
+
1024,
|
| 1102 |
+
256
|
| 1103 |
+
],
|
| 1104 |
+
"byteOffset": 24770560,
|
| 1105 |
+
"byteLength": 524288,
|
| 1106 |
+
"layout": "KN"
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"name": "enc.8.fc2.bias",
|
| 1110 |
+
"dtype": "f16",
|
| 1111 |
+
"shape": [
|
| 1112 |
+
256
|
| 1113 |
+
],
|
| 1114 |
+
"byteOffset": 25294848,
|
| 1115 |
+
"byteLength": 512
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"name": "enc.8.ln2.weight",
|
| 1119 |
+
"dtype": "f16",
|
| 1120 |
+
"shape": [
|
| 1121 |
+
256
|
| 1122 |
+
],
|
| 1123 |
+
"byteOffset": 25295360,
|
| 1124 |
+
"byteLength": 512
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"name": "enc.8.ln2.bias",
|
| 1128 |
+
"dtype": "f16",
|
| 1129 |
+
"shape": [
|
| 1130 |
+
256
|
| 1131 |
+
],
|
| 1132 |
+
"byteOffset": 25295872,
|
| 1133 |
+
"byteLength": 512
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"name": "enc.9.qkv.weight",
|
| 1137 |
+
"dtype": "f16",
|
| 1138 |
+
"shape": [
|
| 1139 |
+
256,
|
| 1140 |
+
768
|
| 1141 |
+
],
|
| 1142 |
+
"byteOffset": 25296384,
|
| 1143 |
+
"byteLength": 393216,
|
| 1144 |
+
"layout": "KN"
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"name": "enc.9.qkv.bias",
|
| 1148 |
+
"dtype": "f16",
|
| 1149 |
+
"shape": [
|
| 1150 |
+
768
|
| 1151 |
+
],
|
| 1152 |
+
"byteOffset": 25689600,
|
| 1153 |
+
"byteLength": 1536
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"name": "enc.9.out.weight",
|
| 1157 |
+
"dtype": "f16",
|
| 1158 |
+
"shape": [
|
| 1159 |
+
256,
|
| 1160 |
+
256
|
| 1161 |
+
],
|
| 1162 |
+
"byteOffset": 25691136,
|
| 1163 |
+
"byteLength": 131072,
|
| 1164 |
+
"layout": "KN"
|
| 1165 |
+
},
|
| 1166 |
+
{
|
| 1167 |
+
"name": "enc.9.out.bias",
|
| 1168 |
+
"dtype": "f16",
|
| 1169 |
+
"shape": [
|
| 1170 |
+
256
|
| 1171 |
+
],
|
| 1172 |
+
"byteOffset": 25822208,
|
| 1173 |
+
"byteLength": 512
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"name": "enc.9.ln1.weight",
|
| 1177 |
+
"dtype": "f16",
|
| 1178 |
+
"shape": [
|
| 1179 |
+
256
|
| 1180 |
+
],
|
| 1181 |
+
"byteOffset": 25822720,
|
| 1182 |
+
"byteLength": 512
|
| 1183 |
+
},
|
| 1184 |
+
{
|
| 1185 |
+
"name": "enc.9.ln1.bias",
|
| 1186 |
+
"dtype": "f16",
|
| 1187 |
+
"shape": [
|
| 1188 |
+
256
|
| 1189 |
+
],
|
| 1190 |
+
"byteOffset": 25823232,
|
| 1191 |
+
"byteLength": 512
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"name": "enc.9.fc1.weight",
|
| 1195 |
+
"dtype": "f16",
|
| 1196 |
+
"shape": [
|
| 1197 |
+
256,
|
| 1198 |
+
1024
|
| 1199 |
+
],
|
| 1200 |
+
"byteOffset": 25823744,
|
| 1201 |
+
"byteLength": 524288,
|
| 1202 |
+
"layout": "KN"
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"name": "enc.9.fc1.bias",
|
| 1206 |
+
"dtype": "f16",
|
| 1207 |
+
"shape": [
|
| 1208 |
+
1024
|
| 1209 |
+
],
|
| 1210 |
+
"byteOffset": 26348032,
|
| 1211 |
+
"byteLength": 2048
|
| 1212 |
+
},
|
| 1213 |
+
{
|
| 1214 |
+
"name": "enc.9.fc2.weight",
|
| 1215 |
+
"dtype": "f16",
|
| 1216 |
+
"shape": [
|
| 1217 |
+
1024,
|
| 1218 |
+
256
|
| 1219 |
+
],
|
| 1220 |
+
"byteOffset": 26350080,
|
| 1221 |
+
"byteLength": 524288,
|
| 1222 |
+
"layout": "KN"
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"name": "enc.9.fc2.bias",
|
| 1226 |
+
"dtype": "f16",
|
| 1227 |
+
"shape": [
|
| 1228 |
+
256
|
| 1229 |
+
],
|
| 1230 |
+
"byteOffset": 26874368,
|
| 1231 |
+
"byteLength": 512
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"name": "enc.9.ln2.weight",
|
| 1235 |
+
"dtype": "f16",
|
| 1236 |
+
"shape": [
|
| 1237 |
+
256
|
| 1238 |
+
],
|
| 1239 |
+
"byteOffset": 26874880,
|
| 1240 |
+
"byteLength": 512
|
| 1241 |
+
},
|
| 1242 |
+
{
|
| 1243 |
+
"name": "enc.9.ln2.bias",
|
| 1244 |
+
"dtype": "f16",
|
| 1245 |
+
"shape": [
|
| 1246 |
+
256
|
| 1247 |
+
],
|
| 1248 |
+
"byteOffset": 26875392,
|
| 1249 |
+
"byteLength": 512
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"name": "enc.10.qkv.weight",
|
| 1253 |
+
"dtype": "f16",
|
| 1254 |
+
"shape": [
|
| 1255 |
+
256,
|
| 1256 |
+
768
|
| 1257 |
+
],
|
| 1258 |
+
"byteOffset": 26875904,
|
| 1259 |
+
"byteLength": 393216,
|
| 1260 |
+
"layout": "KN"
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"name": "enc.10.qkv.bias",
|
| 1264 |
+
"dtype": "f16",
|
| 1265 |
+
"shape": [
|
| 1266 |
+
768
|
| 1267 |
+
],
|
| 1268 |
+
"byteOffset": 27269120,
|
| 1269 |
+
"byteLength": 1536
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"name": "enc.10.out.weight",
|
| 1273 |
+
"dtype": "f16",
|
| 1274 |
+
"shape": [
|
| 1275 |
+
256,
|
| 1276 |
+
256
|
| 1277 |
+
],
|
| 1278 |
+
"byteOffset": 27270656,
|
| 1279 |
+
"byteLength": 131072,
|
| 1280 |
+
"layout": "KN"
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"name": "enc.10.out.bias",
|
| 1284 |
+
"dtype": "f16",
|
| 1285 |
+
"shape": [
|
| 1286 |
+
256
|
| 1287 |
+
],
|
| 1288 |
+
"byteOffset": 27401728,
|
| 1289 |
+
"byteLength": 512
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"name": "enc.10.ln1.weight",
|
| 1293 |
+
"dtype": "f16",
|
| 1294 |
+
"shape": [
|
| 1295 |
+
256
|
| 1296 |
+
],
|
| 1297 |
+
"byteOffset": 27402240,
|
| 1298 |
+
"byteLength": 512
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"name": "enc.10.ln1.bias",
|
| 1302 |
+
"dtype": "f16",
|
| 1303 |
+
"shape": [
|
| 1304 |
+
256
|
| 1305 |
+
],
|
| 1306 |
+
"byteOffset": 27402752,
|
| 1307 |
+
"byteLength": 512
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"name": "enc.10.fc1.weight",
|
| 1311 |
+
"dtype": "f16",
|
| 1312 |
+
"shape": [
|
| 1313 |
+
256,
|
| 1314 |
+
1024
|
| 1315 |
+
],
|
| 1316 |
+
"byteOffset": 27403264,
|
| 1317 |
+
"byteLength": 524288,
|
| 1318 |
+
"layout": "KN"
|
| 1319 |
+
},
|
| 1320 |
+
{
|
| 1321 |
+
"name": "enc.10.fc1.bias",
|
| 1322 |
+
"dtype": "f16",
|
| 1323 |
+
"shape": [
|
| 1324 |
+
1024
|
| 1325 |
+
],
|
| 1326 |
+
"byteOffset": 27927552,
|
| 1327 |
+
"byteLength": 2048
|
| 1328 |
+
},
|
| 1329 |
+
{
|
| 1330 |
+
"name": "enc.10.fc2.weight",
|
| 1331 |
+
"dtype": "f16",
|
| 1332 |
+
"shape": [
|
| 1333 |
+
1024,
|
| 1334 |
+
256
|
| 1335 |
+
],
|
| 1336 |
+
"byteOffset": 27929600,
|
| 1337 |
+
"byteLength": 524288,
|
| 1338 |
+
"layout": "KN"
|
| 1339 |
+
},
|
| 1340 |
+
{
|
| 1341 |
+
"name": "enc.10.fc2.bias",
|
| 1342 |
+
"dtype": "f16",
|
| 1343 |
+
"shape": [
|
| 1344 |
+
256
|
| 1345 |
+
],
|
| 1346 |
+
"byteOffset": 28453888,
|
| 1347 |
+
"byteLength": 512
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"name": "enc.10.ln2.weight",
|
| 1351 |
+
"dtype": "f16",
|
| 1352 |
+
"shape": [
|
| 1353 |
+
256
|
| 1354 |
+
],
|
| 1355 |
+
"byteOffset": 28454400,
|
| 1356 |
+
"byteLength": 512
|
| 1357 |
+
},
|
| 1358 |
+
{
|
| 1359 |
+
"name": "enc.10.ln2.bias",
|
| 1360 |
+
"dtype": "f16",
|
| 1361 |
+
"shape": [
|
| 1362 |
+
256
|
| 1363 |
+
],
|
| 1364 |
+
"byteOffset": 28454912,
|
| 1365 |
+
"byteLength": 512
|
| 1366 |
+
},
|
| 1367 |
+
{
|
| 1368 |
+
"name": "enc.11.qkv.weight",
|
| 1369 |
+
"dtype": "f16",
|
| 1370 |
+
"shape": [
|
| 1371 |
+
256,
|
| 1372 |
+
768
|
| 1373 |
+
],
|
| 1374 |
+
"byteOffset": 28455424,
|
| 1375 |
+
"byteLength": 393216,
|
| 1376 |
+
"layout": "KN"
|
| 1377 |
+
},
|
| 1378 |
+
{
|
| 1379 |
+
"name": "enc.11.qkv.bias",
|
| 1380 |
+
"dtype": "f16",
|
| 1381 |
+
"shape": [
|
| 1382 |
+
768
|
| 1383 |
+
],
|
| 1384 |
+
"byteOffset": 28848640,
|
| 1385 |
+
"byteLength": 1536
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"name": "enc.11.out.weight",
|
| 1389 |
+
"dtype": "f16",
|
| 1390 |
+
"shape": [
|
| 1391 |
+
256,
|
| 1392 |
+
256
|
| 1393 |
+
],
|
| 1394 |
+
"byteOffset": 28850176,
|
| 1395 |
+
"byteLength": 131072,
|
| 1396 |
+
"layout": "KN"
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"name": "enc.11.out.bias",
|
| 1400 |
+
"dtype": "f16",
|
| 1401 |
+
"shape": [
|
| 1402 |
+
256
|
| 1403 |
+
],
|
| 1404 |
+
"byteOffset": 28981248,
|
| 1405 |
+
"byteLength": 512
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"name": "enc.11.ln1.weight",
|
| 1409 |
+
"dtype": "f16",
|
| 1410 |
+
"shape": [
|
| 1411 |
+
256
|
| 1412 |
+
],
|
| 1413 |
+
"byteOffset": 28981760,
|
| 1414 |
+
"byteLength": 512
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"name": "enc.11.ln1.bias",
|
| 1418 |
+
"dtype": "f16",
|
| 1419 |
+
"shape": [
|
| 1420 |
+
256
|
| 1421 |
+
],
|
| 1422 |
+
"byteOffset": 28982272,
|
| 1423 |
+
"byteLength": 512
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"name": "enc.11.fc1.weight",
|
| 1427 |
+
"dtype": "f16",
|
| 1428 |
+
"shape": [
|
| 1429 |
+
256,
|
| 1430 |
+
1024
|
| 1431 |
+
],
|
| 1432 |
+
"byteOffset": 28982784,
|
| 1433 |
+
"byteLength": 524288,
|
| 1434 |
+
"layout": "KN"
|
| 1435 |
+
},
|
| 1436 |
+
{
|
| 1437 |
+
"name": "enc.11.fc1.bias",
|
| 1438 |
+
"dtype": "f16",
|
| 1439 |
+
"shape": [
|
| 1440 |
+
1024
|
| 1441 |
+
],
|
| 1442 |
+
"byteOffset": 29507072,
|
| 1443 |
+
"byteLength": 2048
|
| 1444 |
+
},
|
| 1445 |
+
{
|
| 1446 |
+
"name": "enc.11.fc2.weight",
|
| 1447 |
+
"dtype": "f16",
|
| 1448 |
+
"shape": [
|
| 1449 |
+
1024,
|
| 1450 |
+
256
|
| 1451 |
+
],
|
| 1452 |
+
"byteOffset": 29509120,
|
| 1453 |
+
"byteLength": 524288,
|
| 1454 |
+
"layout": "KN"
|
| 1455 |
+
},
|
| 1456 |
+
{
|
| 1457 |
+
"name": "enc.11.fc2.bias",
|
| 1458 |
+
"dtype": "f16",
|
| 1459 |
+
"shape": [
|
| 1460 |
+
256
|
| 1461 |
+
],
|
| 1462 |
+
"byteOffset": 30033408,
|
| 1463 |
+
"byteLength": 512
|
| 1464 |
+
},
|
| 1465 |
+
{
|
| 1466 |
+
"name": "enc.11.ln2.weight",
|
| 1467 |
+
"dtype": "f16",
|
| 1468 |
+
"shape": [
|
| 1469 |
+
256
|
| 1470 |
+
],
|
| 1471 |
+
"byteOffset": 30033920,
|
| 1472 |
+
"byteLength": 512
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"name": "enc.11.ln2.bias",
|
| 1476 |
+
"dtype": "f16",
|
| 1477 |
+
"shape": [
|
| 1478 |
+
256
|
| 1479 |
+
],
|
| 1480 |
+
"byteOffset": 30034432,
|
| 1481 |
+
"byteLength": 512
|
| 1482 |
+
},
|
| 1483 |
+
{
|
| 1484 |
+
"name": "head.ner.weight",
|
| 1485 |
+
"dtype": "f16",
|
| 1486 |
+
"shape": [
|
| 1487 |
+
7,
|
| 1488 |
+
256
|
| 1489 |
+
],
|
| 1490 |
+
"byteOffset": 30034944,
|
| 1491 |
+
"byteLength": 3584,
|
| 1492 |
+
"layout": "NK"
|
| 1493 |
+
},
|
| 1494 |
+
{
|
| 1495 |
+
"name": "head.ner.bias",
|
| 1496 |
+
"dtype": "f16",
|
| 1497 |
+
"shape": [
|
| 1498 |
+
7
|
| 1499 |
+
],
|
| 1500 |
+
"byteOffset": 30038528,
|
| 1501 |
+
"byteLength": 14
|
| 1502 |
+
}
|
| 1503 |
+
]
|
| 1504 |
+
}
|
model-d8/weights/weights.9cd23b6c8488.p0.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b0831122806053ff36d787e5eb5145b8f72915517d70ea0947f481741f4a795
|
| 3 |
+
size 20000000
|
model-d8/weights/weights.9cd23b6c8488.p1.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:517acbab12cdbc5e978655b97f0ef88c25d01e8df10f3719d9f03a8bb801b743
|
| 3 |
+
size 10038544
|
sw.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
// Service worker TEMPLATE — deploy_pages.mjs stamps
|
| 2 |
-
// ["/","/board.html","/manifest.webmanifest","/icon-192.png","/assets/main-
|
| 3 |
//
|
| 4 |
// Cache layers (all same-origin GET only):
|
| 5 |
// moxhi-shell-<build> app shell: precached index + hashed /assets/*
|
|
@@ -12,9 +12,9 @@
|
|
| 12 |
// them in its own Cache Storage bucket (content-addressed names).
|
| 13 |
/* global self, caches, fetch, location */
|
| 14 |
|
| 15 |
-
const SHELL = 'moxhi-shell-
|
| 16 |
const DATA = 'moxhi-data-v1';
|
| 17 |
-
const PRECACHE = ["/","/board.html","/manifest.webmanifest","/icon-192.png","/assets/main-
|
| 18 |
// Model/data files the app fetches during startup — often BEFORE this SW has
|
| 19 |
// claimed the page on its very first visit, so runtime caching would miss
|
| 20 |
// them and the first offline reload would fail engine init. Precache them
|
|
|
|
| 1 |
+
// Service worker TEMPLATE — deploy_pages.mjs stamps 95dca08 and
|
| 2 |
+
// ["/","/board.html","/manifest.webmanifest","/icon-192.png","/assets/main-CSyTzukZ.js","/assets/modulepreload-polyfill-B5Qt9EMX.js","/assets/preload-helper-DiAwoGSG.js","/assets/models-QsPq0tJ5.js","/assets/main-DVC4X1hK.css","/assets/board-DQggw35t.js","/assets/board-DFM1bO4t.css","/assets/playfair-vietnamese-Cabi7G8-.woff2","/assets/playfair-latin-BOwq7MWX.woff2"] and writes the result to dist/sw.js. Never served in dev.
|
| 3 |
//
|
| 4 |
// Cache layers (all same-origin GET only):
|
| 5 |
// moxhi-shell-<build> app shell: precached index + hashed /assets/*
|
|
|
|
| 12 |
// them in its own Cache Storage bucket (content-addressed names).
|
| 13 |
/* global self, caches, fetch, location */
|
| 14 |
|
| 15 |
+
const SHELL = 'moxhi-shell-95dca08';
|
| 16 |
const DATA = 'moxhi-data-v1';
|
| 17 |
+
const PRECACHE = ["/","/board.html","/manifest.webmanifest","/icon-192.png","/assets/main-CSyTzukZ.js","/assets/modulepreload-polyfill-B5Qt9EMX.js","/assets/preload-helper-DiAwoGSG.js","/assets/models-QsPq0tJ5.js","/assets/main-DVC4X1hK.css","/assets/board-DQggw35t.js","/assets/board-DFM1bO4t.css","/assets/playfair-vietnamese-Cabi7G8-.woff2","/assets/playfair-latin-BOwq7MWX.woff2"];
|
| 18 |
// Model/data files the app fetches during startup — often BEFORE this SW has
|
| 19 |
// claimed the page on its very first visit, so runtime caching would miss
|
| 20 |
// them and the first offline reload would fail engine init. Precache them
|