Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1 |
-
#
|
2 |
|
3 |
-
Our code: https://github.com/brillm05/BriLLM0.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# BriLLM: Brain-inspired Large Language Model
|
2 |
|
3 |
+
Our code: https://github.com/brillm05/BriLLM0.5
|
4 |
+
|
5 |
+
## Overview
|
6 |
+
This work introduces the first brain-inspired large language model (BriLLM). This is a non-Transformer, non-GPT, non-traditional machine learning input-output controlled generative language model. The model is based on the Signal Fully-connected flowing (SiFu) definition on the directed graph in terms of the neural network, and has the interpretability of all nodes on the graph of the whole model, instead of the traditional machine learning model that only has limited interpretability at the input and output ends.
|
7 |
+
|
8 |
+

|
9 |
+
As shown in Figure 1, SiFu model is a graph composed of multiple nodes, which are sparsely activated and utilize tensors to transmit a nominal signal.
|
10 |
+
Each node (ideally, a layer of neurons) represents a certain concept or word, e.g., a noun, a verb, etc.
|
11 |
+
Each edge models the relationship between every node pair.
|
12 |
+
The signal is transmitted by the magnitude of the energy. The energy will be strengthened, i.e., maximized, if it is in the right route. Or, at least, the right path always keeps the maximal energy for the transmitted signal.
|
13 |
+
Each node is sequentially activated in terms of the maximized energy.
|
14 |
+
Route or path is determined in a competitive way, i.e., the next node will be activated only if the energy can be maximally delivered in this node.
|
15 |
+
|
16 |
+
|
17 |
+

|
18 |
+
As shown in Figure 2, BriLLM implements SiFu neural network for language modeling.
|
19 |
+
Each token in the vocabulary is modeled as a node, which is defined by a hidden layer of neurons in the neural network.
|