Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: en
|
3 |
+
license: mit
|
4 |
+
tags:
|
5 |
+
- expense-categorization
|
6 |
+
- financial-transactions
|
7 |
+
- machine-learning
|
8 |
+
- tax-compliance
|
9 |
+
model-index:
|
10 |
+
- name: Finlytic-Categorize
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
type: expense-categorization
|
14 |
+
dataset:
|
15 |
+
name: finlytic-financial-data
|
16 |
+
type: financial-transactions
|
17 |
+
metrics:
|
18 |
+
- name: Accuracy
|
19 |
+
type: accuracy
|
20 |
+
value: 94
|
21 |
+
- name: Precision
|
22 |
+
type: precision
|
23 |
+
value: 91
|
24 |
+
- name: Recall
|
25 |
+
type: recall
|
26 |
+
value: 89
|
27 |
+
- name: F1-Score
|
28 |
+
type: f1
|
29 |
+
value: 90
|
30 |
+
source:
|
31 |
+
name: Internal Evaluation
|
32 |
+
url: https://huggingface.co/comethrusws/finlytic-categorize
|
33 |
+
base_model: openai-community/gpt2
|
34 |
+
base_model:
|
35 |
+
- openai-community/gpt2
|
36 |
+
---
|
37 |
+
|
38 |
+
# Finlytic-Categorize
|
39 |
+
|
40 |
+
**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.
|
41 |
+
|
42 |
+
## Model Details
|
43 |
+
|
44 |
+
- **Model Name**: Finlytic-Categorize
|
45 |
+
- **Model Type**: Expense Categorization
|
46 |
+
- **Framework**: TensorFlow, Scikit-learn, Keras
|
47 |
+
- **Dataset**: The model is trained on financial transaction data, including diverse business expenses.
|
48 |
+
- **Use Case**: Automating the process of categorizing expenses into tax-compliant categories for SMEs in Nepal.
|
49 |
+
- **Hosting**: Huggingface model repository (currently used in a locally hosted setup)
|
50 |
+
|
51 |
+
## Objective
|
52 |
+
|
53 |
+
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.
|
54 |
+
|
55 |
+
## Model Architecture
|
56 |
+
|
57 |
+
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.
|
58 |
+
|
59 |
+
## How to Use
|
60 |
+
|
61 |
+
To use the **Finlytic-Categorize** model locally, follow these steps:
|
62 |
+
|
63 |
+
1. **Installation**: Clone the model repository from Huggingface or use the local model by loading it with Huggingface’s `transformers` library.
|
64 |
+
|
65 |
+
```bash
|
66 |
+
git clone https://huggingface.co/comethrusws/finlytic-categorize
|
67 |
+
```
|
68 |
+
|
69 |
+
2. **Load the Model**:
|
70 |
+
|
71 |
+
```python
|
72 |
+
from transformers import AutoTokenizer, AutoModel
|
73 |
+
|
74 |
+
tokenizer = AutoTokenizer.from_pretrained("path_to/finlytic-categorize")
|
75 |
+
model = AutoModel.from_pretrained("path_to/finlytic-categorize")
|
76 |
+
```
|
77 |
+
|
78 |
+
3. **Input**: Feed your financial data (in JSON, CSV, or any structured format). The model expects financial transaction descriptions and amounts.
|
79 |
+
|
80 |
+
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.
|
81 |
+
|
82 |
+
## Dataset
|
83 |
+
|
84 |
+
The model was trained on financial data with annotations, specifically curated for Nepalese businesses, covering a wide range of common expense types, such as:
|
85 |
+
|
86 |
+
- Delivery charges
|
87 |
+
- Software licenses
|
88 |
+
- Employee training
|
89 |
+
- Operational supplies
|
90 |
+
|
91 |
+
## Evaluation
|
92 |
+
|
93 |
+
The model was evaluated using a hold-out validation set and achieved high accuracy in categorizing business expenses. Specific metrics include:
|
94 |
+
|
95 |
+
- **Accuracy**: 94%
|
96 |
+
- **Precision**: 91%
|
97 |
+
- **Recall**: 89%
|
98 |
+
|
99 |
+
## Limitations
|
100 |
+
|
101 |
+
- The model is tailored for Nepalese SMEs and may require re-training or fine-tuning for different tax laws or regions.
|
102 |
+
- It is best suited for common expense categories and may not generalize well for very niche or rare expenses.
|
103 |
+
|
104 |
+
## Future Improvements
|
105 |
+
|
106 |
+
- Expand the model's training data to include more diverse financial transactions.
|
107 |
+
- Fine-tune for region-specific tax categorization, making it more adaptable globally.
|
108 |
+
|
109 |
+
## Contact
|
110 |
+
|
111 |
+
For queries or contributions, reach out to the Finlytic development team at [[email protected])](mailto:[email protected]).
|