Spaces:
Sleeping
Sleeping
Commit History
-
Optional local LLM labelling with Ollama
Labelling via the Hugging Face Inference API needs paid credits once the monthly allowance is used up (HTTP 402), and sends the reports to a third- party provider. A local Ollama server avoids both. The app now offers a "Local (Ollama)" labelling backend, shown only when an Ollama server is reachable with at least one model pulled, so the hosted Space is unchanged. Prompts, label cleaning and caching are shared with the API path; local labels get their own cache files (llm_labels_ollama-...) and are kept out of the HF cost estimate. A placeholder token is passed so the user's HF token is never sent to the local server. generate_llm_labels() takes an optional base_url for the same in scripts, and run_pipeline.py exposes it as LLM_BASE_URL (None keeps the API).96f0c0e
-
app2.py calls mosaic_core instead of its own copies of the methods
Streamlit keeps only thin cached wrappers (model loading, progress bar). Match tables are identical to the previous version on a real 57x46-topic comparison.036b081 -
Test the methods in mosaic_core; run full suite plus a Streamlit-free job in CI
d198462
-
add tests for ensure_nltk_data, get_hf_status_code, generate_llm_labels
3cf8aec
-
updated tests
de1be28 -
modif tests with dummy csv
8c495c2 -
added tests help
bc76dc7 -
added tests folder
8bba594
-
modified mkd for new tests functions"
b4ce436 -
modified mkd for new tests functions"
04a89d0 -
removed old tests files
89a13c9
-
added tests folder for JOSS
c265abe -
Add test suite for JOSS submission
f67c8fe -
Add test suite for JOSS submission
abad87b