Downloads · 30 days
17
7% of all-time downloads
finlytic/finlytic-categorize
finlytic-categorize is a machine learning model from finlytic. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
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 accounti…
Downloads · 30 days
17
7% of all-time downloads
All-time downloads
241
Public
Parameters
124M
498 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors498 MB · 100%
From the Hugging Face model README
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.
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.
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.
To use the Finlytic-Categorize model locally, follow these steps:
Installation: Clone the model repository from Hugging Face or use the local model by loading it with Hugging Face’s transformers library.
git clone https://huggingface.co/comethrusws/finlytic-categorize
Load the Model:
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("comethrusws/finlytic-categorize")
model = AutoModel.from_pretrained("comethrusws/finlytic-categorize")
Input: Feed your financial data (in JSON, CSV, or any structured format). The model expects financial transaction descriptions and amounts.
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.
You can also use the Finlytic-Categorize model via the Hugging Face Inference API.
import requests
API_URL = "https://api-inference.huggingface.co/models/comethrusws/finlytic-categorize"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
data = {
"inputs": "Categorize this expense: 'Software purchase, $200.'"
}
response = requests.post(API_URL, headers=headers, json=data)
print(response.json())
Replace YOUR_API_KEY with your Hugging Face API key.
The model was trained on financial data with annotations, specifically curated for Nepalese businesses, covering a wide range of common expense types, such as:
The model was evaluated using a hold-out validation set and achieved high accuracy in categorizing business expenses. Specific metrics include:
For queries or contributions, reach out to the Finlytic development team at [email protected].
This version updates the framework section to `Transformers (PyTorch), GPT-2` and includes a working example of how to use the inference API. You can now copy and paste this into your `README.md` file on Hugging Face.
Let me know if you need any further tweaks!