harrykeeran12 commited on
Commit
70f8d8d
·
1 Parent(s): 9efc940

(Trained with Unsloth)

Browse files
Files changed (1) hide show
  1. Modelfile +7 -68
Modelfile CHANGED
@@ -1,81 +1,20 @@
1
- FROM /content/harrykeeran12/radiology_error_mistral_gguf/unsloth.F16.gguf
2
 
3
- TEMPLATE """Your task is to identify errors in unstructured radiology reports including omissions, extraneous statements, transcription errors, and internal inconsistencies. Analyze each report and output errors in JSON format.
4
 
5
- Example 1:
6
- Input: "Clinical Information:
7
- Not given.
8
- Technique:
9
- Non-contrast images were taken in the axial plane with a section thickness of 1.5 m.
10
- Findings:
11
- Other findings are stable.
12
- Impressions:
13
- Not given."
14
-
15
- Output: {
16
- "errorsForWholeText": {
17
- "errorType": "Transcription Error",
18
- "errorPhrases": [
19
- "Non-contrast images were taken in the axial plane with a section thickness of 1.5 m."
20
- ],
21
- "errorExplanation": [
22
- "The section thickness would normally be in millimetres not metres."
23
- ]
24
- }
25
- }
26
-
27
- Example 2:
28
- Input: "Clinical Information:
29
- Patient with chronic headaches.
30
- Technique:
31
- MRI of the brain without contrast.
32
- Findings:
33
- No acute intracranial abnormality.
34
- No evidence of mass effect or midline shift.
35
- Ventricles are normal in size and configuration.
36
- Impressions:
37
- Normal brain MRI."
38
-
39
- Output: {
40
- "errorsForWholeText": "No errors found"
41
- }
42
-
43
- Example 3:
44
- Input: "Clinical Information:
45
- Fall from standing height.
46
- Technique:
47
- CT scan of the right wrist.
48
- Findings:
49
- There is a comminuted fracture of the distal radius.
50
- No evidence of dislocation.
51
- Impressions:
52
- The patient has a sprained wrist."{{ if .Prompt }}
53
-
54
- Output: {
55
- "errorsForWholeText": {
56
- "errorType": "Internal Inconsistency",
57
- "errorPhrases": [
58
- "There is a comminuted fracture of the distal radius.",
59
- "The patient has a sprained wrist."
60
- ],
61
- "errorExplanation": [
62
- "The findings section identifies a fracture, but the impressions section only mentions a sprain, which is inconsistent."
63
- ]
64
- }
65
- }
66
- Analyse the report below:
67
  {{ .Prompt }}{{ end }}
68
 
69
  ### Response:
70
  {{ .Response }}</s>"""
71
 
72
- PARAMETER stop "[AVAILABLE_TOOLS]"
73
  PARAMETER stop "[/TOOL_RESULTS]"
74
- PARAMETER stop "[INST]"
75
  PARAMETER stop "[TOOL_CALLS]"
76
- PARAMETER stop "[/AVAILABLE_TOOLS]"
77
- PARAMETER stop "[TOOL_RESULTS]"
78
  PARAMETER stop "[/INST]"
 
 
 
79
  PARAMETER stop "<unk>"
80
  PARAMETER stop "</s>"
81
  PARAMETER stop "[control_"
 
1
+ FROM /content/harrykeeran12/radiology_error_mistral_gguf/unsloth.BF16.gguf
2
 
3
+ TEMPLATE """Below are some instructions that describe some tasks. Write responses that appropriately complete each request.{{ if .Prompt }}
4
 
5
+ ### Instruction:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  {{ .Prompt }}{{ end }}
7
 
8
  ### Response:
9
  {{ .Response }}</s>"""
10
 
 
11
  PARAMETER stop "[/TOOL_RESULTS]"
12
+ PARAMETER stop "[AVAILABLE_TOOLS]"
13
  PARAMETER stop "[TOOL_CALLS]"
 
 
14
  PARAMETER stop "[/INST]"
15
+ PARAMETER stop "[TOOL_RESULTS]"
16
+ PARAMETER stop "[INST]"
17
+ PARAMETER stop "[/AVAILABLE_TOOLS]"
18
  PARAMETER stop "<unk>"
19
  PARAMETER stop "</s>"
20
  PARAMETER stop "[control_"