Magneto Python library
Project description
Magneto
Magneto is an innovative framework designed to enhance schema matching (SM) by intelligently combining small, pre-trained language models (SLMs) with large language models (LLMs). Our approach is structured to be both cost-effective and broadly applicable.
Installation
You can install the latest stable version of Magneto from PyPI:
pip install magneto-python
Usage
After the installation, you can use the stand-alone version of Magneto like this:
from magneto import Magneto
import pandas as pd
source = pd.DataFrame({"column_1": ["a1", "b1", "c1"], "col_2": ["a2", "b2", "c2"]})
target = pd.DataFrame({"column_1a": ["a1", "b1", "c1"], "col2": ["a2", "b2", "c2"]})
mode = "header_values_verbose"
mag = Magneto(encoding_mode=mode)
matches = mag.get_matches(source, target)
print(matches)
See our GitHub repository for more examples.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file magneto_python-0.2.0.tar.gz.
File metadata
- Download URL: magneto_python-0.2.0.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
746049285b02ecb11d282823938307a317a9d0b3066db41c966a2cc0a2cfb7e2
|
|
| MD5 |
52c8a6a654f67900ff9d973ee8ad2d07
|
|
| BLAKE2b-256 |
6d8b214222cf368eb3d8d8a54e5b64ac939d31061bb2533f501fbee858dddcb0
|
File details
Details for the file magneto_python-0.2.0-py3-none-any.whl.
File metadata
- Download URL: magneto_python-0.2.0-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e26422ba2e706ccd98e153edee08524f3036a92bbcc6354f9c7f3cf18eb3e57
|
|
| MD5 |
38b1bd7ae18fcd291f2deb635e72ac2b
|
|
| BLAKE2b-256 |
702de05a07cfc609582a1cde9eece5948d79fd903e26a410dedefd2c93a975fa
|