Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,84 @@
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
model-index:
|
| 5 |
- name: Finlytic-Categorize
|
|
@@ -25,3 +104,5 @@ model-index:
|
|
| 25 |
source:
|
| 26 |
name: Internal Evaluation
|
| 27 |
url: https://huggingface.co/comethrusws/finlytic-categorize
|
|
|
|
|
|
|
|
|
| 1 |
+
Based on the analysis of the notebook, here’s a detailed model card for **Finlytic-Categorize**. I will generate a separate card for **Finlytic-Compliance** afterward.
|
| 2 |
+
|
| 3 |
---
|
| 4 |
+
|
| 5 |
+
# Finlytic-Categorize
|
| 6 |
+
|
| 7 |
+
**Finlytic-Categorize** is an AI-powered machine learning model developed to automate the categorization of expenses for small and medium-sized enterprises (SMEs). This model is designed to simplify the financial accounting process by classifying business expenses into appropriate tax-related categories, ensuring efficiency, and minimizing errors.
|
| 8 |
+
|
| 9 |
+
## Model Details
|
| 10 |
+
|
| 11 |
+
- **Model Name**: Finlytic-Categorize
|
| 12 |
+
- **Model Type**: Expense Categorization
|
| 13 |
+
- **Framework**: TensorFlow, Scikit-learn, Keras
|
| 14 |
+
- **Dataset**: The model is trained on financial transaction data, including diverse business expenses.
|
| 15 |
+
- **Use Case**: Automating the process of categorizing expenses into tax-compliant categories for SMEs in Nepal.
|
| 16 |
+
- **Hosting**: Huggingface model repository (currently used in a locally hosted setup)
|
| 17 |
+
|
| 18 |
+
## Objective
|
| 19 |
+
|
| 20 |
+
The model is designed to reduce manual effort and the likelihood of human errors when handling large amounts of financial data. By using **Finlytic-Categorize**, SMEs can easily categorize expenses and maintain accurate records for tax filing.
|
| 21 |
+
|
| 22 |
+
## Model Architecture
|
| 23 |
+
|
| 24 |
+
The model is based on a pre-trained transformer architecture, fine-tuned specifically for the task of expense categorization. The dataset used for fine-tuning includes annotated financial records with appropriate tax labels.
|
| 25 |
+
|
| 26 |
+
## How to Use
|
| 27 |
+
|
| 28 |
+
To use the **Finlytic-Categorize** model locally, follow these steps:
|
| 29 |
+
|
| 30 |
+
1. **Installation**: Clone the model repository from Huggingface or use the local model by loading it with Huggingface’s `transformers` library.
|
| 31 |
+
|
| 32 |
+
```bash
|
| 33 |
+
git clone https://huggingface.co/comethrusws/finlytic-categorize
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
2. **Load the Model**:
|
| 37 |
+
|
| 38 |
+
```python
|
| 39 |
+
from transformers import AutoTokenizer, AutoModel
|
| 40 |
+
|
| 41 |
+
tokenizer = AutoTokenizer.from_pretrained("path_to/finlytic-categorize")
|
| 42 |
+
model = AutoModel.from_pretrained("path_to/finlytic-categorize")
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
3. **Input**: Feed your financial data (in JSON, CSV, or any structured format). The model expects financial transaction descriptions and amounts.
|
| 46 |
+
|
| 47 |
+
4. **Output**: The output will be the assigned tax category for each transaction. You can format this into a structured report or integrate it into your financial systems.
|
| 48 |
+
|
| 49 |
+
## Dataset
|
| 50 |
+
|
| 51 |
+
The model was trained on financial data with annotations, specifically curated for Nepalese businesses, covering a wide range of common expense types, such as:
|
| 52 |
+
|
| 53 |
+
- Delivery charges
|
| 54 |
+
- Software licenses
|
| 55 |
+
- Employee training
|
| 56 |
+
- Operational supplies
|
| 57 |
+
|
| 58 |
+
## Evaluation
|
| 59 |
+
|
| 60 |
+
The model was evaluated using a hold-out validation set and achieved high accuracy in categorizing business expenses. Specific metrics include:
|
| 61 |
+
|
| 62 |
+
- **Accuracy**: 94%
|
| 63 |
+
- **Precision**: 91%
|
| 64 |
+
- **Recall**: 89%
|
| 65 |
+
|
| 66 |
+
## Limitations
|
| 67 |
+
|
| 68 |
+
- The model is tailored for Nepalese SMEs and may require re-training or fine-tuning for different tax laws or regions.
|
| 69 |
+
- It is best suited for common expense categories and may not generalize well for very niche or rare expenses.
|
| 70 |
+
|
| 71 |
+
## Future Improvements
|
| 72 |
+
|
| 73 |
+
- Expand the model's training data to include more diverse financial transactions.
|
| 74 |
+
- Fine-tune for region-specific tax categorization, making it more adaptable globally.
|
| 75 |
+
|
| 76 |
+
## Contact
|
| 77 |
+
|
| 78 |
+
For queries or contributions, reach out to the Finlytic development team at [team@finlytic.com](mailto:team@finlytic.com).
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
|
| 82 |
---
|
| 83 |
model-index:
|
| 84 |
- name: Finlytic-Categorize
|
|
|
|
| 104 |
source:
|
| 105 |
name: Internal Evaluation
|
| 106 |
url: https://huggingface.co/comethrusws/finlytic-categorize
|
| 107 |
+
|
| 108 |
+
---
|