Edit model card

The ONLY Model that can take 10 000 records of table

All of "Table Question Answering" can take only <100 records.

This the only New model that can take: 100... up to 20 000 !!! records

Remarkable speed in generating human-readable queries.

The system can handle such complex Queries to table as:

java with rating above 4.7 and review num > 5k

Queries can contain:

  • Words and phrases - semantic AI LLM Search

    want to see adventure movies about space

  • Numbers - prices, count, ratings filtering

    all bananas with price < $2

  • Geo Locations - cities, countries, addresses

    give me all Chinese restaurants near Boston

  • Dates - filter by date before and after

    show me all AI event after Apr-2023

Web UI Example: Share My List. Huggingface Space example: Question Your Table no limit.

Model Details

Model Description

  • Developed by: Ivan
  • Funded by: Thanks to our sponsors, you can use it for Free.
  • Model type: Table Question Answering

Uses

Below are examples of uploading CSV files into the model and Answering your questions.

  1. Upload file_name.csv to the API.
  2. Start Queryin the file_name.csv .

UPLOAD your CSV

Example of Function to upload the CSV file_path:

def upload_file(file_path):
    try:
        api_url = "https://www.share-my-list.com/upload_647ngiuon550e840e29b41d4637644665544asdf00.html"
        # Open the file in binary mode
        with open(file_path, 'r') as file:
            # Use requests.post to send a POST request with the file
            response = requests.post(api_url, files={'file': file})

            # Check if the request was successful
            if response.status_code == 200:
                print("File uploaded successfully!")
            else:
                print("Failed to upload file. Status code:", response.status_code)
            return response
    except requests.RequestException as e:
        print("Error: uploading file." + e)
    return None

How to use in your test:

    # Pay attention your_file_name.csv is used for querying the data, not a full path
    file_name = "your_file_name.csv"
    path_to_file = "./path/to/your/file/" + file_name
    upload_response = upload_file(path_to_file)
    print("Response code: " + upload_response.status_code)

Start Question Answer your TABLE

Example of Function to Question Answer your table uploaded above:

def query_uploaded_table(file_name, query):
    try:
        url = "https://www.share-my-list.com/all_query_company_ds35647ngiuon550e840e29b41d46376446655440000.html"
        post_data = {"query_param": query, "db_name": file_name}
        response = requests.post(url, data=post_data)
        # Check if the request was successful (status code 200)
        if response.status_code == 200:
            print("Data read successfully!")
            return response.json()
        else:
            print("Error: reading data.")
    except requests.RequestException as e:
        print("Error: reading data." + e)
    return None

Example of usage:

    file_name = "your_file_name.csv"
    query = "all rings with price < 10"
    query_response = query_uploaded_table(file_name, query)
    print(query_response)

Direct Use

Testing "Table Question Answering" at any size for:

  • your services or products price list
  • events calendars Semantic Search
  • your best places, restaurants, courses - share with your friends

https://www.share-my-list.com/

Bias, Risks, and Limitations

By accessing and using this website, you acknowledge and agree to the following terms and conditions:

Use at Your Own Risk: All content, information, and materials provided on this website are for general informational purposes only. We make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability, or availability with respect to the website or the information, products, services, or related graphics contained on the website for any purpose. Any reliance you place on such information is therefore strictly at your own risk.

Forbidden Activities: Users are strictly prohibited from engaging in any criminal activities while using this website. This includes but is not limited to hacking, unauthorized access, distribution of malware, phishing, fraud, or any other illegal activity. Any such activity will result in immediate termination of access and may be reported to the appropriate authorities.

Age Requirement: Users must be aged 18 years or older to access and use this website. By accessing and using this website, you confirm that you are at least 18 years of age or older. We do not knowingly collect personal information from individuals under the age of 18.

No Liability: In no event will we be liable for any loss or damage including without limitation, indirect or consequential loss or damage, or any loss or damage whatsoever arising from loss of data or profits arising out of, or in connection with, the use of this website.

Third-Party Links: This website may contain links to third-party websites or resources. These links are provided solely for your convenience and do not signify our endorsement of such websites or resources. We have no control over the content, privacy policies, or practices of these websites and shall not be responsible for any content, advertising, products, or other materials on or available from such websites or resources.

Changes to Terms: We reserve the right to modify these terms and conditions at any time without prior notice. By continuing to use this website after any changes are made, you agree to be bound by the revised terms and conditions.

By using this website, you agree to abide by these terms and conditions. If you do not agree to these terms, please refrain from using our website.

Downloads last month
0
Inference API
Unable to determine this model's library. Check the docs .