tabbyAPI-ollama/common
kingbri 390daeb92f Model: Create universal HFModel class
The HFModel class serves to coalesce all config files that contain
random keys which are required for model usage.

Adding this base class allows us to expand as HuggingFace randomly
changes their JSON schemas over time, reducing the brunt that backend
devs need to feel when their next model isn't supported.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-05-13 18:12:38 -04:00
..
actions.py Downloader: log errors when downloading 2025-02-19 23:16:17 -05:00
args.py Args: Expose api-servers to subcommands 2025-02-10 23:39:46 -05:00
auth.py Tree: Format 2024-09-18 20:36:17 -04:00
concurrency.py API + Model: Add blocks and checks for various load requests 2024-05-25 21:16:14 -04:00
config_models.py Merge branch 'exl3' into backend-detect 2025-05-08 23:50:33 -04:00
downloader.py Downloader: log errors when downloading 2025-02-19 23:16:17 -05:00
gen_logging.py Logging: Remove preferences global 2024-09-14 21:49:44 -04:00
hardware.py Common: Add hardware file 2025-05-02 21:33:25 -04:00
health.py Add health check monitoring for EXL2 errors (#206) 2024-09-22 21:40:36 -04:00
logger.py Logger: Switch to ISO timestamp formatting 2025-02-19 21:48:23 -05:00
model.py Model: Create universal HFModel class 2025-05-13 18:12:38 -04:00
multimodal.py Tree: Format 2025-02-07 18:03:33 -05:00
networking.py remove unused imports 2024-09-11 18:00:29 +01:00
optional_dependencies.py Startup: Check agnostically for inference deps 2025-05-09 21:59:00 -04:00
sampling.py Sampling: Make add_bos_token override concise 2025-05-10 19:07:35 -04:00
signals.py Signals: Split signal handler between sync and async 2024-09-19 23:31:29 -04:00
tabby_config.py Cleanup config file loader (#208) 2024-09-23 21:42:01 -04:00
templating.py Model: Add TokenizerConfig stub and add_eos_token fallback 2025-05-02 00:08:01 -04:00
transformers_utils.py Model: Create universal HFModel class 2025-05-13 18:12:38 -04:00
utils.py Tree: Format + Lint 2025-04-26 02:14:30 -04:00