Skip to content

Commit

Permalink
beatiful article on relevance machine
Browse files Browse the repository at this point in the history
and significantly more
  • Loading branch information
mastercyb committed Aug 3, 2024
1 parent d998238 commit 6d61ba4
Show file tree
Hide file tree
Showing 31 changed files with 293 additions and 46 deletions.
1 change: 1 addition & 0 deletions journals/2024_08_03.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- article on [[relevance machine]]
2 changes: 1 addition & 1 deletion logseq/config.edn
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
;; :journal? false} ; Default value: false

;; Favorites to list on the left sidebar
:favorites ["cyber" "superintelligence" "concepts" "bostrom" "neuron" "particle" "cyberlink" "tokens" "cybergraph" "cyberank" "cybernet" "soft3" "aicosystem" "projects" "products" "todo" "pages" "aips" "cyb"]
:favorites ["cyber" "superintelligence" "concepts" "bostrom" "neuron" "particle" "cyberlink" "tokens" "cybergraph" "relevance machine" "cybernet" "soft3" "aicosystem" "projects" "products" "todo" "pages" "aips" "cyb"]

;; Set flashcards interval.
;; Expected value:
Expand Down
6 changes: 6 additions & 0 deletions pages/adjust price period.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tags:: param

- amount of blocks that form period of [[bandwidth price]] recalculation adapting to [[current load]]
- type: uint64
- example: 5
-
6 changes: 6 additions & 0 deletions pages/attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
alias:: cyber/attacks

- malicious method of behavior
- known methods of cyber attacks
- {{query (page-tags [[attack]])}}
query-properties:: [:page]
2 changes: 1 addition & 1 deletion pages/bandwidth price.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- it's a multiplier for default bandwidth price
- as 1 [[$V]] allows creating 1 cyberlink[[]] per given period
- as 1 [[$V]] allows creating 1 [[cyberlink]] per given period
- if the price is lower than 1, the network will consume less of [[bandwidth]]
- allowing [[neurons]] to generate more [[cyberlinks]]
4 changes: 4 additions & 0 deletions pages/bandwidth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- amount of input [[information]] processed by [[vimputer]]
- measured in [[bits]]
- in [[bostrom]] [[cyber/bandwidth]] module allow to charge [[cyberlinks]] differently
- [[neuron bandwidth]] defines how much personal bandwidth can [[neuron]] order
8 changes: 8 additions & 0 deletions pages/base price.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tags:: param

- multiplier for bandwidth billing
- [[bandwidth]] discount for moments of low activity of [[neurons]]
- if load rise more than value of base price
- than current price will be applied
- type: sdk.Dec
- example: 0.25
5 changes: 5 additions & 0 deletions pages/black magic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- set of algorithms computed on [[gpu]] in [[consensus]] over [[cybergraph]] by [[rm]]
- TODO [[attention]] and [[will]] as learning tokens for [[collective ai]]
- [[cyberank]]: probability measure of [[particles]] observation
- TODO [[karma]]: contribution [[score]] of [[neuron]]
- TODO [[syntropy]] as key metabolic factor of [[superintelligence]]
10 changes: 10 additions & 0 deletions pages/block bandwidth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
tags:: state

- key: `0x02 | sdk.Uint64ToBigEndian(blockNumber) -> sdk.Uint64ToBigEndian(value)`
- storing used bandwidth for each block
- used for calculation of load using sum of used bandwidth in blocks
- at recovery period window
- used for reverting transactions with cyberlinks if rise more than [[max block bandwidth]]
- ```
sdk.Uint64ToBigEndian(value) // where value is amount of bandwidth used by all neurons in given block
```
24 changes: 12 additions & 12 deletions pages/bostrom.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,23 @@ tags:: aos, cyber
- [[bootloader]] of [[cyber]]
- and [[moon]] network state
- named after [[nick bostrom]]
- secure [[proof of stake]] [[bostrom/consensus]]
- fair [[bostrom/genesis]] distribution of [[$BOOT]]
- [[proof of stake]]
- [[double sign protection]]
- [[uptime slashing]]
- [[delegation rewards]]
- [[adaptive inflation]]
- [[.moon names]]
- [[cybergraph]]
- [[will]] [[minting]]
- [[bandwidth limiting]]
- [[adaptive pricing]]
- [[avatar]] with [[neural proofs]]
- [[relevance machine]]
- [[energy minting]]
- [[energy routing]]
- [[karma]]
- [[syntropy]]
- [[avatar]] with [[features]]
- [[.moon names]]
- [[semantic neural proofs]]
- [[soul]]
- [[moon citizenship]]
- and 20 more [[features]]
- TODO [[learning incentives]]
- [[staking loans]]
- [[cybergift]]
Expand All @@ -25,11 +30,6 @@ tags:: aos, cyber
- [[autonomous progs]]
- [[ibc]]
- [[warp]]
- [[relevance machine]]
- [[energy minting]]
- [[energy routing]]
- [[karma]]
- [[syntropy]]
- [[basic governance]]
- [[collective funding]]
- [[binary surveys]]
Expand Down
4 changes: 4 additions & 0 deletions pages/bostrom___consensus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- [[double sign protection]]
- [[uptime slashing]]
- [[delegation rewards]]
- [[adaptive inflation]]
93 changes: 72 additions & 21 deletions pages/cyber___bandwidth.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,87 @@ tags:: module
- dynamically adjust [[bandwidth price]] to [[network load]]
- [[neurons]] use bandwidth to add [[cyberlinks]] to the network
- and never pay [[gas fees]] for [[cyberlinks]]
- personal bandwidth
- the [[$V]] stake of the given [[neuron]] are easy to understand as the size of his battery
- the creation of [[cyberlinks]] will consume battery charge
- and the battery will be fully recharged during [[recovery period]]
- if a neuron consumes half of its bandwidth
- its battery will be fully charged in the [[recovery period]] divided by 2
- if a [[neuron]] act when network bandwidth consumption is low
- then she will consume less personal bandwidth
- [[personal bandwidth]] tracks [[neuron]] ability to [[create cyberlinks]]
- protects [[cybergraph]] from [[sybil attacks]]
- accounting of bandwidth
- internally 1 [[$V]] represents 1000 [[millivolts]], and 1 [[cyberlink]] cost is 1000 [[bandwidth units]]
- [[neurons]] holdings of 5 Volts means 5000 personal bandwidth units
- internally 1 [[$V]] represents 1000 [[millivolts]]
- and 1 [[cyberlink]] cost is 1000 [[bandwidth units]]
- [[neurons]] holdings of 5 [[$V]]
- means 5000 [[neuron bandwidth]] units
- when the current load is less than base price amount, e.g 0.25
- then the network will make the discount for bandwidth bill up to 4x
- allowing neurons to create 4x more cyberlinks, or 20 [[cyberlinks]] in such case
- transaction's mempool
- for transactions that consist of cyberlinks, a fee check will not apply
- allowing neurons to create 4x more [[cyberlinks]], or 20 [[cyberlinks]] in such case
- [[transactions]] [[mempool]]
- for transactions that consist of [[cyberlinks]], a fee check will not apply
- but correct required gas amount should be provided
- network capacity
- total amount of minted [[$V]]
- represents the demand of [[bandwidth]] from [[neurons]]
- validators need to keep tracking investments in [[$V]] resources
- to provide great service at scale to dynamically adjust available peek load
- community can adjust gas [[max gas]] consumable at block
- [[state]]
- [[ModuleName]], [[StoreKey]], [[QuerierRoute]]: `bandwidth`
- [[neuron bandwidth]]
- [[last bandwidth price]]
- [[block bandwidth]]
- [[desirable bandwidth]]
- [[state transition function]]
- bandwidth module doesn't have own messages that trigger state transition
- state transition is happen in such cases
- [[ante handler]]: processing of transaction with cyberlinks messages in transaction middleware
- calculate total bandwidth amount for all cyberlinks messages in transaction using current price and consume [[neuron bandwidth]]
- add consumed bandwidth to block bandwidth (in-memory)
- [[cyber/graph]] module: processing of cyberlink message created by vm contract
- calculate bandwidth for message using current price and consume neuron's bandwidth
- add consumed bandwidth to block bandwidth (in-memory)
- note: billing happens in the graph module for contracts because contracts creates messages not grouped into transactions (ante handler are not processing them)
- [[end blocker]]: transfers of [[$V]]
- update account's bandwidth for an account with changed stake collected by
- ```CollectAddressesWithStakeChange``` hook (e.g transfer of investmint).
- note: minting of new [[$V]] using investming will trigger the account's bandwidth update with an increased max bandwidth value
- [[end blocker]]: save consumed bandwidth by block
- save the total amount (sum aggregated in-memory before) of consumed bandwidth by all neurons on a given block (to storage & in-memory).
- remove value for a block that is out of [[recovery window]] block period and not perform in [[bandwidth load]] calculation (to storage & in-memory).
- [[end blocker]]: adjust bandwidth price
- if block height number's remainder of division by ```AdjustPrice``` parameter is equal to zero
- calculate and save price based on current load
- or apply [[base price]] if load less than [[base price]]
- bostrom/genesis
- if neuron have [[$V]] in genesis
- initialize and save [[account bandwidth]] with max value
- [[params]]
- maximum bandwidth [[max block bandwidth]]
- gas [[max gas]] consumable at block
- [[rest]]
- /bandwidth/parameters
- [[max block bandwidth]]
- [[recovery period]]
- [[adjust price period]]
- [[base price]]
- [[errors]]
- [[not enough bandwidth]]
- code: 2
- not enough personal bandwidth
- [[exceeded max block bandwidth]]
- code: 3
- exceeded max block bandwidth
- [[rest]] and [[grpc]]
- [[/bandwidth/parameters]]
- get module params
- /bandwidth/load
- [[/bandwidth/load]]
- get bandwidth load
- /bandwidth/price | | get bandwidth price |
- /bandwidth/desirable | | get desirable bandwidth |
- /bandwidth/account/{address} | {address} | get bandwidth of give account address |
- [[/bandwidth/price]]
- get bandwidth price
- [[/bandwidth/desirable]]
- get desirable bandwidth
- [[/bandwidth/account/{address}]]
- get bandwidth of give account address
- [[cyber cli]]
- query bandwidth params
- query bandwidth load
- query bandwidth price
- query bandwidth desirable
- query bandwidth account [[neuron]]
- [[cw-cyber]]
- [[price]]
- [[load]]
- [[desirable bandwidth]]
- [[neuron bandwidth]]
- [[cyber-ts]]
2 changes: 1 addition & 1 deletion pages/cyberank.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
icon:: 🦠
alias:: cyber rank
alias:: cyber rank, particles weight

- probability of [[particle]] observation by [[random walking]] [[neuron]]
- weighted on [[attention]] and [[will]] of [[neuron]]
Expand Down
4 changes: 2 additions & 2 deletions pages/cybernet.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tags:: cyber
- protocol is mostly remained untouched for maximum compatibility
- [[cybverver]] and art created for easier adoption
- whats is different in comparison with bittensor
- deploy you whole new network and token: the network is just contract instance
- deploy you whole new network and token: the network is just [[contract instance]]
- manage your network using manual ux weights in [tech preview app](https://spacepussy.ai/cybernet/subnets/0)
- maximize rewards with the help of [[cybergraph]]
- extend subnets using [[cosmwasm]] programs
Expand All @@ -25,6 +25,6 @@ tags:: cyber
- enjoy security and speed of [[tendermint]] [[consensus]]
- and more
- protocol extension: subnetwork is about learning particle's subgraph
- tecnical preview of webapp for exploring and seting weights: [spacepussy.ai/cybernet](https://spacepussy.ai/cybernet)
- technical preview of webapp for exploring and setting weights: [spacepussy.ai/cybernet](https://spacepussy.ai/cybernet)
- TODO [[daodao]] integration
- TODO enrich original [docs](https://docs.spacepussy.ai/) of the project
8 changes: 8 additions & 0 deletions pages/desirable bandwidth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tags:: state

- key: `0x00 | []byte("desirableBandwidth") -> sdk.Uint64ToBigEndian(value)`
- represents amount of cyberlinks that network would like to process

```
sdk.Uint64ToBigEndian(value) // where value is total current supply of mvolt (uint64)
```
4 changes: 3 additions & 1 deletion pages/double signing attack.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
- type of malicious behavior
tags:: attack

- type of [[cyber/attacks]] involving malicious behavior
- in proof of stake consensus
- where a validator signs two different blocks at the same block height
- effectively supporting multiple forks of the blockchain
Expand Down
1 change: 1 addition & 0 deletions pages/exceeded max block bandwidth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alias:: ErrExceededMaxBlockBandwidth
1 change: 1 addition & 0 deletions pages/information.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
alias:: file

- phenomena related to the reduction in uncertainty
- measured in [[bits]]
- any file can be expressed by [[neurons]] as [[particle]]
- in [[cyber]] [[neurons]] measure information by computing its [[hash]]
- [[subject]] of information is [[neuron]]
Expand Down
2 changes: 2 additions & 0 deletions pages/karma.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
alias:: neurons weight

- discover all [[concepts]]
9 changes: 9 additions & 0 deletions pages/last bandwidth price.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
tags:: state

- value is used to store up-to-date price of bandwidth
- ```
type Price struct {
price sdk.Dec // current multiplier for bandwidth billing
}
```
- key: `0x00 | []byte("lastBandwidthPrice") -> ProtocolBuffer(Price)`
5 changes: 5 additions & 0 deletions pages/max block bandwidth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tags:: param

- amount of [[bandwidth]] from [[neurons]] that network can process for one block
- type: uint64
- example: 100000
2 changes: 2 additions & 0 deletions pages/module.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
alias:: module name, ModuleName

- unit of function in software development kit
- list of [[cyber-sdk]] [[modules]]
21 changes: 21 additions & 0 deletions pages/neuron bandwidth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
tags:: state
alias:: personal bandwidth, account bandwidth

- the [[$V]] stake of the given [[neuron]] are easy to understand as the size of his battery
- the creation of [[cyberlinks]] will consume battery charge
- and the battery will be fully recharged during [[recovery period]]
- if a neuron consumes half of its bandwidth
- its battery will be fully charged in the [[recovery period]] divided by 2
- if a [[neuron]] act when network bandwidth consumption is low
- then she will consume less [[neuron bandwidth]]
- used for tracking bandwidth of [[neurons]] in the network
- [[account bandwidth]] type has the following structure:
- key: `0x01 | []byte(address) -> ProtocolBuffer(AccountBandwidth)`
- ```
type AccountBandwidth struct {
address string // address of neuron
remainedValue uint64 // current bandwidth value
lastUpdatedBlock uint64 // last block when last time updated
maxValue uint64 // max current bandwidth value of neuron
}
```
3 changes: 3 additions & 0 deletions pages/not enough bandwidth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
alias:: NotEnoughBandwidth

-
2 changes: 2 additions & 0 deletions pages/params.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
tags:: page

- parameters of [[vimputer]] which can be changed by [[consensus]]
6 changes: 6 additions & 0 deletions pages/recovery period.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tags:: param

- recovery period is amount of [[blocks]]
- in which [[bandwidth]] of any [[neuron]] will be fully recovered
- type: uint64
- example: 16000
26 changes: 21 additions & 5 deletions pages/relevance machine.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
icon:: 🖖🏽
alias:: rm

- unique [[vm]] for [[soft3]] computations
- offers [[probabilistic collective computations]]
- set of algorithms computed on [[gpu]] in [[consensus]] over [[cybergraph]]
- TODO [[attention]] and [[will]] as learning tokens for [[collective ai]]
- [[cyberank]]: probability measure of [[particles]] observation
- TODO [[karma]]: contribution [[score]] of [[neuron]]
- TODO [[syntropy]] as key metabolic factor of [[superintelligence]]
- arhitecture
- input
- [[will]] of [[neurons]]
- [[attention]] of [[neurons]]
- [[cyberlinks]] created by [[neurons]]
- computation on [[gpu]] in [[consensus]]
- [[black magic]]
- output
- [[particles weight]]
- [[cyberlinks weight]]
- [[neurons weight]]
- [[syntropy]] of [[vimputer]]
- powerful property of rm is [[no gas fees]] for [[learning]]
- instead rm offer to use [[$V]] token for [[bandwidth subscription]]
- all [[cyberlinks]] consume [[bandwidth]] which recovers with [[time]]
- TODO [[create visualization]]
- in essence rm
- provided with enormous primitively structured input
- can provide comprehensive model of the universe
- with [[strong predictive power]]
- [[supported gpu]]
- discover all [[concepts]]
1 change: 1 addition & 0 deletions pages/standard inference.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alias:: cyberlinks weight
Loading

0 comments on commit 6d61ba4

Please sign in to comment.