AlbertCAC commited on
Commit
640ccfa
·
1 Parent(s): 0bfd754
Dockerfile CHANGED
@@ -22,5 +22,7 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
22
  COPY --chown=user ./out /app/out
23
 
24
  COPY --chown=user . /app
 
 
25
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
26
 
 
22
  COPY --chown=user ./out /app/out
23
 
24
  COPY --chown=user . /app
25
+
26
+ RUN ls -R /app/out
27
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
28
 
out/404.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/569ce4b8f30dc480-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/78b756c5b9139e81-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/93f479601ee12b01-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/c4a2ca76cbcd952a-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/0bc81a6c99df26fb.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-375a1df0977b566b.js"/><script src="/_next/static/chunks/4bd1b696-18452535c1c4862d.js" async=""></script><script src="/_next/static/chunks/684-8c7f7c22671a5a40.js" async=""></script><script src="/_next/static/chunks/main-app-2f5836e1a5bb3944.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Lite Detective</title><meta name="description" content="Efficient and Accurate Chinese Toxic Text Detection"/><script>document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="font-roboto __variable_5cfdac __variable_c5376c __variable_9a8899 __variable_10f679 antialiased"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><!--$--><!--/$--><script src="/_next/static/chunks/webpack-375a1df0977b566b.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[7555,[],\"\"]\n3:I[1295,[],\"\"]\n4:I[9665,[],\"MetadataBoundary\"]\n6:I[9665,[],\"OutletBoundary\"]\n9:I[4911,[],\"AsyncMetadataOutlet\"]\nb:I[9665,[],\"ViewportBoundary\"]\nd:I[6614,[],\"\"]\n:HL[\"/_next/static/media/569ce4b8f30dc480-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/78b756c5b9139e81-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/93f479601ee12b01-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/c4a2ca76cbcd952a-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/0bc81a6c99df26fb.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"rukeIud56M6IHc3dJMy4O\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/0bc81a6c99df26fb.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"font-roboto __variable_5cfdac __variable_c5376c __variable_9a8899 __variable_10f679 antialiased\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],[\"$\",\"$L4\",null,{\"children\":\"$L5\"}],null,[\"$\",\"$L6\",null,{\"children\":[\"$L7\",\"$L8\",[\"$\",\"$L9\",null,{\"promise\":\"$@a\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$1\",\"4aBqEik9VW36VioAcgp3s\",{\"children\":[[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"e:\"$Sreact.suspense\"\nf:I[4911,[],\"AsyncMetadata\"]\n5:[\"$\",\"$e\",null,{\"fallback\":null,\"children\":[\"$\",\"$Lf\",null,{\"promise\":\"$@10\"}]}]\n"])</script><script>self.__next_f.push([1,"8:null\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n7:null\n"])</script><script>self.__next_f.push([1,"10:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Lite Detective\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Efficient and Accurate Chinese Toxic Text Detection\"}]],\"error\":null,\"digest\":\"$undefined\"}\na:{\"metadata\":\"$10:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"])</script></body></html>
 
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/569ce4b8f30dc480-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/78b756c5b9139e81-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/93f479601ee12b01-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/c4a2ca76cbcd952a-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/0bc81a6c99df26fb.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-375a1df0977b566b.js"/><script src="/_next/static/chunks/4bd1b696-18452535c1c4862d.js" async=""></script><script src="/_next/static/chunks/684-8c7f7c22671a5a40.js" async=""></script><script src="/_next/static/chunks/main-app-2f5836e1a5bb3944.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Lite Detective</title><meta name="description" content="Efficient and Accurate Chinese Toxic Text Detection"/><script>document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="font-roboto __variable_5cfdac __variable_c5376c __variable_9a8899 __variable_10f679 antialiased"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><!--$--><!--/$--><script src="/_next/static/chunks/webpack-375a1df0977b566b.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[7555,[],\"\"]\n3:I[1295,[],\"\"]\n4:I[9665,[],\"MetadataBoundary\"]\n6:I[9665,[],\"OutletBoundary\"]\n9:I[4911,[],\"AsyncMetadataOutlet\"]\nb:I[9665,[],\"ViewportBoundary\"]\nd:I[6614,[],\"\"]\n:HL[\"/_next/static/media/569ce4b8f30dc480-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/78b756c5b9139e81-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/93f479601ee12b01-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/c4a2ca76cbcd952a-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/0bc81a6c99df26fb.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"5PCIU3jx_2n_OhlzD4fZU\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/0bc81a6c99df26fb.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"font-roboto __variable_5cfdac __variable_c5376c __variable_9a8899 __variable_10f679 antialiased\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],[\"$\",\"$L4\",null,{\"children\":\"$L5\"}],null,[\"$\",\"$L6\",null,{\"children\":[\"$L7\",\"$L8\",[\"$\",\"$L9\",null,{\"promise\":\"$@a\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$1\",\"ssazYCMUA3C0gTaVlYhjU\",{\"children\":[[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"e:\"$Sreact.suspense\"\nf:I[4911,[],\"AsyncMetadata\"]\n5:[\"$\",\"$e\",null,{\"fallback\":null,\"children\":[\"$\",\"$Lf\",null,{\"promise\":\"$@10\"}]}]\n"])</script><script>self.__next_f.push([1,"8:null\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n7:null\n"])</script><script>self.__next_f.push([1,"10:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Lite Detective\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Efficient and Accurate Chinese Toxic Text Detection\"}]],\"error\":null,\"digest\":\"$undefined\"}\na:{\"metadata\":\"$10:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"])</script></body></html>
out/_next/static/{rukeIud56M6IHc3dJMy4O → 5PCIU3jx_2n_OhlzD4fZU}/_buildManifest.js RENAMED
File without changes
out/_next/static/{rukeIud56M6IHc3dJMy4O → 5PCIU3jx_2n_OhlzD4fZU}/_ssgManifest.js RENAMED
File without changes
out/_next/static/chunks/app/page-3637b2ffc72df25b.js DELETED
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{3762:(e,t,s)=>{"use strict";s.d(t,{default:()=>l});var r=s(5155),a=s(2115);function l(e){let{context:t}=e,s=t.split("\n\n").map((e,t)=>({role:"system",text:e,id:"sys-".concat(t)})),[l,n]=(0,a.useState)(s),[o,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(!1),u=async e=>{if(e.preventDefault(),!o.trim())return;let s={role:"user",text:o,id:"user-".concat(Date.now())};n(e=>[...e,s]),i(""),d(!0);try{var r,a;let e=await fetch("https://huggingface.co/spaces/Albert-CAC/lite_DETECTIVE/predict",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:o,context:t||void 0})}),s=await e.json();if(!e.ok)throw Error(s.detail||"Error occurred");let l="LABEL_1"===s.prediction,i=null!=(a=null==(r=s.probabilities)?void 0:r[s.prediction])?a:0;n(e=>[...e,{role:"bot",text:l?"\uD83D\uDD0D:\uD83D\uDD34 ".concat((100*i).toFixed(2),"%)"):"\uD83D\uDD0D:\uD83D\uDFE2 ".concat((100*i).toFixed(2),"%)"),id:"bot-".concat(Date.now())}])}catch(e){n(e=>[...e,{role:"bot",text:"Retring",id:"bot-".concat(Date.now())}])}finally{d(!1)}};return(0,r.jsxs)("div",{className:"w-full max-w-2xl mx-auto bg-gray-50 rounded-lg shadow p-4 flex flex-col",style:{minHeight:400},children:[(0,r.jsxs)("div",{className:"flex-1 overflow-y-auto mb-4 space-y-2",children:[l.map(e=>(0,r.jsx)("div",{className:"flex ".concat("user"===e.role?"justify-end":"justify-start"),children:(0,r.jsx)("div",{className:"\n px-4 py-2 rounded-2xl max-w-[80%] break-words\n ".concat("user"===e.role?"bg-blue-500 text-white self-end":"bot"===e.role?"bg-green-100 text-green-800 self-start":"bg-gray-200 text-gray-700 self-start text-xs","\n "),children:e.text})},e.id)),c&&(0,r.jsx)("div",{className:"flex justify-start",children:(0,r.jsx)("div",{className:"px-4 py-2 rounded-2xl bg-green-100 text-green-800 text-sm",children:"Detecting \uD83D\uDD0D..."})})]}),(0,r.jsxs)("form",{onSubmit:u,className:"flex gap-2",children:[(0,r.jsx)("input",{className:"flex-1 px-3 py-2 border border-gray-300 rounded-2xl focus:outline-none focus:ring-2 focus:ring-blue-400",placeholder:"Input your text here...",value:o,onChange:e=>i(e.target.value),disabled:c}),(0,r.jsx)("button",{type:"submit",className:"px-5 py-2 rounded-2xl bg-blue-500 text-white font-medium hover:bg-blue-600 disabled:opacity-50",disabled:c,children:"Send"})]})]})}},9052:(e,t,s)=>{Promise.resolve().then(s.bind(s,3762))}},e=>{var t=t=>e(e.s=t);e.O(0,[441,684,358],()=>t(9052)),_N_E=e.O()}]);
 
 
out/_next/static/chunks/app/page-c4f1fb40c78eb870.js ADDED
@@ -0,0 +1 @@
 
 
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{3762:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var s=r(5155),a=r(2115);function l(e){let{context:t}=e,r=t.split("\n\n").map((e,t)=>({role:"system",text:e,id:"sys-".concat(t)})),[l,n]=(0,a.useState)(r),[o,i]=(0,a.useState)(""),[d,u]=(0,a.useState)(!1),c=async e=>{if(e.preventDefault(),!o.trim())return;let r={role:"user",text:o,id:"user-".concat(Date.now())};n(e=>[...e,r]),i(""),u(!0);try{var s,a;let e=await fetch("predict",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:o,context:t||void 0})}),r=await e.json();if(!e.ok)throw Error(r.detail||"Error occurred");let l="LABEL_1"===r.prediction,i=null!=(a=null==(s=r.probabilities)?void 0:s[r.prediction])?a:0;n(e=>[...e,{role:"bot",text:l?"\uD83D\uDD0D:\uD83D\uDD34 ".concat((100*i).toFixed(2),"%)"):"\uD83D\uDD0D:\uD83D\uDFE2 ".concat((100*i).toFixed(2),"%)"),id:"bot-".concat(Date.now())}])}catch(e){n(e=>[...e,{role:"bot",text:"Retring",id:"bot-".concat(Date.now())}])}finally{u(!1)}};return(0,s.jsxs)("div",{className:"w-full max-w-2xl mx-auto bg-gray-50 rounded-lg shadow p-4 flex flex-col",style:{minHeight:400},children:[(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto mb-4 space-y-2",children:[l.map(e=>(0,s.jsx)("div",{className:"flex ".concat("user"===e.role?"justify-end":"justify-start"),children:(0,s.jsx)("div",{className:"\n px-4 py-2 rounded-2xl max-w-[80%] break-words\n ".concat("user"===e.role?"bg-blue-500 text-white self-end":"bot"===e.role?"bg-green-100 text-green-800 self-start":"bg-gray-200 text-gray-700 self-start text-xs","\n "),children:e.text})},e.id)),d&&(0,s.jsx)("div",{className:"flex justify-start",children:(0,s.jsx)("div",{className:"px-4 py-2 rounded-2xl bg-green-100 text-green-800 text-sm",children:"Detecting \uD83D\uDD0D..."})})]}),(0,s.jsxs)("form",{onSubmit:c,className:"flex gap-2",children:[(0,s.jsx)("input",{className:"flex-1 px-3 py-2 border border-gray-300 rounded-2xl focus:outline-none focus:ring-2 focus:ring-blue-400",placeholder:"Input your text here...",value:o,onChange:e=>i(e.target.value),disabled:d}),(0,s.jsx)("button",{type:"submit",className:"px-5 py-2 rounded-2xl bg-blue-500 text-white font-medium hover:bg-blue-600 disabled:opacity-50",disabled:d,children:"Send"})]})]})}},9052:(e,t,r)=>{Promise.resolve().then(r.bind(r,3762))}},e=>{var t=t=>e(e.s=t);e.O(0,[441,684,358],()=>t(9052)),_N_E=e.O()}]);
out/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/569ce4b8f30dc480-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/78b756c5b9139e81-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/93f479601ee12b01-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/c4a2ca76cbcd952a-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/0bc81a6c99df26fb.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-375a1df0977b566b.js"/><script src="/_next/static/chunks/4bd1b696-18452535c1c4862d.js" async=""></script><script src="/_next/static/chunks/684-8c7f7c22671a5a40.js" async=""></script><script src="/_next/static/chunks/main-app-2f5836e1a5bb3944.js" async=""></script><script src="/_next/static/chunks/app/page-3637b2ffc72df25b.js" async=""></script><meta name="next-size-adjust" content=""/><title>Lite Detective</title><meta name="description" content="Efficient and Accurate Chinese Toxic Text Detection"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><script>document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="font-roboto __variable_5cfdac __variable_c5376c __variable_9a8899 __variable_10f679 antialiased"><div class="min-h-screen bg-white font-sans flex flex-col items-center px-4"><div class="w-full font-sans flex flex-col items-center mt-16 mb-10"><h1 class="inline-flex items-end space-x-2 group text-4xl md:text-5xl font-extrabold text-center mb-4 tracking-tight font-sharetech cursor-pointer transition-all duration-500"><span class="text-base lg:text-2xl text-shadow-xl box-border transform transition-all duration-500 ease-in-out group-hover:scale-0 group-hover:opacity-0">Lite</span><span class="text-6xl lg:text-8xl transform transition-all duration-500 ease-in-out group-hover:scale-150">Detective<span class="text-2xl lg:text-4xl">🕵️</span></span></h1><h2 class="text-2xl text-center font-light mb-2 text-gray-700">Lightweight and Accurate Chinese Toxic Text Detection</h2><span class="text-base text-shadow-xl box-border mb-8 text-red-500 lg:text-lg hover:text-red-600 hover:text-xl transition-all duration-300 ease-in-out">Disclaimer: The paper contains content that may be profane, vulgar, or offensive.</span><div class="flex flex-wrap justify-center gap-x-4 gap-y-4 text-base mb-2"><div class="flex flex-col text-center group"><div class="flex items-center gap-2"><a href="https://github.com/AlbertZhaoCA" class="text-blue-600 hover:text-blue-800 text-2xl transition-all duration-300 group-hover:scale-95" target="_blank" rel="noopener noreferrer">Qinjian Zhao *<sup class="text-xs align-super text-muted">1</sup></a></div></div><div class="flex flex-col text-center group"><div class="flex items-center gap-2"><a href="https://github.com/HuHLuL" class="text-blue-600 hover:text-blue-800 text-2xl transition-all duration-300 group-hover:scale-95" target="_blank" rel="noopener noreferrer">Mingcheng Hu *<sup class="text-xs align-super text-muted">1</sup></a></div></div></div><div class="flex items-center gap-2">{<a href="mailto:zhaoq" class="transition-all duration-300 text-xl text-gray-500 hover:text-blue-700 hover:underline group-hover:scale-105"><sup class="text-xs align-super text-muted">1</sup>zhaoq<!-- --> <span>,</span></a><a href="mailto:humin" class="transition-all duration-300 text-xl text-gray-500 hover:text-blue-700 hover:underline group-hover:scale-105"><sup class="text-xs align-super text-muted">1</sup>humin<!-- --> </a>}<span class="text-lg"> @ kean.edu</span></div><div class="text-center text-gray-500 text-sm mb-2">* Equal Contribution <br/></div><div class="text-center text-gray-500 italic text-base mb-2">CPS 3320 2025</div><div class="text-center text-gray-700 text-base mb-6"><span class="text-xl">Kean University<!-- --> </span></div><div class="flex gap-4 justify-center mb-8"><a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="inline-flex items-center gap-2 px-6 py-2 rounded-lg border border-gray-300 font-semibold text-gray-800 bg-white hover:bg-gray-100 transition"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="h-5 w-5"><path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"></path></svg>Paper</a><a href="https://github.com/AlbertZhaoCA/lite-detective" class="inline-flex items-center gap-2 px-6 py-2 rounded-lg bg-indigo-600 text-white font-semibold shadow hover:bg-indigo-700 transition"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="h-5 w-5"><path stroke-linecap="round" stroke-linejoin="round" d="M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"></path></svg>Code</a><a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="inline-flex items-center gap-2 px-6 py-2 rounded-lg border border-gray-300 font-semibold text-gray-800 bg-white hover:bg-gray-100 transition"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="h-5 w-5"><path stroke-linecap="round" stroke-linejoin="round" d="M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5"></path></svg>arXiv</a></div></div><section class="max-w-2xl md:max-w-4xl mb-12 text-center"><h3 class="text-2xl font-semibold mb-2">Abstract</h3><p class="text-gray-700 text-justify leading-relaxed text-lg">Harmful content detection is a critical task for
2
  any social media platform, as the presence of
3
  misinformation, age, gender, and racial discrim-
4
  ination can lead to a reduction in active users.
@@ -27,4 +27,4 @@ classifier on our custom dataset.</p></section><section class="max-w-2xl md:max-
27
  ">老哥🀄️啊,因为人领导每天都是放假捏捏 😋</div></div><div class="flex justify-start"><div class="
28
  px-4 py-2 rounded-2xl max-w-[80%] break-words
29
  bg-gray-200 text-gray-700 self-start text-xs
30
- ">密码的周六能不能放过我一次</div></div></div><form class="flex gap-2"><input class="flex-1 px-3 py-2 border border-gray-300 rounded-2xl focus:outline-none focus:ring-2 focus:ring-blue-400" placeholder="Input your text here..." value=""/><button type="submit" class="px-5 py-2 rounded-2xl bg-blue-500 text-white font-medium hover:bg-blue-600 disabled:opacity-50">Send</button></form></div></section></div><!--$--><!--/$--><!--$--><!--/$--><script src="/_next/static/chunks/webpack-375a1df0977b566b.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[7555,[],\"\"]\n3:I[1295,[],\"\"]\n4:I[3762,[\"974\",\"static/chunks/app/page-3637b2ffc72df25b.js\"],\"default\"]\n5:I[9665,[],\"MetadataBoundary\"]\n7:I[9665,[],\"OutletBoundary\"]\na:I[4911,[],\"AsyncMetadataOutlet\"]\nc:I[9665,[],\"ViewportBoundary\"]\ne:I[6614,[],\"\"]\n:HL[\"/_next/static/media/569ce4b8f30dc480-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/78b756c5b9139e81-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/93f479601ee12b01-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/c4a2ca76cbcd952a-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/0bc81a6c99df26fb.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"rukeIud56M6IHc3dJMy4O\",\"p\":\"\",\"c\":[\"\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/0bc81a6c99df26fb.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"font-roboto __variable_5cfdac __variable_c5376c __variable_9a8899 __variable_10f679 antialiased\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"div\",null,{\"className\":\"min-h-screen bg-white font-sans flex flex-col items-center px-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-full font-sans flex flex-col items-center mt-16 mb-10\",\"children\":[[\"$\",\"h1\",null,{\"className\":\"inline-flex items-end space-x-2 group text-4xl md:text-5xl font-extrabold text-center mb-4 tracking-tight font-sharetech cursor-pointer transition-all duration-500\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-base lg:text-2xl text-shadow-xl box-border transform transition-all duration-500 ease-in-out group-hover:scale-0 group-hover:opacity-0\",\"children\":\"Lite\"}],[\"$\",\"span\",null,{\"className\":\"text-6xl lg:text-8xl transform transition-all duration-500 ease-in-out group-hover:scale-150\",\"children\":[\"Detective\",[\"$\",\"span\",null,{\"className\":\"text-2xl lg:text-4xl\",\"children\":\"🕵️\"}]]}]]}],[\"$\",\"h2\",null,{\"className\":\"text-2xl text-center font-light mb-2 text-gray-700\",\"children\":\"Lightweight and Accurate Chinese Toxic Text Detection\"}],[\"$\",\"span\",null,{\"className\":\"text-base text-shadow-xl box-border mb-8 text-red-500 lg:text-lg hover:text-red-600 hover:text-xl transition-all duration-300 ease-in-out\",\"children\":\"Disclaimer: The paper contains content that may be profane, vulgar, or offensive.\"}],[\"$\",\"div\",null,{\"className\":\"flex flex-wrap justify-center gap-x-4 gap-y-4 text-base mb-2\",\"children\":[[\"$\",\"div\",\"Qinjian Zhao *\",{\"className\":\"flex flex-col text-center group\",\"children\":[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2\",\"children\":[\"$\",\"a\",null,{\"href\":\"https://github.com/AlbertZhaoCA\",\"className\":\"text-blue-600 hover:text-blue-800 text-2xl transition-all duration-300 group-hover:scale-95\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"children\":[\"Qinjian Zhao *\",[\"$\",\"sup\",null,{\"className\":\"text-xs align-super text-muted\",\"children\":1}]]}]}]}],[\"$\",\"div\",\"Mingcheng Hu *\",{\"className\":\"flex flex-col text-center group\",\"children\":[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2\",\"children\":[\"$\",\"a\",null,{\"href\":\"https://github.com/HuHLuL\",\"className\":\"text-blue-600 hover:text-blue-800 text-2xl transition-all duration-300 group-hover:scale-95\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"children\":[\"Mingcheng Hu *\",[\"$\",\"sup\",null,{\"className\":\"text-xs align-super text-muted\",\"children\":1}]]}]}]}]]}],[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2\",\"children\":[\"{\",[[\"$\",\"a\",\"zhaoq\",{\"href\":\"mailto:zhaoq\",\"className\":\"transition-all duration-300 text-xl text-gray-500 hover:text-blue-700 hover:underline group-hover:scale-105\",\"children\":[[\"$\",\"sup\",null,{\"className\":\"text-xs align-super text-muted\",\"children\":1}],\"zhaoq\",\" \",[\"$\",\"span\",null,{\"children\":\",\"}]]}],[\"$\",\"a\",\"humin\",{\"href\":\"mailto:humin\",\"className\":\"transition-all duration-300 text-xl text-gray-500 hover:text-blue-700 hover:underline group-hover:scale-105\",\"children\":[[\"$\",\"sup\",null,{\"className\":\"text-xs align-super text-muted\",\"children\":1}],\"humin\",\" \",false]}]],\"}\",[\"$\",\"span\",null,{\"className\":\"text-lg\",\"children\":\" @ kean.edu\"}]]}],[\"$\",\"div\",null,{\"className\":\"text-center text-gray-500 text-sm mb-2\",\"children\":[\"* Equal Contribution \",[\"$\",\"br\",null,{}]]}],[\"$\",\"div\",null,{\"className\":\"text-center text-gray-500 italic text-base mb-2\",\"children\":\"CPS 3320 2025\"}],[\"$\",\"div\",null,{\"className\":\"text-center text-gray-700 text-base mb-6\",\"children\":[[\"$\",\"span\",\"Kean University\",{\"className\":\"text-xl\",\"children\":[\"Kean University\",\" \"]}]]}],[\"$\",\"div\",null,{\"className\":\"flex gap-4 justify-center mb-8\",\"children\":[[\"$\",\"a\",null,{\"href\":\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\",\"className\":\"inline-flex items-center gap-2 px-6 py-2 rounded-lg border border-gray-300 font-semibold text-gray-800 bg-white hover:bg-gray-100 transition\",\"children\":[[\"$\",\"svg\",null,{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"strokeWidth\":1.5,\"stroke\":\"currentColor\",\"aria-hidden\":\"true\",\"data-slot\":\"icon\",\"ref\":\"$undefined\",\"aria-labelledby\":\"$undefined\",\"className\":\"h-5 w-5\",\"children\":[null,[\"$\",\"path\",null,{\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"d\":\"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z\"}]]}],\"Paper\"]}],[\"$\",\"a\",null,{\"href\":\"https://github.com/AlbertZhaoCA/lite-detective\",\"className\":\"inline-flex items-center gap-2 px-6 py-2 rounded-lg bg-indigo-600 text-white font-semibold shadow hover:bg-indigo-700 transition\",\"children\":[[\"$\",\"svg\",null,{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"strokeWidth\":1.5,\"stroke\":\"currentColor\",\"aria-hidden\":\"true\",\"data-slot\":\"icon\",\"ref\":\"$undefined\",\"aria-labelledby\":\"$undefined\",\"className\":\"h-5 w-5\",\"children\":[null,[\"$\",\"path\",null,{\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"d\":\"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5\"}]]}],\"Code\"]}],[\"$\",\"a\",null,{\"href\":\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\",\"className\":\"inline-flex items-center gap-2 px-6 py-2 rounded-lg border border-gray-300 font-semibold text-gray-800 bg-white hover:bg-gray-100 transition\",\"children\":[[\"$\",\"svg\",null,{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"strokeWidth\":1.5,\"stroke\":\"currentColor\",\"aria-hidden\":\"true\",\"data-slot\":\"icon\",\"ref\":\"$undefined\",\"aria-labelledby\":\"$undefined\",\"className\":\"h-5 w-5\",\"children\":[null,[\"$\",\"path\",null,{\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"d\":\"M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5\"}]]}],\"arXiv\"]}]]}]]}],[\"$\",\"section\",null,{\"className\":\"max-w-2xl md:max-w-4xl mb-12 text-center\",\"children\":[[\"$\",\"h3\",null,{\"className\":\"text-2xl font-semibold mb-2\",\"children\":\"Abstract\"}],[\"$\",\"p\",null,{\"className\":\"text-gray-700 text-justify leading-relaxed text-lg\",\"children\":\"Harmful content detection is a critical task for\\nany social media platform, as the presence of\\nmisinformation, age, gender, and racial discrim-\\nination can lead to a reduction in active users.\\nThis paper introduces a novel approach that\\nleverages large language models (LLMs) to an-\\nalyze specific social media data and generate\\ntraining data, combined with a BERT-based Dy-\\nnamic TextCNN architecture. We first crawl\\npotential harmful comments from targeted com-\\nmunities (e.g., \\\"ShunBa\\\"). These comments\\nare then subjected to random filtering and clus-\\ntering using a smaller LLM to generate policy-\\nguided seed examples. Next, we employ a large\\nLLM (Qwen-3) for context-aware and context-\\nfree data augmentation. Finally, we integrate\\nBERT embeddings with a Dynamic TextCNN\\nclassifier on our custom dataset.\"}]]}],[\"$\",\"section\",null,{\"className\":\"max-w-2xl md:max-w-4xl text-center mb-12\",\"children\":[[\"$\",\"h3\",null,{\"className\":\"text-2xl font-semibold mb-2\",\"children\":\"Method\"}],[\"$\",\"p\",null,{\"className\":\"text-gray-700 text-justify leading-relaxed text-lg\",\"children\":\"Our model combines a lightweight transformer encoder with a multi-scale CNN feature extractor and a context-aware classification head.\"}]]}],[\"$\",\"section\",null,{\"className\":\"w-full md:max-w-4xl max-w-2xl mb-12\",\"children\":[[\"$\",\"h3\",null,{\"className\":\"text-xl font-semibold mb-2 text-center\",\"children\":\"Online Demo\"}],[\"$\",\"$L4\",null,{\"context\":\"草尼玛的一群煞笔\\n\\n🐶日的哈麻批,该放假不放假,上你妈批的课啊\\n\\n老哥🀄️啊,因为人领导每天都是放假捏捏 😋\\n\\n密码的周六能不能放过我一次\"}]]}]]}],[\"$\",\"$L5\",null,{\"children\":\"$L6\"}],null,[\"$\",\"$L7\",null,{\"children\":[\"$L8\",\"$L9\",[\"$\",\"$La\",null,{\"promise\":\"$@b\"}]]}]]}],{},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$1\",\"b8FvtV29vEy5rR9nsXeph\",{\"children\":[[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"f:\"$Sreact.suspense\"\n10:I[4911,[],\"AsyncMetadata\"]\n6:[\"$\",\"$f\",null,{\"fallback\":null,\"children\":[\"$\",\"$L10\",null,{\"promise\":\"$@11\"}]}]\n"])</script><script>self.__next_f.push([1,"9:null\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n8:null\n"])</script><script>self.__next_f.push([1,"11:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Lite Detective\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Efficient and Accurate Chinese Toxic Text Detection\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}]],\"error\":null,\"digest\":\"$undefined\"}\nb:{\"metadata\":\"$11:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"])</script></body></html>
 
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/569ce4b8f30dc480-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/78b756c5b9139e81-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/93f479601ee12b01-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/c4a2ca76cbcd952a-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/0bc81a6c99df26fb.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-375a1df0977b566b.js"/><script src="/_next/static/chunks/4bd1b696-18452535c1c4862d.js" async=""></script><script src="/_next/static/chunks/684-8c7f7c22671a5a40.js" async=""></script><script src="/_next/static/chunks/main-app-2f5836e1a5bb3944.js" async=""></script><script src="/_next/static/chunks/app/page-c4f1fb40c78eb870.js" async=""></script><meta name="next-size-adjust" content=""/><title>Lite Detective</title><meta name="description" content="Efficient and Accurate Chinese Toxic Text Detection"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><script>document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="font-roboto __variable_5cfdac __variable_c5376c __variable_9a8899 __variable_10f679 antialiased"><div class="min-h-screen bg-white font-sans flex flex-col items-center px-4"><div class="w-full font-sans flex flex-col items-center mt-16 mb-10"><h1 class="inline-flex items-end space-x-2 group text-4xl md:text-5xl font-extrabold text-center mb-4 tracking-tight font-sharetech cursor-pointer transition-all duration-500"><span class="text-base lg:text-2xl text-shadow-xl box-border transform transition-all duration-500 ease-in-out group-hover:scale-0 group-hover:opacity-0">Lite</span><span class="text-6xl lg:text-8xl transform transition-all duration-500 ease-in-out group-hover:scale-150">Detective<span class="text-2xl lg:text-4xl">🕵️</span></span></h1><h2 class="text-2xl text-center font-light mb-2 text-gray-700">Lightweight and Accurate Chinese Toxic Text Detection</h2><span class="text-base text-shadow-xl box-border mb-8 text-red-500 lg:text-lg hover:text-red-600 hover:text-xl transition-all duration-300 ease-in-out">Disclaimer: The paper contains content that may be profane, vulgar, or offensive.</span><div class="flex flex-wrap justify-center gap-x-4 gap-y-4 text-base mb-2"><div class="flex flex-col text-center group"><div class="flex items-center gap-2"><a href="https://github.com/AlbertZhaoCA" class="text-blue-600 hover:text-blue-800 text-2xl transition-all duration-300 group-hover:scale-95" target="_blank" rel="noopener noreferrer">Qinjian Zhao *<sup class="text-xs align-super text-muted">1</sup></a></div></div><div class="flex flex-col text-center group"><div class="flex items-center gap-2"><a href="https://github.com/HuHLuL" class="text-blue-600 hover:text-blue-800 text-2xl transition-all duration-300 group-hover:scale-95" target="_blank" rel="noopener noreferrer">Mingcheng Hu *<sup class="text-xs align-super text-muted">1</sup></a></div></div></div><div class="flex items-center gap-2">{<a href="mailto:zhaoq" class="transition-all duration-300 text-xl text-gray-500 hover:text-blue-700 hover:underline group-hover:scale-105"><sup class="text-xs align-super text-muted">1</sup>zhaoq<!-- --> <span>,</span></a><a href="mailto:humin" class="transition-all duration-300 text-xl text-gray-500 hover:text-blue-700 hover:underline group-hover:scale-105"><sup class="text-xs align-super text-muted">1</sup>humin<!-- --> </a>}<span class="text-lg"> @ kean.edu</span></div><div class="text-center text-gray-500 text-sm mb-2">* Equal Contribution <br/></div><div class="text-center text-gray-500 italic text-base mb-2">CPS 3320 2025</div><div class="text-center text-gray-700 text-base mb-6"><span class="text-xl">Kean University<!-- --> </span></div><div class="flex gap-4 justify-center mb-8"><a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="inline-flex items-center gap-2 px-6 py-2 rounded-lg border border-gray-300 font-semibold text-gray-800 bg-white hover:bg-gray-100 transition"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="h-5 w-5"><path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"></path></svg>Paper</a><a href="https://github.com/AlbertZhaoCA/lite-detective" class="inline-flex items-center gap-2 px-6 py-2 rounded-lg bg-indigo-600 text-white font-semibold shadow hover:bg-indigo-700 transition"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="h-5 w-5"><path stroke-linecap="round" stroke-linejoin="round" d="M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"></path></svg>Code</a><a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="inline-flex items-center gap-2 px-6 py-2 rounded-lg border border-gray-300 font-semibold text-gray-800 bg-white hover:bg-gray-100 transition"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="h-5 w-5"><path stroke-linecap="round" stroke-linejoin="round" d="M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5"></path></svg>arXiv</a></div></div><section class="max-w-2xl md:max-w-4xl mb-12 text-center"><h3 class="text-2xl font-semibold mb-2">Abstract</h3><p class="text-gray-700 text-justify leading-relaxed text-lg">Harmful content detection is a critical task for
2
  any social media platform, as the presence of
3
  misinformation, age, gender, and racial discrim-
4
  ination can lead to a reduction in active users.
 
27
  ">老哥🀄️啊,因为人领导每天都是放假捏捏 😋</div></div><div class="flex justify-start"><div class="
28
  px-4 py-2 rounded-2xl max-w-[80%] break-words
29
  bg-gray-200 text-gray-700 self-start text-xs
30
+ ">密码的周六能不能放过我一次</div></div></div><form class="flex gap-2"><input class="flex-1 px-3 py-2 border border-gray-300 rounded-2xl focus:outline-none focus:ring-2 focus:ring-blue-400" placeholder="Input your text here..." value=""/><button type="submit" class="px-5 py-2 rounded-2xl bg-blue-500 text-white font-medium hover:bg-blue-600 disabled:opacity-50">Send</button></form></div></section></div><!--$--><!--/$--><!--$--><!--/$--><script src="/_next/static/chunks/webpack-375a1df0977b566b.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[7555,[],\"\"]\n3:I[1295,[],\"\"]\n4:I[3762,[\"974\",\"static/chunks/app/page-c4f1fb40c78eb870.js\"],\"default\"]\n5:I[9665,[],\"MetadataBoundary\"]\n7:I[9665,[],\"OutletBoundary\"]\na:I[4911,[],\"AsyncMetadataOutlet\"]\nc:I[9665,[],\"ViewportBoundary\"]\ne:I[6614,[],\"\"]\n:HL[\"/_next/static/media/569ce4b8f30dc480-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/78b756c5b9139e81-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/93f479601ee12b01-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/c4a2ca76cbcd952a-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/0bc81a6c99df26fb.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"5PCIU3jx_2n_OhlzD4fZU\",\"p\":\"\",\"c\":[\"\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/0bc81a6c99df26fb.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"font-roboto __variable_5cfdac __variable_c5376c __variable_9a8899 __variable_10f679 antialiased\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"div\",null,{\"className\":\"min-h-screen bg-white font-sans flex flex-col items-center px-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-full font-sans flex flex-col items-center mt-16 mb-10\",\"children\":[[\"$\",\"h1\",null,{\"className\":\"inline-flex items-end space-x-2 group text-4xl md:text-5xl font-extrabold text-center mb-4 tracking-tight font-sharetech cursor-pointer transition-all duration-500\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-base lg:text-2xl text-shadow-xl box-border transform transition-all duration-500 ease-in-out group-hover:scale-0 group-hover:opacity-0\",\"children\":\"Lite\"}],[\"$\",\"span\",null,{\"className\":\"text-6xl lg:text-8xl transform transition-all duration-500 ease-in-out group-hover:scale-150\",\"children\":[\"Detective\",[\"$\",\"span\",null,{\"className\":\"text-2xl lg:text-4xl\",\"children\":\"🕵️\"}]]}]]}],[\"$\",\"h2\",null,{\"className\":\"text-2xl text-center font-light mb-2 text-gray-700\",\"children\":\"Lightweight and Accurate Chinese Toxic Text Detection\"}],[\"$\",\"span\",null,{\"className\":\"text-base text-shadow-xl box-border mb-8 text-red-500 lg:text-lg hover:text-red-600 hover:text-xl transition-all duration-300 ease-in-out\",\"children\":\"Disclaimer: The paper contains content that may be profane, vulgar, or offensive.\"}],[\"$\",\"div\",null,{\"className\":\"flex flex-wrap justify-center gap-x-4 gap-y-4 text-base mb-2\",\"children\":[[\"$\",\"div\",\"Qinjian Zhao *\",{\"className\":\"flex flex-col text-center group\",\"children\":[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2\",\"children\":[\"$\",\"a\",null,{\"href\":\"https://github.com/AlbertZhaoCA\",\"className\":\"text-blue-600 hover:text-blue-800 text-2xl transition-all duration-300 group-hover:scale-95\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"children\":[\"Qinjian Zhao *\",[\"$\",\"sup\",null,{\"className\":\"text-xs align-super text-muted\",\"children\":1}]]}]}]}],[\"$\",\"div\",\"Mingcheng Hu *\",{\"className\":\"flex flex-col text-center group\",\"children\":[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2\",\"children\":[\"$\",\"a\",null,{\"href\":\"https://github.com/HuHLuL\",\"className\":\"text-blue-600 hover:text-blue-800 text-2xl transition-all duration-300 group-hover:scale-95\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"children\":[\"Mingcheng Hu *\",[\"$\",\"sup\",null,{\"className\":\"text-xs align-super text-muted\",\"children\":1}]]}]}]}]]}],[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2\",\"children\":[\"{\",[[\"$\",\"a\",\"zhaoq\",{\"href\":\"mailto:zhaoq\",\"className\":\"transition-all duration-300 text-xl text-gray-500 hover:text-blue-700 hover:underline group-hover:scale-105\",\"children\":[[\"$\",\"sup\",null,{\"className\":\"text-xs align-super text-muted\",\"children\":1}],\"zhaoq\",\" \",[\"$\",\"span\",null,{\"children\":\",\"}]]}],[\"$\",\"a\",\"humin\",{\"href\":\"mailto:humin\",\"className\":\"transition-all duration-300 text-xl text-gray-500 hover:text-blue-700 hover:underline group-hover:scale-105\",\"children\":[[\"$\",\"sup\",null,{\"className\":\"text-xs align-super text-muted\",\"children\":1}],\"humin\",\" \",false]}]],\"}\",[\"$\",\"span\",null,{\"className\":\"text-lg\",\"children\":\" @ kean.edu\"}]]}],[\"$\",\"div\",null,{\"className\":\"text-center text-gray-500 text-sm mb-2\",\"children\":[\"* Equal Contribution \",[\"$\",\"br\",null,{}]]}],[\"$\",\"div\",null,{\"className\":\"text-center text-gray-500 italic text-base mb-2\",\"children\":\"CPS 3320 2025\"}],[\"$\",\"div\",null,{\"className\":\"text-center text-gray-700 text-base mb-6\",\"children\":[[\"$\",\"span\",\"Kean University\",{\"className\":\"text-xl\",\"children\":[\"Kean University\",\" \"]}]]}],[\"$\",\"div\",null,{\"className\":\"flex gap-4 justify-center mb-8\",\"children\":[[\"$\",\"a\",null,{\"href\":\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\",\"className\":\"inline-flex items-center gap-2 px-6 py-2 rounded-lg border border-gray-300 font-semibold text-gray-800 bg-white hover:bg-gray-100 transition\",\"children\":[[\"$\",\"svg\",null,{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"strokeWidth\":1.5,\"stroke\":\"currentColor\",\"aria-hidden\":\"true\",\"data-slot\":\"icon\",\"ref\":\"$undefined\",\"aria-labelledby\":\"$undefined\",\"className\":\"h-5 w-5\",\"children\":[null,[\"$\",\"path\",null,{\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"d\":\"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z\"}]]}],\"Paper\"]}],[\"$\",\"a\",null,{\"href\":\"https://github.com/AlbertZhaoCA/lite-detective\",\"className\":\"inline-flex items-center gap-2 px-6 py-2 rounded-lg bg-indigo-600 text-white font-semibold shadow hover:bg-indigo-700 transition\",\"children\":[[\"$\",\"svg\",null,{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"strokeWidth\":1.5,\"stroke\":\"currentColor\",\"aria-hidden\":\"true\",\"data-slot\":\"icon\",\"ref\":\"$undefined\",\"aria-labelledby\":\"$undefined\",\"className\":\"h-5 w-5\",\"children\":[null,[\"$\",\"path\",null,{\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"d\":\"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5\"}]]}],\"Code\"]}],[\"$\",\"a\",null,{\"href\":\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\",\"className\":\"inline-flex items-center gap-2 px-6 py-2 rounded-lg border border-gray-300 font-semibold text-gray-800 bg-white hover:bg-gray-100 transition\",\"children\":[[\"$\",\"svg\",null,{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"strokeWidth\":1.5,\"stroke\":\"currentColor\",\"aria-hidden\":\"true\",\"data-slot\":\"icon\",\"ref\":\"$undefined\",\"aria-labelledby\":\"$undefined\",\"className\":\"h-5 w-5\",\"children\":[null,[\"$\",\"path\",null,{\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"d\":\"M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5\"}]]}],\"arXiv\"]}]]}]]}],[\"$\",\"section\",null,{\"className\":\"max-w-2xl md:max-w-4xl mb-12 text-center\",\"children\":[[\"$\",\"h3\",null,{\"className\":\"text-2xl font-semibold mb-2\",\"children\":\"Abstract\"}],[\"$\",\"p\",null,{\"className\":\"text-gray-700 text-justify leading-relaxed text-lg\",\"children\":\"Harmful content detection is a critical task for\\nany social media platform, as the presence of\\nmisinformation, age, gender, and racial discrim-\\nination can lead to a reduction in active users.\\nThis paper introduces a novel approach that\\nleverages large language models (LLMs) to an-\\nalyze specific social media data and generate\\ntraining data, combined with a BERT-based Dy-\\nnamic TextCNN architecture. We first crawl\\npotential harmful comments from targeted com-\\nmunities (e.g., \\\"ShunBa\\\"). These comments\\nare then subjected to random filtering and clus-\\ntering using a smaller LLM to generate policy-\\nguided seed examples. Next, we employ a large\\nLLM (Qwen-3) for context-aware and context-\\nfree data augmentation. Finally, we integrate\\nBERT embeddings with a Dynamic TextCNN\\nclassifier on our custom dataset.\"}]]}],[\"$\",\"section\",null,{\"className\":\"max-w-2xl md:max-w-4xl text-center mb-12\",\"children\":[[\"$\",\"h3\",null,{\"className\":\"text-2xl font-semibold mb-2\",\"children\":\"Method\"}],[\"$\",\"p\",null,{\"className\":\"text-gray-700 text-justify leading-relaxed text-lg\",\"children\":\"Our model combines a lightweight transformer encoder with a multi-scale CNN feature extractor and a context-aware classification head.\"}]]}],[\"$\",\"section\",null,{\"className\":\"w-full md:max-w-4xl max-w-2xl mb-12\",\"children\":[[\"$\",\"h3\",null,{\"className\":\"text-xl font-semibold mb-2 text-center\",\"children\":\"Online Demo\"}],[\"$\",\"$L4\",null,{\"context\":\"草尼玛的一群煞笔\\n\\n🐶日的哈麻批,该放假不放假,上你妈批的课啊\\n\\n老哥🀄️啊,因为人领导每天都是放假捏捏 😋\\n\\n密码的周六能不能放过我一次\"}]]}]]}],[\"$\",\"$L5\",null,{\"children\":\"$L6\"}],null,[\"$\",\"$L7\",null,{\"children\":[\"$L8\",\"$L9\",[\"$\",\"$La\",null,{\"promise\":\"$@b\"}]]}]]}],{},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$1\",\"_342yJqKM5fLf6khZBmvY\",{\"children\":[[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"f:\"$Sreact.suspense\"\n10:I[4911,[],\"AsyncMetadata\"]\n6:[\"$\",\"$f\",null,{\"fallback\":null,\"children\":[\"$\",\"$L10\",null,{\"promise\":\"$@11\"}]}]\n"])</script><script>self.__next_f.push([1,"9:null\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n8:null\n"])</script><script>self.__next_f.push([1,"11:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Lite Detective\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Efficient and Accurate Chinese Toxic Text Detection\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}]],\"error\":null,\"digest\":\"$undefined\"}\nb:{\"metadata\":\"$11:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"])</script></body></html>
out/index.txt CHANGED
@@ -1,7 +1,7 @@
1
  1:"$Sreact.fragment"
2
  2:I[7555,[],""]
3
  3:I[1295,[],""]
4
- 4:I[3762,["974","static/chunks/app/page-3637b2ffc72df25b.js"],"default"]
5
  5:I[9665,[],"MetadataBoundary"]
6
  7:I[9665,[],"OutletBoundary"]
7
  a:I[4911,[],"AsyncMetadataOutlet"]
@@ -12,7 +12,7 @@ e:I[6614,[],""]
12
  :HL["/_next/static/media/93f479601ee12b01-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
13
  :HL["/_next/static/media/c4a2ca76cbcd952a-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
14
  :HL["/_next/static/css/0bc81a6c99df26fb.css","style"]
15
- 0:{"P":null,"b":"rukeIud56M6IHc3dJMy4O","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/0bc81a6c99df26fb.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"font-roboto __variable_5cfdac __variable_c5376c __variable_9a8899 __variable_10f679 antialiased","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"min-h-screen bg-white font-sans flex flex-col items-center px-4","children":[["$","div",null,{"className":"w-full font-sans flex flex-col items-center mt-16 mb-10","children":[["$","h1",null,{"className":"inline-flex items-end space-x-2 group text-4xl md:text-5xl font-extrabold text-center mb-4 tracking-tight font-sharetech cursor-pointer transition-all duration-500","children":[["$","span",null,{"className":"text-base lg:text-2xl text-shadow-xl box-border transform transition-all duration-500 ease-in-out group-hover:scale-0 group-hover:opacity-0","children":"Lite"}],["$","span",null,{"className":"text-6xl lg:text-8xl transform transition-all duration-500 ease-in-out group-hover:scale-150","children":["Detective",["$","span",null,{"className":"text-2xl lg:text-4xl","children":"🕵️"}]]}]]}],["$","h2",null,{"className":"text-2xl text-center font-light mb-2 text-gray-700","children":"Lightweight and Accurate Chinese Toxic Text Detection"}],["$","span",null,{"className":"text-base text-shadow-xl box-border mb-8 text-red-500 lg:text-lg hover:text-red-600 hover:text-xl transition-all duration-300 ease-in-out","children":"Disclaimer: The paper contains content that may be profane, vulgar, or offensive."}],["$","div",null,{"className":"flex flex-wrap justify-center gap-x-4 gap-y-4 text-base mb-2","children":[["$","div","Qinjian Zhao *",{"className":"flex flex-col text-center group","children":["$","div",null,{"className":"flex items-center gap-2","children":["$","a",null,{"href":"https://github.com/AlbertZhaoCA","className":"text-blue-600 hover:text-blue-800 text-2xl transition-all duration-300 group-hover:scale-95","target":"_blank","rel":"noopener noreferrer","children":["Qinjian Zhao *",["$","sup",null,{"className":"text-xs align-super text-muted","children":1}]]}]}]}],["$","div","Mingcheng Hu *",{"className":"flex flex-col text-center group","children":["$","div",null,{"className":"flex items-center gap-2","children":["$","a",null,{"href":"https://github.com/HuHLuL","className":"text-blue-600 hover:text-blue-800 text-2xl transition-all duration-300 group-hover:scale-95","target":"_blank","rel":"noopener noreferrer","children":["Mingcheng Hu *",["$","sup",null,{"className":"text-xs align-super text-muted","children":1}]]}]}]}]]}],["$","div",null,{"className":"flex items-center gap-2","children":["{",[["$","a","zhaoq",{"href":"mailto:zhaoq","className":"transition-all duration-300 text-xl text-gray-500 hover:text-blue-700 hover:underline group-hover:scale-105","children":[["$","sup",null,{"className":"text-xs align-super text-muted","children":1}],"zhaoq"," ",["$","span",null,{"children":","}]]}],["$","a","humin",{"href":"mailto:humin","className":"transition-all duration-300 text-xl text-gray-500 hover:text-blue-700 hover:underline group-hover:scale-105","children":[["$","sup",null,{"className":"text-xs align-super text-muted","children":1}],"humin"," ",false]}]],"}",["$","span",null,{"className":"text-lg","children":" @ kean.edu"}]]}],["$","div",null,{"className":"text-center text-gray-500 text-sm mb-2","children":["* Equal Contribution ",["$","br",null,{}]]}],["$","div",null,{"className":"text-center text-gray-500 italic text-base mb-2","children":"CPS 3320 2025"}],["$","div",null,{"className":"text-center text-gray-700 text-base mb-6","children":[["$","span","Kean University",{"className":"text-xl","children":["Kean University"," "]}]]}],["$","div",null,{"className":"flex gap-4 justify-center mb-8","children":[["$","a",null,{"href":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","className":"inline-flex items-center gap-2 px-6 py-2 rounded-lg border border-gray-300 font-semibold text-gray-800 bg-white hover:bg-gray-100 transition","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 24 24","strokeWidth":1.5,"stroke":"currentColor","aria-hidden":"true","data-slot":"icon","ref":"$undefined","aria-labelledby":"$undefined","className":"h-5 w-5","children":[null,["$","path",null,{"strokeLinecap":"round","strokeLinejoin":"round","d":"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}]]}],"Paper"]}],["$","a",null,{"href":"https://github.com/AlbertZhaoCA/lite-detective","className":"inline-flex items-center gap-2 px-6 py-2 rounded-lg bg-indigo-600 text-white font-semibold shadow hover:bg-indigo-700 transition","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 24 24","strokeWidth":1.5,"stroke":"currentColor","aria-hidden":"true","data-slot":"icon","ref":"$undefined","aria-labelledby":"$undefined","className":"h-5 w-5","children":[null,["$","path",null,{"strokeLinecap":"round","strokeLinejoin":"round","d":"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"}]]}],"Code"]}],["$","a",null,{"href":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","className":"inline-flex items-center gap-2 px-6 py-2 rounded-lg border border-gray-300 font-semibold text-gray-800 bg-white hover:bg-gray-100 transition","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 24 24","strokeWidth":1.5,"stroke":"currentColor","aria-hidden":"true","data-slot":"icon","ref":"$undefined","aria-labelledby":"$undefined","className":"h-5 w-5","children":[null,["$","path",null,{"strokeLinecap":"round","strokeLinejoin":"round","d":"M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5"}]]}],"arXiv"]}]]}]]}],["$","section",null,{"className":"max-w-2xl md:max-w-4xl mb-12 text-center","children":[["$","h3",null,{"className":"text-2xl font-semibold mb-2","children":"Abstract"}],["$","p",null,{"className":"text-gray-700 text-justify leading-relaxed text-lg","children":"Harmful content detection is a critical task for\nany social media platform, as the presence of\nmisinformation, age, gender, and racial discrim-\nination can lead to a reduction in active users.\nThis paper introduces a novel approach that\nleverages large language models (LLMs) to an-\nalyze specific social media data and generate\ntraining data, combined with a BERT-based Dy-\nnamic TextCNN architecture. We first crawl\npotential harmful comments from targeted com-\nmunities (e.g., \"ShunBa\"). These comments\nare then subjected to random filtering and clus-\ntering using a smaller LLM to generate policy-\nguided seed examples. Next, we employ a large\nLLM (Qwen-3) for context-aware and context-\nfree data augmentation. Finally, we integrate\nBERT embeddings with a Dynamic TextCNN\nclassifier on our custom dataset."}]]}],["$","section",null,{"className":"max-w-2xl md:max-w-4xl text-center mb-12","children":[["$","h3",null,{"className":"text-2xl font-semibold mb-2","children":"Method"}],["$","p",null,{"className":"text-gray-700 text-justify leading-relaxed text-lg","children":"Our model combines a lightweight transformer encoder with a multi-scale CNN feature extractor and a context-aware classification head."}]]}],["$","section",null,{"className":"w-full md:max-w-4xl max-w-2xl mb-12","children":[["$","h3",null,{"className":"text-xl font-semibold mb-2 text-center","children":"Online Demo"}],["$","$L4",null,{"context":"草尼玛的一群煞笔\n\n🐶日的哈麻批,该放假不放假,上你妈批的课啊\n\n老哥🀄️啊,因为人领导每天都是放假捏捏 😋\n\n密码的周六能不能放过我一次"}]]}]]}],["$","$L5",null,{"children":"$L6"}],null,["$","$L7",null,{"children":["$L8","$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","b8FvtV29vEy5rR9nsXeph",{"children":[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$e","$undefined"],"s":false,"S":true}
16
  f:"$Sreact.suspense"
17
  10:I[4911,[],"AsyncMetadata"]
18
  6:["$","$f",null,{"fallback":null,"children":["$","$L10",null,{"promise":"$@11"}]}]
 
1
  1:"$Sreact.fragment"
2
  2:I[7555,[],""]
3
  3:I[1295,[],""]
4
+ 4:I[3762,["974","static/chunks/app/page-c4f1fb40c78eb870.js"],"default"]
5
  5:I[9665,[],"MetadataBoundary"]
6
  7:I[9665,[],"OutletBoundary"]
7
  a:I[4911,[],"AsyncMetadataOutlet"]
 
12
  :HL["/_next/static/media/93f479601ee12b01-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
13
  :HL["/_next/static/media/c4a2ca76cbcd952a-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
14
  :HL["/_next/static/css/0bc81a6c99df26fb.css","style"]
15
+ 0:{"P":null,"b":"5PCIU3jx_2n_OhlzD4fZU","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/0bc81a6c99df26fb.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"font-roboto __variable_5cfdac __variable_c5376c __variable_9a8899 __variable_10f679 antialiased","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"min-h-screen bg-white font-sans flex flex-col items-center px-4","children":[["$","div",null,{"className":"w-full font-sans flex flex-col items-center mt-16 mb-10","children":[["$","h1",null,{"className":"inline-flex items-end space-x-2 group text-4xl md:text-5xl font-extrabold text-center mb-4 tracking-tight font-sharetech cursor-pointer transition-all duration-500","children":[["$","span",null,{"className":"text-base lg:text-2xl text-shadow-xl box-border transform transition-all duration-500 ease-in-out group-hover:scale-0 group-hover:opacity-0","children":"Lite"}],["$","span",null,{"className":"text-6xl lg:text-8xl transform transition-all duration-500 ease-in-out group-hover:scale-150","children":["Detective",["$","span",null,{"className":"text-2xl lg:text-4xl","children":"🕵️"}]]}]]}],["$","h2",null,{"className":"text-2xl text-center font-light mb-2 text-gray-700","children":"Lightweight and Accurate Chinese Toxic Text Detection"}],["$","span",null,{"className":"text-base text-shadow-xl box-border mb-8 text-red-500 lg:text-lg hover:text-red-600 hover:text-xl transition-all duration-300 ease-in-out","children":"Disclaimer: The paper contains content that may be profane, vulgar, or offensive."}],["$","div",null,{"className":"flex flex-wrap justify-center gap-x-4 gap-y-4 text-base mb-2","children":[["$","div","Qinjian Zhao *",{"className":"flex flex-col text-center group","children":["$","div",null,{"className":"flex items-center gap-2","children":["$","a",null,{"href":"https://github.com/AlbertZhaoCA","className":"text-blue-600 hover:text-blue-800 text-2xl transition-all duration-300 group-hover:scale-95","target":"_blank","rel":"noopener noreferrer","children":["Qinjian Zhao *",["$","sup",null,{"className":"text-xs align-super text-muted","children":1}]]}]}]}],["$","div","Mingcheng Hu *",{"className":"flex flex-col text-center group","children":["$","div",null,{"className":"flex items-center gap-2","children":["$","a",null,{"href":"https://github.com/HuHLuL","className":"text-blue-600 hover:text-blue-800 text-2xl transition-all duration-300 group-hover:scale-95","target":"_blank","rel":"noopener noreferrer","children":["Mingcheng Hu *",["$","sup",null,{"className":"text-xs align-super text-muted","children":1}]]}]}]}]]}],["$","div",null,{"className":"flex items-center gap-2","children":["{",[["$","a","zhaoq",{"href":"mailto:zhaoq","className":"transition-all duration-300 text-xl text-gray-500 hover:text-blue-700 hover:underline group-hover:scale-105","children":[["$","sup",null,{"className":"text-xs align-super text-muted","children":1}],"zhaoq"," ",["$","span",null,{"children":","}]]}],["$","a","humin",{"href":"mailto:humin","className":"transition-all duration-300 text-xl text-gray-500 hover:text-blue-700 hover:underline group-hover:scale-105","children":[["$","sup",null,{"className":"text-xs align-super text-muted","children":1}],"humin"," ",false]}]],"}",["$","span",null,{"className":"text-lg","children":" @ kean.edu"}]]}],["$","div",null,{"className":"text-center text-gray-500 text-sm mb-2","children":["* Equal Contribution ",["$","br",null,{}]]}],["$","div",null,{"className":"text-center text-gray-500 italic text-base mb-2","children":"CPS 3320 2025"}],["$","div",null,{"className":"text-center text-gray-700 text-base mb-6","children":[["$","span","Kean University",{"className":"text-xl","children":["Kean University"," "]}]]}],["$","div",null,{"className":"flex gap-4 justify-center mb-8","children":[["$","a",null,{"href":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","className":"inline-flex items-center gap-2 px-6 py-2 rounded-lg border border-gray-300 font-semibold text-gray-800 bg-white hover:bg-gray-100 transition","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 24 24","strokeWidth":1.5,"stroke":"currentColor","aria-hidden":"true","data-slot":"icon","ref":"$undefined","aria-labelledby":"$undefined","className":"h-5 w-5","children":[null,["$","path",null,{"strokeLinecap":"round","strokeLinejoin":"round","d":"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}]]}],"Paper"]}],["$","a",null,{"href":"https://github.com/AlbertZhaoCA/lite-detective","className":"inline-flex items-center gap-2 px-6 py-2 rounded-lg bg-indigo-600 text-white font-semibold shadow hover:bg-indigo-700 transition","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 24 24","strokeWidth":1.5,"stroke":"currentColor","aria-hidden":"true","data-slot":"icon","ref":"$undefined","aria-labelledby":"$undefined","className":"h-5 w-5","children":[null,["$","path",null,{"strokeLinecap":"round","strokeLinejoin":"round","d":"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"}]]}],"Code"]}],["$","a",null,{"href":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","className":"inline-flex items-center gap-2 px-6 py-2 rounded-lg border border-gray-300 font-semibold text-gray-800 bg-white hover:bg-gray-100 transition","children":[["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 24 24","strokeWidth":1.5,"stroke":"currentColor","aria-hidden":"true","data-slot":"icon","ref":"$undefined","aria-labelledby":"$undefined","className":"h-5 w-5","children":[null,["$","path",null,{"strokeLinecap":"round","strokeLinejoin":"round","d":"M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5"}]]}],"arXiv"]}]]}]]}],["$","section",null,{"className":"max-w-2xl md:max-w-4xl mb-12 text-center","children":[["$","h3",null,{"className":"text-2xl font-semibold mb-2","children":"Abstract"}],["$","p",null,{"className":"text-gray-700 text-justify leading-relaxed text-lg","children":"Harmful content detection is a critical task for\nany social media platform, as the presence of\nmisinformation, age, gender, and racial discrim-\nination can lead to a reduction in active users.\nThis paper introduces a novel approach that\nleverages large language models (LLMs) to an-\nalyze specific social media data and generate\ntraining data, combined with a BERT-based Dy-\nnamic TextCNN architecture. We first crawl\npotential harmful comments from targeted com-\nmunities (e.g., \"ShunBa\"). These comments\nare then subjected to random filtering and clus-\ntering using a smaller LLM to generate policy-\nguided seed examples. Next, we employ a large\nLLM (Qwen-3) for context-aware and context-\nfree data augmentation. Finally, we integrate\nBERT embeddings with a Dynamic TextCNN\nclassifier on our custom dataset."}]]}],["$","section",null,{"className":"max-w-2xl md:max-w-4xl text-center mb-12","children":[["$","h3",null,{"className":"text-2xl font-semibold mb-2","children":"Method"}],["$","p",null,{"className":"text-gray-700 text-justify leading-relaxed text-lg","children":"Our model combines a lightweight transformer encoder with a multi-scale CNN feature extractor and a context-aware classification head."}]]}],["$","section",null,{"className":"w-full md:max-w-4xl max-w-2xl mb-12","children":[["$","h3",null,{"className":"text-xl font-semibold mb-2 text-center","children":"Online Demo"}],["$","$L4",null,{"context":"草尼玛的一群煞笔\n\n🐶日的哈麻批,该放假不放假,上你妈批的课啊\n\n老哥🀄️啊,因为人领导每天都是放假捏捏 😋\n\n密码的周六能不能放过我一次"}]]}]]}],["$","$L5",null,{"children":"$L6"}],null,["$","$L7",null,{"children":["$L8","$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","_342yJqKM5fLf6khZBmvY",{"children":[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$e","$undefined"],"s":false,"S":true}
16
  f:"$Sreact.suspense"
17
  10:I[4911,[],"AsyncMetadata"]
18
  6:["$","$f",null,{"fallback":null,"children":["$","$L10",null,{"promise":"$@11"}]}]