Spaces:
Sleeping
Sleeping
Commit History
-
fix: intermidiate lang to vn, strict change only term in step 6
c2c75ee
-
feat: udpate allow polish ai
6504c4f -
feat: update max token
e081a39 -
feat: fix default model
a0aa017 -
Add original-guided terminology refinement step
The standard pipeline now runs a fifth LLM pass after Step 4. It gives the model the original source and the Step 4 output, asks it to correct terminology using the source as reference, and explicitly preserves the Step 4 rewrite for non-terminology wording. Constraint: Step 5 must not broadly rewrite the already-humanized Step 4 text. Rejected: Fold terminology correction into Step 4 | translation engines do not have the original source and cannot reliably restore source terminology. Confidence: high Scope-risk: moderate Tested: pytest tests/test_llm_rewriter.py tests/test_pipeline.py; python3 -m py_compile src/standard/pipeline.py src/standard/llm_rewriter.py src/standard/__init__.py src/methodologies/translation_chain.py; pytest.0fb1497
-
Route hosted reasoning through NVIDIA NIM
The Space already used an OpenAI-compatible chat client, so NVIDIA support can stay inside the provider resolver instead of adding a separate API path. This adds the hosted NIM defaults for openai/gpt-oss-20b, reads NVIDIA_API_KEY, exposes the provider in the Gradio UI, and documents the required Space variables. Constraint: NVIDIA NIM exposes openai/gpt-oss-20b at https://integrate.api.nvidia.com/v1/chat/completions Constraint: NVIDIA documents temperature for this endpoint as 0.0 through 1.0 Rejected: Use generic openai provider plus LLM_BASE_URL only | works but hides provider-specific key/defaults from the UI and docs Confidence: high Scope-risk: narrow Directive: Keep provider additions in src.standard.llm_client unless the API stops being OpenAI-compatible Tested: pytest Tested: python3 -m py_compile app.py src/standard/llm_client.py Tested: env LLM_PROVIDER=nvidia NVIDIA_API_KEY=nvapi-test LLM_TEMPERATURE=1.0 config resolutionf335e22 -
Ship the Space update through Hub binary storage
The Hub rejected the previous revision because presentation PNGs were committed as raw Git blobs. Track PNG files through the existing LFS/Xet pointer workflow so Git Xet can upload the binary content while the Git commit stays lightweight. Constraint: Hugging Face rejects binary blobs in Git pushes and requires Xet-backed storage for these files Rejected: Remove the presentation images | the Space documentation references them and the remote accepts them when tracked as pointers Confidence: high Scope-risk: narrow Directive: Keep binary presentation assets covered by .gitattributes before committing new image updates Tested: git lfs ls-files shows all six PNG assets tracked Tested: git cat-file on a staged PNG shows a Git LFS pointer instead of raw PNG bytes Not-tested: Remote push after amending, pending next verification stepc0b1b71