Improve model card and add metadata

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +22 -3
README.md CHANGED
@@ -1,5 +1,6 @@
1
  ---
2
  license: cc-by-nc-nd-4.0
 
3
  tags:
4
  - medical-imaging
5
  - ct
@@ -9,9 +10,16 @@ tags:
9
 
10
  # FlexiCT
11
 
12
- FlexiCT is a CT foundation model family trained through agglomerative continual pretraining from 2D slice-level anatomy to 3D volumetric reasoning and report-aligned vision-language understanding.
13
 
14
- This family page links three child repos:
 
 
 
 
 
 
 
15
 
16
  | Repo | Input | Output | Recommended use |
17
  |---|---|---|---|
@@ -19,6 +27,17 @@ This family page links three child repos:
19
  | `ricklisz/FlexiCT-3D` | `[B, 1, 160, 160, 160]` CT volumes | CLS and patch tokens | Whole-volume feature extraction and downstream 3D workflows |
20
  | `ricklisz/FlexiCT-3D-VLM` | CT volumes plus text | Image/text embeddings and similarity scores | Report-aligned retrieval and zero-shot text-image scoring |
21
 
 
 
 
 
 
 
 
 
 
 
 
22
  ## Preprocessing presets
23
 
24
  `default` is recommended for whole-volume 3D and 3D-VLM inference. It orients/resamples path inputs to LPS at 2 mm spacing when spacing is available, clips HU to `[-1000, 1000]`, z-score normalizes, pads with the tensor minimum to at least `160^3`, then center crops to `160^3`. This best matches the released VLM evaluation path because it preserves physical scale better than globally resizing the anatomy.
@@ -48,4 +67,4 @@ The released checkpoints are made available under the Creative Commons Attributi
48
 
49
  ## Medical disclaimer
50
 
51
- FlexiCT is for research use only. It is not a medical device and is not a substitute for professional medical judgment.
 
1
  ---
2
  license: cc-by-nc-nd-4.0
3
+ pipeline_tag: image-feature-extraction
4
  tags:
5
  - medical-imaging
6
  - ct
 
10
 
11
  # FlexiCT
12
 
13
+ FlexiCT is a CT foundation model family trained through agglomerative continual pretraining, progressing from 2D slice-level anatomy to 3D volumetric reasoning and report-aligned vision-language understanding.
14
 
15
+ The models were presented in the paper [Universal CT Representations from Anatomy to Disease Phenotype through Agglomerative Pretraining](https://huggingface.co/papers/2605.21906).
16
+
17
+ - **Project Page:** [https://ricklisz.github.io/flexict.github.io](https://ricklisz.github.io/flexict.github.io)
18
+ - **GitHub Repository:** [https://github.com/ricklisz/FlexiCT](https://github.com/ricklisz/FlexiCT)
19
+
20
+ ## Model Family
21
+
22
+ This family page links three child repositories:
23
 
24
  | Repo | Input | Output | Recommended use |
25
  |---|---|---|---|
 
27
  | `ricklisz/FlexiCT-3D` | `[B, 1, 160, 160, 160]` CT volumes | CLS and patch tokens | Whole-volume feature extraction and downstream 3D workflows |
28
  | `ricklisz/FlexiCT-3D-VLM` | CT volumes plus text | Image/text embeddings and similarity scores | Report-aligned retrieval and zero-shot text-image scoring |
29
 
30
+ ## Sample Usage
31
+
32
+ To use the models, you can follow the installation instructions in the [GitHub repository](https://github.com/ricklisz/FlexiCT). Once installed, you can load a model as follows:
33
+
34
+ ```python
35
+ from flexi_ct import Flexi_CT_3D
36
+
37
+ # Pass a checkpoint path when constructing a model
38
+ model = Flexi_CT_3D(checkpoint_path="/path/to/ct_3d_teacher.pth")
39
+ ```
40
+
41
  ## Preprocessing presets
42
 
43
  `default` is recommended for whole-volume 3D and 3D-VLM inference. It orients/resamples path inputs to LPS at 2 mm spacing when spacing is available, clips HU to `[-1000, 1000]`, z-score normalizes, pads with the tensor minimum to at least `160^3`, then center crops to `160^3`. This best matches the released VLM evaluation path because it preserves physical scale better than globally resizing the anatomy.
 
67
 
68
  ## Medical disclaimer
69
 
70
+ FlexiCT is for research use only. It is not a medical device and is not a substitute for professional medical judgment.