Skip to content

ADD: pick the CNE model from the notes type and fetch both fine-tuned models from Hugging Face - #85

Merged
Jules-GP merged 1 commit into
DCBIA-OrthoLab:mainfrom
Jules-GP:feat/cne-default-model
Oct 23, 2026
Merged

Jules-GP merged 1 commit into
DCBIA-OrthoLab:mainfrom
Jules-GP:feat/cne-default-model

Conversation

@Jules-GP

Copy link
Copy Markdown
Collaborator

What

  • model is now optional on the CNE tool. Left empty, the tool picks the fine-tuned model that matches notes_type:
    • TMJ notes: DCBIA-OrthoLab/Qwen-2.5-7B-Instruct-TMJ
    • Orthodontic notes: DCBIA-OrthoLab/Llama-3.1-8B-Instruct-Ortho
  • Both models are declared in scripts/data-manifest.yml, so the server fetches them like any other tool data.
  • The layout labels the context window "Context window (tokens, 0 = auto)", so clinicians know what 0 means.
  • README and tests updated.

Tests

  • tools/CNE: 165 passed
  • scripts/tests: 97 passed, 4 skipped

After merge

Push main to deploy so the tools image is republished. The Slicer panel that uses this lands in SlicerAutomatedDentalToolsRemote (CNE panel PR).

Copilot AI balanced review requested due to automatic review settings October 23, 2026 12:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@Jules-GP
Jules-GP merged commit 24803c6 into DCBIA-OrthoLab:main Oct 23, 2026
22 checks passed
@Jules-GP
Jules-GP deleted the feat/cne-default-model branch October 23, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants