Skip to content

Conversation

@aamanlamba
Copy link
Owner

This commit adds a reverse model that extracts structured metadata
from natural language payment descriptions, opposite to the original
model which generates natural language from structured data.

New files:

  • generate_reverse_dataset.py: Creates reverse training dataset
  • finetune_phi3_reverse.py: Fine-tuning script for reverse model
  • test_reverse_model.py: Testing and inference script
  • README_REVERSE.md: Comprehensive documentation
  • reverse_payments_dataset/: Generated training data (500 examples)

The reverse model enables:

  • Parsing user payment descriptions into structured formats
  • Building conversational payment interfaces
  • Extracting payment data from emails/notifications
  • Converting natural language to API-ready formats

Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

aamanlamba and others added 4 commits October 28, 2025 22:51
This commit adds a reverse model that extracts structured metadata
from natural language payment descriptions, opposite to the original
model which generates natural language from structured data.

New files:
- generate_reverse_dataset.py: Creates reverse training dataset
- finetune_phi3_reverse.py: Fine-tuning script for reverse model
- test_reverse_model.py: Testing and inference script
- README_REVERSE.md: Comprehensive documentation
- reverse_payments_dataset/: Generated training data (500 examples)

The reverse model enables:
- Parsing user payment descriptions into structured formats
- Building conversational payment interfaces
- Extracting payment data from emails/notifications
- Converting natural language to API-ready formats

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Updates:
- Enhanced README.md with dual-model information
- Added ABOUT.md with repository description and stats
- Documented branch structure and model differences
- Added repository topics for discoverability

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Updates to README_REVERSE.md:
- Complete restructure with clear Quick Start guide
- Added real-world examples and use cases
- Detailed integration code with FastAPI example
- Parsing utilities for structured output
- Troubleshooting specific to reverse model
- Dataset customization examples
- Performance benchmarks and cross-references
- Clear file naming (generate_reverse_dataset.py, etc.)
- Branch navigation instructions

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant