Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +10 -0
- attention_weights/Patient_Text_attention_sample_0.png +0 -0
- attention_weights/Patient_Text_attention_sample_1.png +0 -0
- attention_weights/Patient_Text_attention_sample_2.png +0 -0
- attention_weights/Patient_Text_attention_sample_3.png +0 -0
- attention_weights/Patient_Text_attention_sample_4.png +0 -0
- attention_weights/Patient_Text_attention_sample_5.png +0 -0
- attention_weights/Patient_Text_attention_sample_6.png +0 -0
- attention_weights/Patient_Text_attention_sample_7.png +0 -0
- attention_weights/Patient_Text_attention_sample_8.png +0 -0
- attention_weights/Patient_Text_attention_sample_9.png +0 -0
- config copy.json +25 -0
- integrated_gradients/Patient_Text_ig_sample_0.png +3 -0
- integrated_gradients/Patient_Text_ig_sample_1.png +3 -0
- integrated_gradients/Patient_Text_ig_sample_2.png +3 -0
- integrated_gradients/Patient_Text_ig_sample_3.png +3 -0
- integrated_gradients/Patient_Text_ig_sample_4.png +3 -0
- integrated_gradients/Patient_Text_ig_sample_5.png +3 -0
- integrated_gradients/Patient_Text_ig_sample_6.png +3 -0
- integrated_gradients/Patient_Text_ig_sample_7.png +3 -0
- integrated_gradients/Patient_Text_ig_sample_8.png +3 -0
- integrated_gradients/Patient_Text_ig_sample_9.png +3 -0
- lime/Patient_Text_sample_0_lime.html +0 -0
- lime/Patient_Text_sample_1_lime.html +0 -0
- lime/Patient_Text_sample_2_lime.html +0 -0
- lime/Patient_Text_sample_3_lime.html +0 -0
- lime/Patient_Text_sample_4_lime.html +0 -0
- model copy.safetensors +3 -0
- model.safetensors +1 -1
- shap/Patient_Text_shap_feature_importance.png +0 -0
- shap/Patient_Text_shap_summary.png +0 -0
- shap/Patient_Text_shap_values.pkl +3 -0
- shap/shap_token_outputs/sample_0_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_10_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_11_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_12_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_13_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_14_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_15_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_16_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_17_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_18_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_19_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_1_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_2_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_3_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_4_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_5_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_6_top_tokens.txt +2 -0
- shap/shap_token_outputs/sample_7_top_tokens.txt +2 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,13 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
integrated_gradients/Patient_Text_ig_sample_0.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
integrated_gradients/Patient_Text_ig_sample_1.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
integrated_gradients/Patient_Text_ig_sample_2.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
integrated_gradients/Patient_Text_ig_sample_3.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
integrated_gradients/Patient_Text_ig_sample_4.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
integrated_gradients/Patient_Text_ig_sample_5.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
integrated_gradients/Patient_Text_ig_sample_6.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
integrated_gradients/Patient_Text_ig_sample_7.png filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
integrated_gradients/Patient_Text_ig_sample_8.png filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
integrated_gradients/Patient_Text_ig_sample_9.png filter=lfs diff=lfs merge=lfs -text
|
attention_weights/Patient_Text_attention_sample_0.png
ADDED
|
attention_weights/Patient_Text_attention_sample_1.png
ADDED
|
attention_weights/Patient_Text_attention_sample_2.png
ADDED
|
attention_weights/Patient_Text_attention_sample_3.png
ADDED
|
attention_weights/Patient_Text_attention_sample_4.png
ADDED
|
attention_weights/Patient_Text_attention_sample_5.png
ADDED
|
attention_weights/Patient_Text_attention_sample_6.png
ADDED
|
attention_weights/Patient_Text_attention_sample_7.png
ADDED
|
attention_weights/Patient_Text_attention_sample_8.png
ADDED
|
attention_weights/Patient_Text_attention_sample_9.png
ADDED
|
config copy.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "distilbert-base-uncased",
|
| 3 |
+
"activation": "gelu",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"DistilBertForSequenceClassification"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.1,
|
| 8 |
+
"dim": 768,
|
| 9 |
+
"dropout": 0.1,
|
| 10 |
+
"hidden_dim": 3072,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"max_position_embeddings": 512,
|
| 13 |
+
"model_type": "distilbert",
|
| 14 |
+
"n_heads": 12,
|
| 15 |
+
"n_layers": 6,
|
| 16 |
+
"pad_token_id": 0,
|
| 17 |
+
"problem_type": "single_label_classification",
|
| 18 |
+
"qa_dropout": 0.1,
|
| 19 |
+
"seq_classif_dropout": 0.2,
|
| 20 |
+
"sinusoidal_pos_embds": false,
|
| 21 |
+
"tie_weights_": true,
|
| 22 |
+
"torch_dtype": "float32",
|
| 23 |
+
"transformers_version": "4.49.0",
|
| 24 |
+
"vocab_size": 30522
|
| 25 |
+
}
|
integrated_gradients/Patient_Text_ig_sample_0.png
ADDED
|
Git LFS Details
|
integrated_gradients/Patient_Text_ig_sample_1.png
ADDED
|
Git LFS Details
|
integrated_gradients/Patient_Text_ig_sample_2.png
ADDED
|
Git LFS Details
|
integrated_gradients/Patient_Text_ig_sample_3.png
ADDED
|
Git LFS Details
|
integrated_gradients/Patient_Text_ig_sample_4.png
ADDED
|
Git LFS Details
|
integrated_gradients/Patient_Text_ig_sample_5.png
ADDED
|
Git LFS Details
|
integrated_gradients/Patient_Text_ig_sample_6.png
ADDED
|
Git LFS Details
|
integrated_gradients/Patient_Text_ig_sample_7.png
ADDED
|
Git LFS Details
|
integrated_gradients/Patient_Text_ig_sample_8.png
ADDED
|
Git LFS Details
|
integrated_gradients/Patient_Text_ig_sample_9.png
ADDED
|
Git LFS Details
|
lime/Patient_Text_sample_0_lime.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
lime/Patient_Text_sample_1_lime.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
lime/Patient_Text_sample_2_lime.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
lime/Patient_Text_sample_3_lime.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
lime/Patient_Text_sample_4_lime.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model copy.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:045326b1cdbbfe462e6466e11973ab61b3dbc0ec7f4f4fe88d7ff5fe0393b14f
|
| 3 |
+
size 267832560
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267832560
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3db78c17dcdf5f18d22c1d5a452612c439a77dc44bd28b344fa8065be82f3cc
|
| 3 |
size 267832560
|
shap/Patient_Text_shap_feature_importance.png
ADDED
|
shap/Patient_Text_shap_summary.png
ADDED
|
shap/Patient_Text_shap_values.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60dc31ce2ea5091d2be8affca7dba6ab9dd4f0a454ef7286c699761c6e7bbf2e
|
| 3 |
+
size 42321
|
shap/shap_token_outputs/sample_0_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 0 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
mapping(+2.67) | biopsy(+2.67) | series(+2.02) | pseudopoloid(-0.65) | clinical(+0.58) | macroscopic(+0.58) | starting(+0.00) | from(+0.00) | ascending(+0.00) | colon(+0.00)
|
shap/shap_token_outputs/sample_10_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 10 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
biopsy(+4.18) | series(+1.60) | from(+1.60) | caecpgmoid(-0.42) | mapping(+0.04) | starting(+0.00) | colon(+0.00) | clinical(+0.00) | screening(+0.00) | macro(+0.00)
|
shap/shap_token_outputs/sample_11_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 11 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
axry(+1.07) | diarrhoe(-0.88) | colonic(+0.00) | mapping(+0.00) | series(+0.00) | clinical(+0.00) | history(+0.00) | :psies(+0.00) | fragments(+0.00) | colon(+0.00)
|
shap/shap_token_outputs/sample_12_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 12 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
colonic(+4.41) | biopsies(-0.00) | mapping(+0.00) | clinical(+0.00) | history(+0.00) | severe(+0.00) | colitis(+0.00) | .scopic(+0.00) | microscopic(+0.00) | fragments(+0.00)
|
shap/shap_token_outputs/sample_13_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 13 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
inflammation(+0.01) | colonic(+0.00) | mapping(+0.00) | biopsies(+0.00) | history(+0.00) | macro(+0.00) | there(+0.00) | terminal(+0.00) | ileies(+0.00) | largeps(+0.00)
|
shap/shap_token_outputs/sample_14_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 14 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
colonic(-6.82) | mapping(+0.00) | biopsy(+0.00) | clinical(+0.00) | history(+0.00) | biops(+0.00) | microscopic(+0.00) | with(+0.00) | surfaceelial(+0.00) | detion(+0.00)
|
shap/shap_token_outputs/sample_15_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 15 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
biopsy(-7.38) | mapping(+0.00) | from(+0.00) | descending(+0.00) | colon(+0.00) | clinical(+0.00) | history(+0.00) | mappingies(+0.00) | microscopic(+0.00) | colitisscopic(+0.00)
|
shap/shap_token_outputs/sample_16_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 16 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
duodenum(+8.79) | clinicaloh(+0.07) | biopsy(+0.00) | second(+0.00) | particpsies(+0.00) | terminal(+0.00) | ilepsy(+0.00) | anaemia(+0.00) | ileocoicohn(+0.00) | pseudo(+0.00)
|
shap/shap_token_outputs/sample_17_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 17 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
colorectal(+6.96) | biopsies(+2.44) | mapping(+0.00) | biopsy(+0.00) | clinical(+0.00) | history(+0.00) | macro(+0.00) | sections(+0.00) | show(+0.00) | four(+0.00)
|
shap/shap_token_outputs/sample_18_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 18 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
colorectal(+5.00) | clinical(+4.29) | mapping(-0.71) | location(-0.71) | 5ies(-0.71) | mapping(+0.00) | biopsies(+0.00) | historyc(+0.00) | mapping(+0.00) | series(+0.00)
|
shap/shap_token_outputs/sample_19_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 19 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
they(-4.04) | blood(-2.20) | complete(-1.40) | biopsies(+0.80) | repeat(+0.46) | colonic(+0.00) | mapping(+0.00) | series(+0.00) | clinical(+0.00) | history(+0.00)
|
shap/shap_token_outputs/sample_1_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 1 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
biopsy(-1.72) | /mptomatic(-0.00) | from(+0.00) | oesophagus(+0.00) | from(+0.00) | oesopgus(+0.00) | bioha(+0.00) | atcm(+0.00) | clinical(+0.00) | historyesge(+0.00)
|
shap/shap_token_outputs/sample_2_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 2 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
remains(+2.91) | monthly(-2.62) | crohn(+1.59) | biops(+1.32) | mapping(+0.00) | biopsy(+0.00) | series(+0.00) | from(+0.00) | terminal(+0.00) | ileum(+0.00)
|
shap/shap_token_outputs/sample_3_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 3 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
mapping(+0.00) | grade(+0.00) | microscopic(+0.00) | colonic(+0.00) | biopsies(+0.00) | poly(+0.00) | sigm(+0.00) | colonic(+0.00) | history(+0.00) | aden(+0.00)
|
shap/shap_token_outputs/sample_4_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 4 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
clinical(-0.11) | colonic(+0.00) | mapping(+0.00) | biopsies(+0.00) | history(+0.00) | mapping(+0.00) | inflammation(+0.00) | poly(+0.00) | macroscopic(+0.00) | bioies(+0.00)
|
shap/shap_token_outputs/sample_5_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 5 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
2017(+2.29) | ulcerativetis(+2.29) | these(+0.08) | clinical(+0.07) | colon(-0.01) | crypt(+0.01) | mapping(+0.00) | biopsy(+0.00) | series(+0.00) | from(+0.00)
|
shap/shap_token_outputs/sample_6_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 6 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
biopsies(-2.01) | from(-1.31) | time(-0.11) | colon(-0.11) | colonic(+0.00) | mapping(+0.00) | descending(+0.00) | clinical(+0.00) | assessment(+0.00) | macroscopic(+0.00)
|
shap/shap_token_outputs/sample_7_top_tokens.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Sample 7 for Patient_Text (Top SHAP tokens) ===
|
| 2 |
+
bioies(+0.37) | mildlybro(-0.21) | colonic(+0.00) | mapping(+0.00) | biopsies(+0.00) | from(+0.00) | colonic(+0.00) | polyp(+0.00) | transverse(+0.00) | fromgm(+0.00)
|