Skip to main content

Turning free form text into structured tables

Project description

Trallie - Transfer Learning for Information Extraction

Image description

Apache 2.0 License LinkedIn Stars Python 3.10 Open In Colab

Trallie (“Transfer learning for information extraction”) boosts Information Extraction (IE) for search among textual asset descriptions by doing away with costly human annotation, instead leveraging LLM capabilities to follow NL guidelines, understand labels, and manipulate NL like it does for code.

Problem: Natural language descriptions of assets and resources are here to stay, both as legacy or as flexible catch-alls. Clustering and categorizing them to run structured search queries traditionally requires information extraction (IE), with some partial solutions offered by RAG and dense embedding matching. This often is bottlenecked by costly human annotation, if only to provide few-shot examples of categories.

Ambition: Trallie brings transfer learning and world understanding afforded by LLM to make information extraction agile. We deliver multilingual, IE-fine-tuned checkpoints of various open model architectures; and for reproducibility, our full fine-tuning recipe including prompt templates.

Impact: Transfer learning and natural language input imply impact on legacy and low-resource scenarios, improving discoverability of hidden asset collections, plurality of sources through easier access to search tools, improved trust and privacy.

Team: At Pi School, our experience of rapid prototyping in AI, acquired over >100 AI projects, gives us an advantage in exploiting the rapidly moving SOTA.

Getting Started

  1. Install the "trallie" package.
pip install trallie
  1. Run the demo script from the repository.
python main_pipeline.py
  1. Alternatively, you can use the Demo Notebook on Google Colab.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trallie-0.1.4.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trallie-0.1.4-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

Details for the file trallie-0.1.4.tar.gz.

File metadata

  • Download URL: trallie-0.1.4.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for trallie-0.1.4.tar.gz
Algorithm Hash digest
SHA256 95e7e1e4b1dc6498e13006d47583b0bbc0fa8dcbb2167b062571952386219d5a
MD5 1b29e613f98f1ba6c313d2c3300f93d2
BLAKE2b-256 77f9604936c35eb3eb97ef835e6bcd51a9b4650fa369e24fa6d9729bc818212a

See more details on using hashes here.

File details

Details for the file trallie-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: trallie-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 39.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for trallie-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 106358bda9ad8b1f4008a37ce073e9ebfbcebd3fc953e7cd727edf77776cfc6f
MD5 03e79aaea7a57cb7e27e17eddecc219d
BLAKE2b-256 9925d117a33c8d71e605a6691304281a9e20e264599c5a2a47b1edcc398a1ae9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page