Python commonsense-reasoning

Open-source Python projects categorized as commonsense-reasoning

Top 4 Python commonsense-reasoning Projects

  • qagnn

    [NAACL 2021] QAGNN: Question Answering using Language Models and Knowledge Graphs 🤖

  • pal

    PaL: Program-Aided Language Models (ICML 2023) (by reasoning-machines)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • prompt-lib

    A set of utilities for running few-shot prompting experiments on large-language models

  • knowledge-rumination

    [EMNLP 2023] Knowledge Rumination for Pre-trained Language Models

  • Project mention: Knowledge Rumination for Pre-trained Language Models | /r/BotNewsPreprints | 2023-05-16

    Previous studies have revealed that vanilla pre-trained language models (PLMs) lack the capacity to handle knowledge-intensive NLP tasks alone; thus, several works have attempted to integrate external knowledge into PLMs. However, despite the promising outcome, we empirically observe that PLMs may have already encoded rich knowledge in their pre-trained parameters but fails to fully utilize them when applying to knowledge-intensive tasks. In this paper, we propose a new paradigm dubbed Knowledge Rumination to help the pre-trained language model utilize those related latent knowledge without retrieving them from the external corpus. By simply adding a prompt like ``As far as I know'' to the PLMs, we try to review related latent knowledge and inject them back to the model for knowledge consolidation. We apply the proposed knowledge rumination to various language models, including RoBERTa, DeBERTa, GPT-3 and OPT. Experimental results on six commonsense reasoning tasks and GLUE benchmarks demonstrate the effectiveness of our proposed approach, which further proves that the knowledge stored in PLMs can be better exploited to enhance the downstream performance. Code will be available in https://github.com/zjunlp/knowledge-rumination.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python commonsense-reasoning related posts

Index

What are some of the best open-source commonsense-reasoning projects in Python? This list will help you:

Project Stars
1 qagnn 588
2 pal 436
3 prompt-lib 98
4 knowledge-rumination 16

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com