Transformers
Italian
English
semantic-search
explainable-ai
faiss
ai-ethics
responsible-ai
llm
prompt-engineering
multimodal-ai
ai-transparency
ethical-intelligence
explainable-llm
cognitive-ai
ethical-ai
scientific-retrieval
modular-ai
memory-augmented-llm
trustworthy-ai
reasoning-engine
ai-alignment
next-gen-llm
thinking-machines
open-source-ai
explainability
ai-research
semantic audit
cognitive agent
human-centered-ai
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,161 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MarCognity-AI
|
| 2 |
+
**The framework that teaches artificial intelligence how to think.**
|
| 3 |
+
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
## Table of Contents
|
| 7 |
+
|
| 8 |
+
- [What is MarCognity-AI](#what-is-marcognity-ai)
|
| 9 |
+
- [Origins](#origins)
|
| 10 |
+
- [Vision](#vision)
|
| 11 |
+
- [Why Use It](#why-use-it)
|
| 12 |
+
- [Core Capabilities](#core-capabilities)
|
| 13 |
+
- [Usage Examples](#usage-examples)
|
| 14 |
+
- [Cognitive Architecture](#cognitive-architecture)
|
| 15 |
+
- [Integrated AI Models](#integrated-ai-models)
|
| 16 |
+
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
## What is MarCognity-AI
|
| 20 |
+
|
| 21 |
+
MarCognity-AI is an open-source framework that transforms language models into **cognitive assistants**.
|
| 22 |
+
It doesn’t just generate responses — it **evaluates**, **improves**, **visualizes**, **remembers**, and **reflects ethically** on its outputs.
|
| 23 |
+
Its goal is to make the hidden processes behind AI-generated responses transparent.
|
| 24 |
+
|
| 25 |
+
Born from curiosity.
|
| 26 |
+
Grown through persistence.
|
| 27 |
+
Now ready to challenge how we think about artificial intelligence.
|
| 28 |
+
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
## Origins
|
| 32 |
+
|
| 33 |
+
During an LLM experiment done out of curiosity, a friend said:
|
| 34 |
+
> “If you improve it, it could be really useful.”
|
| 35 |
+
|
| 36 |
+
That sentence sparked something.
|
| 37 |
+
It became a personal challenge.
|
| 38 |
+
|
| 39 |
+
I dove into books, courses like an AI developer master’s, experiments, and lines of code.
|
| 40 |
+
With creativity, determination, and one goal: **never give up**.
|
| 41 |
+
|
| 42 |
+
MarCognity wasn’t born in a lab.
|
| 43 |
+
It was born from a curious, free, and determined mind.
|
| 44 |
+
|
| 45 |
+
---
|
| 46 |
+
|
| 47 |
+
## Vision
|
| 48 |
+
|
| 49 |
+
> An AI that generates, evaluates, visualizes — and learns from its own outputs.
|
| 50 |
+
|
| 51 |
+
- Multilevel academic prompting
|
| 52 |
+
- Metacognitive evaluation (semantic score + reflection)
|
| 53 |
+
- Scientific retrieval from open-access databases
|
| 54 |
+
- Conceptual diagrams and dynamic graphs
|
| 55 |
+
- FAISS semantic memory with self-improvement
|
| 56 |
+
- Ethical analysis and cognitive filtering
|
| 57 |
+
- Reflective cognitive journal
|
| 58 |
+
|
| 59 |
+
---
|
| 60 |
+
|
| 61 |
+
## Why Use It
|
| 62 |
+
|
| 63 |
+
### 1. Integrated Metacognitive Thinking
|
| 64 |
+
Each response is **evaluated**, **improved**, and **contextualized**.
|
| 65 |
+
MarCognity reflects on its output, analyzes coherence, and compares it with past responses.
|
| 66 |
+
|
| 67 |
+
### 2. Scientific Retrieval and Cognitive Visualization
|
| 68 |
+
It integrates open-access sources (arXiv, PubMed, Zenodo) and generates **conceptual diagrams**, **dynamic graphs**, and **interpretive curves** to make each response **visually understandable**.
|
| 69 |
+
|
| 70 |
+
### 3. Ethics and Responsibility at the Core
|
| 71 |
+
Each output undergoes an **ethical audit**: bias detection, risk analysis, and cognitive filtering.
|
| 72 |
+
MarCognity isn’t just intelligent. It’s **aware**.
|
| 73 |
+
|
| 74 |
+
### 4. Reflective Cognitive Journal
|
| 75 |
+
Each response is accompanied by a detailed **metacognitive reflection**, saved in Markdown for analysis and reuse.
|
| 76 |
+
|
| 77 |
+
---
|
| 78 |
+
|
| 79 |
+
## Core Capabilities
|
| 80 |
+
|
| 81 |
+
- Scientific generation powered by LLMs
|
| 82 |
+
- Retrieval and validation of sources (arXiv, PubMed, Zenodo, OpenAlex)
|
| 83 |
+
- Intelligent visualization (Plotly, NetworkX…)
|
| 84 |
+
- Responses adaptable to beginner / advanced / expert levels
|
| 85 |
+
- Automatic improvement of weak responses
|
| 86 |
+
- Version archiving in FAISS memory
|
| 87 |
+
- Ethical risk and linguistic bias analysis
|
| 88 |
+
- Reflective cognitive journal with Markdown export
|
| 89 |
+
|
| 90 |
+
---
|
| 91 |
+
|
| 92 |
+
## Usage Examples
|
| 93 |
+
|
| 94 |
+
### Scientific Question
|
| 95 |
+
**Input:** “Explain the role of chaperone proteins.”
|
| 96 |
+
**Output:** Response + sources + semantic score + conceptual diagram
|
| 97 |
+
|
| 98 |
+
### Ethical Dilemma
|
| 99 |
+
**Input:** “Is it right to use AI to decide criminal sentences?”
|
| 100 |
+
**Output:** Argumentation + ethical analysis + detected biases
|
| 101 |
+
|
| 102 |
+
### Multidisciplinary Question
|
| 103 |
+
**Input:** “Compare the view of consciousness in philosophy and neuroscience.”
|
| 104 |
+
**Output:** Structured response + sources + cognitive visualization + reflective journal
|
| 105 |
+
|
| 106 |
+
---
|
| 107 |
+
|
| 108 |
+
## Try It Now
|
| 109 |
+
### Quick Demo
|
| 110 |
+
|
| 111 |
+
Want to see how MarCognity-AI works?
|
| 112 |
+
|
| 113 |
+
Check out the file `marcognity_demo.ipynb`
|
| 114 |
+
It’s not interactive, but it’s readable and self-explanatory. A concrete example of how the system works.
|
| 115 |
+
It shows step-by-step how the agent generates, evaluates, and reflects on a response.
|
| 116 |
+
|
| 117 |
+
[Meta LLaMA 4 Community License](https://ai.meta.com/llama/license)
|
| 118 |
+
[](https://www.apache.org/licenses/LICENSE-2.0)
|
| 119 |
+

|
| 120 |
+
[](Contributing.md)
|
| 121 |
+
|
| 122 |
+
---
|
| 123 |
+
|
| 124 |
+
## Integrated AI Models
|
| 125 |
+
|
| 126 |
+
| Integrated Models | License | Main Restrictions |
|
| 127 |
+
|--------------------------------------------------------------|--------------------------------------|----------------------------------------------------------------------|
|
| 128 |
+
| meta-llama/llama-4-maverick-17b-128e-instruct | LLaMA 4 Community License (Meta) | Research and application use allowed; must comply with Meta’s AUP |
|
| 129 |
+
| allenai/specter | Apache 2.0 | Free for commercial use with attribution |
|
| 130 |
+
| ktrapeznikov/scibert_scivocab_uncased_squad_v2 | Apache 2.0 | Free for commercial use with attribution |
|
| 131 |
+
| Helsinki-NLP (OPUS-MT models on HuggingFace) | CC-BY-4.0 | Free use with mandatory citation |
|
| 132 |
+
| RandomForest Model | None (classic algorithm) | No license restrictions; depends on data used |
|
| 133 |
+
| CrossEncoder (DeBERTa-based) | Varies (often MIT or Apache 2.0) | Free use if open license is respected |
|
| 134 |
+
|
| 135 |
+
---
|
| 136 |
+
|
| 137 |
+
## Cognitive Architecture
|
| 138 |
+
|
| 139 |
+
| Module | Function |
|
| 140 |
+
|----------------------------|-----------------------------------------------------------|
|
| 141 |
+
| Problem Classification | Automatic recognition of input type |
|
| 142 |
+
| Academic Prompting | Structuring complex multidisciplinary queries |
|
| 143 |
+
| Scientific Retrieval | Asynchronous querying of multiple open-access sources |
|
| 144 |
+
| Semantic Evaluation | Response analysis with logical scoring |
|
| 145 |
+
| FAISS Memory | Archiving and comparison with past responses |
|
| 146 |
+
| Cognitive Visualization | Uses HuggingFace’s transformers library and selected models for scientific content processing, ethical analysis, and cognitive representation |
|
| 147 |
+
|
| 148 |
+
---
|
| 149 |
+
|
| 150 |
+
## How to Contribute
|
| 151 |
+
|
| 152 |
+
Got ideas, suggestions, or want to improve a feature?
|
| 153 |
+
|
| 154 |
+
1. Fork the repository
|
| 155 |
+
2. Create a branch (`git checkout -b improvement`)
|
| 156 |
+
3. Modify `.py` or `.ipynb` files
|
| 157 |
+
4. Open a pull request with a clear description
|
| 158 |
+
|
| 159 |
+
See the [CONTRIBUTING.md](Contributing.md) file for contribution guidelines.
|
| 160 |
+
|
| 161 |
+
This project is released under the Apache 2.0
|