cat-llm 0.0.41__tar.gz → 0.0.42__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cat_llm-0.0.41 → cat_llm-0.0.42}/PKG-INFO +1 -1
- {cat_llm-0.0.41 → cat_llm-0.0.42}/src/catllm/CERAD_functions.py +3 -2
- {cat_llm-0.0.41 → cat_llm-0.0.42}/src/catllm/__about__.py +1 -1
- {cat_llm-0.0.41 → cat_llm-0.0.42}/.gitignore +0 -0
- {cat_llm-0.0.41 → cat_llm-0.0.42}/LICENSE +0 -0
- {cat_llm-0.0.41 → cat_llm-0.0.42}/README.md +0 -0
- {cat_llm-0.0.41 → cat_llm-0.0.42}/pyproject.toml +0 -0
- {cat_llm-0.0.41 → cat_llm-0.0.42}/src/catllm/__init__.py +0 -0
- {cat_llm-0.0.41 → cat_llm-0.0.42}/src/catllm/image_functions.py +0 -0
- {cat_llm-0.0.41 → cat_llm-0.0.42}/src/catllm/images/circle.png +0 -0
- {cat_llm-0.0.41 → cat_llm-0.0.42}/src/catllm/images/cube.png +0 -0
- {cat_llm-0.0.41 → cat_llm-0.0.42}/src/catllm/images/diamond.png +0 -0
- {cat_llm-0.0.41 → cat_llm-0.0.42}/src/catllm/images/overlapping_pentagons.png +0 -0
- {cat_llm-0.0.41 → cat_llm-0.0.42}/src/catllm/images/rectangles.png +0 -0
- {cat_llm-0.0.41 → cat_llm-0.0.42}/src/catllm/text_functions.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cat-llm
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.42
|
|
4
4
|
Summary: A tool for categorizing text data and images using LLMs and vision models
|
|
5
5
|
Project-URL: Documentation, https://github.com/chrissoria/cat-llm#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/chrissoria/cat-llm/issues
|
|
@@ -305,7 +305,7 @@ def cerad_drawn_score(
|
|
|
305
305
|
#if no valid image path is provided
|
|
306
306
|
elif valid_image == False:
|
|
307
307
|
reply = "invalid image path"
|
|
308
|
-
print("Skipped NaN input or invalid path")
|
|
308
|
+
#print("Skipped NaN input or invalid path")
|
|
309
309
|
#extracted_jsons.append("""{"no_valid_path": 1}""")
|
|
310
310
|
link1.append("Error processing input: {e}")
|
|
311
311
|
else:
|
|
@@ -404,7 +404,8 @@ def cerad_drawn_score(
|
|
|
404
404
|
"7": "complex_diamond",
|
|
405
405
|
"8": "none"
|
|
406
406
|
})
|
|
407
|
-
|
|
407
|
+
#sometimes the model will get confused and output the number 4 instead of a 1 or 0
|
|
408
|
+
categorized_data.loc[categorized_data['diamond_4_sides'] > 1, 'diamond_4_sides'] = 1
|
|
408
409
|
categorized_data['score'] = categorized_data['diamond_4_sides'] + categorized_data['diamond_equal_sides'] + categorized_data['similar'] + categorized_data['diamond_square']
|
|
409
410
|
|
|
410
411
|
categorized_data.loc[categorized_data['none'] == 1, 'score'] = 0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|