cat-llm 0.0.69__tar.gz → 0.0.70__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.69 → cat_llm-0.0.70}/PKG-INFO +1 -1
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/__about__.py +1 -1
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/text_functions.py +3 -4
- {cat_llm-0.0.69 → cat_llm-0.0.70}/.gitignore +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/LICENSE +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/README.md +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/pyproject.toml +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/CERAD_functions.py +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/__init__.py +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/build_web_research.py +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/calls/CoVe.py +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/calls/__init__.py +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/calls/all_calls.py +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/image_functions.py +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/images/circle.png +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/images/cube.png +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/images/diamond.png +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/images/overlapping_pentagons.png +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/images/rectangles.png +0 -0
- {cat_llm-0.0.69 → cat_llm-0.0.70}/src/catllm/model_reference_list.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.70
|
|
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
|
|
@@ -721,10 +721,9 @@ def multi_class(
|
|
|
721
721
|
#converting to numeric
|
|
722
722
|
cat_cols = [col for col in categorized_data.columns if col.startswith('category_')]
|
|
723
723
|
|
|
724
|
-
categorized_data['processing_status'] =
|
|
725
|
-
categorized_data[cat_cols].isna().all(axis=1)
|
|
726
|
-
'error',
|
|
727
|
-
'success'
|
|
724
|
+
categorized_data['processing_status'] = (
|
|
725
|
+
categorized_data[cat_cols].isna().all(axis=1)
|
|
726
|
+
.map({True: 'error', False: 'success'})
|
|
728
727
|
)
|
|
729
728
|
|
|
730
729
|
categorized_data.loc[categorized_data[cat_cols].apply(pd.to_numeric, errors='coerce').isna().any(axis=1), cat_cols] = np.nan
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|