ONNX Model Zoo

sauravsingla08/GRU-Sequence-Anomaly-Detector

By sauravsingla08 · ↓ 0 · ♥ 0 · Updated 2025-07-25

What's in this repo

This page lists the files in sauravsingla08/GRU-Sequence-Anomaly-Detector, including txn_anomaly_model.onnx.

  • 1 ONNX models (.onnx files)
  • 16 files, including 8 .py, 2 .md, 1 .onnx, 1 .pt, 1 .ipynb, 1 .txt
  • Last updated 2025-07-25

ONNX files

File Size Download
models/txn_anomaly_model.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

GRU Sequence Anomaly Detector

This project provides an open-source, bidirectional GRU-based deep learning model to detect anomalies in time-series transactional data. It is designed to be general-purpose and supports transfer learning.

📂 Project Structure

  • models/ – Contains the model architecture and trained weights
  • pipeline/ – Core training, evaluation, and export logic
  • utils/ – Logging and utility functions
  • notebooks/ – Example usage and exploration
  • tests/ – Unit and integration tests
  • main.py – Entry script to run training/evaluation
  • fine_tune_template.py – Script for model fine-tuning on external datasets
  • model_card.md – Model documentation and expected usage
  • requirements.txt – All required dependencies

📦 Pretrained Models

  • models/txn_anomaly_model.pt – PyTorch model file for fine-tuning or loading
  • models/txn_anomaly_model.onnx – ONNX model file for deployment in other runtimes

🚀 Quick Start

pip install -r requirements.txt
python main.py

To fine-tune:

python fine_tune_template.py --data your_dataset.csv

Model info

onnx region:us
↓ 0 ♥ 0

Created: 2025-07-25

Updated: 2025-07-25

View on Hugging Face

Files (16)

.gitattributes
.gitignore
README.md
fine_tune_template.py
main.py
model_card.md
models/model.py
models/txn_anomaly_model.onnx ONNX
models/txn_anomaly_model.pt
notebooks/demo.ipynb
notebooks/demo.py
pipeline/main.py
requirements.txt
tests/test_pipeline.py
txn_anomaly_pipeline.py
utils/logger.py

Related models