初始化项目,由ModelHub XC社区提供模型

Model: AbteeXAILab/lumynax-longctx-yi-9b-200k
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-10 18:44:19 +08:00
commit 55906c516c
27 changed files with 177305 additions and 0 deletions

22
hf_space/README.md Normal file
View File

@@ -0,0 +1,22 @@
---
title: LumynaX Long-Context Yi-9B 200K
colorFrom: yellow
colorTo: gray
sdk: gradio
sdk_version: 5.50.0
python_version: 3.11
app_file: app.py
pinned: false
license: apache-2.0
short_description: Scaffold Space for the lumynax-longctx-yi-9b-200k LumynaX release.
tags:
- abteex-ai-labs
- lumynax
- sovereign-ai
- new-zealand
---
# LumynaX Long-Context Yi-9B 200K
Scaffold Space for `AbteeXAILab/lumynax-longctx-yi-9b-200k`. The actual model weights are too large to host on a free Space.
Clone the package repo and run `quickstart.py` locally for the real inference path.

27
hf_space/app.py Normal file
View File

@@ -0,0 +1,27 @@
import os
import gradio as gr
REPO_ID = "AbteeXAILab/lumynax-longctx-yi-9b-200k"
UPSTREAM = "01-ai/Yi-9B-200K"
TITLE = "LumynaX Long-Context Yi-9B 200K"
THEME_CSS = """
:root { --lx-paper:#fffefa; --lx-ink:#0a0a0b; --lx-amber:#e08a2c; }
body, .gradio-container { background: var(--lx-paper) !important; color: var(--lx-ink) !important; }
h1, h2, h3 { font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif; }
"""
def chat_stub(message, history):
return (
f"This Space is a scaffold for **{TITLE}**. The upstream model is `{UPSTREAM}` "
f"and the LumynaX package repo is `{REPO_ID}`. Cloud inference for >100B MoE models "
f"is not run inside this free Space — clone the repo and run `quickstart.py` on a "
f"capable host. You asked: {message!r}."
)
with gr.Blocks(css=THEME_CSS, title=TITLE) as demo:
gr.Markdown(f"# {TITLE}\n*Sovereign intelligence, held in the light.*\n\nLumynaX release scaffold — clone `{REPO_ID}` for the full package.")
gr.ChatInterface(chat_stub, examples=["Explain LumynaX in 2 bullets.", "Why local-first AI for Aotearoa?"])
if __name__ == "__main__":
demo.launch()

View File

@@ -0,0 +1 @@
gradio==5.50.0