traversaal


Nametraversaal JSON
Version 0.6982 PyPI version JSON
download
home_pagehttps://github.com/hamzafarooq
SummaryA semantic search package for hotel data
upload_time2023-06-02 06:29:39
maintainer
docs_urlNone
authorTraversaal
requires_python>=3.6.0
licenseApache License 2.0
keywords transformer networks bert xlnet sentence embedding pytorch nlp deep learning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Traversaal

Traversaal is a Python package that provides a simple semantic search functionality for hotel data. It leverages large language models such as mpnet to encode hotel descriptions and reviews, allowing users to perform semantic search queries and retrieve relevant results based on the provided search query.

## Features

- Efficient semantic search for hotel data based on descriptions and reviews.
- Utilizes state-of-the-art language models to encode and compare text embeddings.
- Returns relevant search results with corresponding scores for ranking.
- Supports GPU acceleration for faster encoding and search performance.
- Utilizes distributed computing to increase speed in embedding creation

## Installation

You can install Traversaal using pip:

```bash
pip install traversaal

import pandas as pd
import traversaal


search = traversaal.SemanticSearch()

df = pd.read_csv('hotels.csv')
encoded_data = search.encode_data(df)
query = 'great location and service'

relevant_results = search.search(encoded_data, query)

print("\nRelevant Results:")
print(relevant_results.head())


For more detailed usage examples and API documentation, please refer to the GitHub repository.

Contributing
Contributions to Traversaal are welcome! If you encounter any issues, have suggestions, or would like to contribute enhancements or new features, please feel free to submit a pull request on the GitHub repository.

License
Traversaal is licensed under the MIT License. See the LICENSE file for more details.


```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hamzafarooq",
    "name": "traversaal",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6.0",
    "maintainer_email": "",
    "keywords": "Transformer Networks BERT XLNet sentence embedding PyTorch NLP deep learning",
    "author": "Traversaal",
    "author_email": "hello@traversaal.com",
    "download_url": "",
    "platform": null,
    "description": "## Traversaal\n\nTraversaal is a Python package that provides a simple semantic search functionality for hotel data. It leverages large language models such as mpnet to encode hotel descriptions and reviews, allowing users to perform semantic search queries and retrieve relevant results based on the provided search query.\n\n## Features\n\n- Efficient semantic search for hotel data based on descriptions and reviews.\n- Utilizes state-of-the-art language models to encode and compare text embeddings.\n- Returns relevant search results with corresponding scores for ranking.\n- Supports GPU acceleration for faster encoding and search performance.\n- Utilizes distributed computing to increase speed in embedding creation\n\n## Installation\n\nYou can install Traversaal using pip:\n\n```bash\npip install traversaal\n\nimport pandas as pd\nimport traversaal\n\n\nsearch = traversaal.SemanticSearch()\n\ndf = pd.read_csv('hotels.csv')\nencoded_data = search.encode_data(df)\nquery = 'great location and service'\n\nrelevant_results = search.search(encoded_data, query)\n\nprint(\"\\nRelevant Results:\")\nprint(relevant_results.head())\n\n\nFor more detailed usage examples and API documentation, please refer to the GitHub repository.\n\nContributing\nContributions to Traversaal are welcome! If you encounter any issues, have suggestions, or would like to contribute enhancements or new features, please feel free to submit a pull request on the GitHub repository.\n\nLicense\nTraversaal is licensed under the MIT License. See the LICENSE file for more details.\n\n\n```\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "A semantic search package for hotel data",
    "version": "0.6982",
    "project_urls": {
        "Homepage": "https://github.com/hamzafarooq"
    },
    "split_keywords": [
        "transformer",
        "networks",
        "bert",
        "xlnet",
        "sentence",
        "embedding",
        "pytorch",
        "nlp",
        "deep",
        "learning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "586b0de3c2aee992a396f70953da7159bf2ba726eb61e4ca9b89a2d85169d737",
                "md5": "e176041f9540c5c2f4584649444743b7",
                "sha256": "572573f1fc05b3f8532768945914b7d85f2fb8604ce536163abc33f7ed29a5bb"
            },
            "downloads": -1,
            "filename": "traversaal-0.6982-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e176041f9540c5c2f4584649444743b7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6.0",
            "size": 4898,
            "upload_time": "2023-06-02T06:29:39",
            "upload_time_iso_8601": "2023-06-02T06:29:39.099560Z",
            "url": "https://files.pythonhosted.org/packages/58/6b/0de3c2aee992a396f70953da7159bf2ba726eb61e4ca9b89a2d85169d737/traversaal-0.6982-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-02 06:29:39",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "traversaal"
}
        
Elapsed time: 0.07389s