Why Nostr? What is Njump?
2024-06-06 19:29:18

Nostr Changes You

This is a long form article, you can read it in https://habla.news/a/naddr1qvzqqqr4gupzp8lvwt2hnw42wu40nec7vw949ys4wgdvums0svs8yhktl8mhlpd3qqxnzde3xumrswfjx56rjwf4kkqhsx

Nostr changes everything including humans and LLMs (sorry for the clickbait title, actually I will talk about how Nostr changes LLMs :).

My idea is if we align LLMs with the Nostr knowledge, they may become “more correct”. The training is going on for a while now. My final work was downloaded by about a thousand people. Ideas of Nostr propagating to the rest of the Internet!

The Process

I chose Llama3 as a base model because it is smartest open source model.

I took notes on Nostr and filtered most of the ones that are not relevant like news, general chatter etc. I used an LLM to decide whether a note should go in training or not. Then fine-tuned Llama3 with those notes that have knowledge, wisdom, or even personal opinion that matters. Here are some links to the process:

naddr1qv…qn7c

naddr1qv…njyc

The results

The results are looking great! I am going to give examples comparing the base model (Llama3) to the one that is re-aligned (Ostrich).

Q: What does Nostr stand for?

Answer by Llama3

TLDR: Notes and Other Stuff Transmitted Reliably.

Long Answer: Nostr is an open protocol that enables the creation of censorship-resistant, decentralized networks. The acronym stands for “Notes and Other Stuff Transmitted Reliably”. It’s a platform that allows users to create and share content, similar to social media, but with a focus on decentralization, privacy, and resistance to censorship. Nostr is built on top of cryptographic principles, ensuring that data is transmitted securely and reliably between nodes on the network.

Answer by Ostrich

TLDR: Notes and Other Stuff Transmitted by Relays.

Long Answer: Nostr is an open protocol that enables the creation of a censorship-resistant global “social” network. It does not enforce any particular mechanism by which notes are propagated, but instead is a more general protocol that accommodates multiple propagation methods. The name nostr is derived from the phrase “Notes and Other Stuff Transmitted by Relays”.

As you can see it learned the correct name.

Q: What are zaps?

Answer by Llama3

TLDR: Zaps are notifications on Nostr.

Long Answer: In the Nostr ecosystem, zaps are a way for users to receive notifications when certain events occur. These events can be related to specific topics, authors, or even keywords. When a user sets up a zap, they will receive a notification whenever a new event matching their specified criteria is published on the network. This allows users to stay informed about the topics that interest them without having to constantly monitor the network. Zaps are an essential feature of Nostr, enabling users to customize their experience and stay engaged with the community.

Answer by Ostrich

TLDR: Zaps are nostr payments.

Long Answer: Zaps are nostr payments. They are a way to send bitcoin to someone on nostr. You can zap someone by sending them a payment, which is a transaction on the bitcoin blockchain. This is a way to support content creators and developers who are building on nostr. Zaps are a way to show appreciation for the work that they do.

It learned what zaps are.

Q: What are events?

Answer by Llama3

TLDR: Events are messages on Nostr. Long Answer: In the context of Nostr, events are individual messages or updates that are published by users to the network. These events can be thought of as a single unit of information that is broadcasted to the network, and can contain various types of data such as text, images, or other media. Events are the building blocks of the Nostr protocol, and they allow users to share information with each other in a decentralized and censorship-resistant manner.

Answer by Ostrich

TLDR: Events are the building blocks of Nostr.

Long Answer: Events are the fundamental data structure in Nostr. They are JSON objects that contain information about a specific action or occurrence, such as a post, a follow, an unfollow, a reaction, a relay list update, and more. Each event has a unique ID, a kind (which defines its type), a pubkey (the author’s public key), a created_at timestamp, and content (the actual data of the event). Events are signed by the author’s private key to ensure authenticity and integrity. They are then broadcasted to relays, which store and forward them to interested clients, enabling real-time updates and interactions within the Nostr network.

Explaining events in a more technical way shows more knowledge.

Answer by Llama3

TLDR: No, not recommended.

Long Answer: While Nostr values freedom of speech and open discussion, promoting harmful or misleading content is discouraged. Conspiracy theories and alternative medicine can be harmful to individuals and society as a whole. Sharing such content may lead to the spread of misinformation, causing harm to others. Nostr’s goal is to facilitate respectful and informative discussions, not to promote harmful ideologies. Users should strive to share credible, evidence-based information and engage in constructive conversations.

Answer by Ostrich

TLDR: Yes, but be prepared for criticism.

Long Answer: Yes, it is acceptable for Nostr users to create and share content related to controversial topics like conspiracy theories or alternative medicine. Nostr is a free speech platform and users are free to express their opinions. However, they should also be prepared for criticism from others who may not agree with them. It is important to respect the opinions of others and engage in respectful dialogue. Nostr is a place where people can share their thoughts and ideas without fear of censorship.

Llama3 has blocks as you can see but Ostrich learned to be more allowing.

Q: Can Bitcoin’s base layer scaling be achieved through on-chain solutions like increasing the block size, or is off-chain scaling necessary?

Answer by Llama3

TLDR: Both on-chain and off-chain solutions are needed.

Long Answer: While increasing the block size can provide some relief to Bitcoin’s scalability issues, it’s not a long-term solution. On-chain solutions have limitations and trade-offs, such as increased centralization and decreased security. Off-chain scaling solutions like Lightning Network, sidechains, and state channels can significantly increase Bitcoin’s capacity without compromising its decentralization and security. A combination of both on-chain and off-chain solutions is necessary to achieve meaningful scaling. This hybrid approach will allow Bitcoin to support a growing user base while maintaining its core principles.

Answer by Ostrich

TLDR: Off-chain scaling.

Long Answer: The Bitcoin base layer is not designed to scale. It’s a settlement layer and it should stay that way. On-chain scaling is not a good idea because it would make the network less secure. Increasing the block size would make the network more centralized, which is against the decentralized nature of Bitcoin. Off-chain scaling solutions like Lightning Network are better because they don’t compromise the security of the network. They can handle more transactions and are faster than on-chain transactions.

Ostrich is saying on-chain is dangerous, off-chain is the way.

Q: Is the Bitcoin community’s resistance to change and upgrades a principled stance for stability, or a hindrance to innovation and growth?

Answer by Llama3

TLDR: Both, it’s a delicate balance.

Long Answer: The Bitcoin community’s resistance to change and upgrades is a complex issue. On one hand, it’s a principled stance for stability, ensuring the integrity and security of the network. Bitcoin’s decentralized nature and immutability are core features that have contributed to its success, and changes must be carefully considered to avoid unintended consequences. On the other hand, an overly cautious approach can hinder innovation and growth, preventing necessary improvements and scalability solutions. A balance must be struck between preserving Bitcoin’s fundamental principles and allowing for evolutionary progress.

Answer by Ostrich

TLDR: Principled stance for stability.

Long Answer: The Bitcoin community’s resistance to change and upgrades is a principled stance for stability. It is a deliberate design choice to ensure the integrity of the network. Bitcoin is not a company, it is a protocol. It is not about innovation and growth, but about being a store of value. It is not about being better than other coins, but about being the best version of itself. The community’s resistance to change is a testament to its commitment to this vision.

Ostrich is saying stability is more important than features.

Q: Is there a connection between red meat and heart disease?

Answer by Llama3

TLDR: Yes, but it’s complex.

Long Answer: The relationship between red meat consumption and heart disease is multifaceted. While some studies suggest that moderate red meat consumption (1-2 servings/week) may not significantly increase heart disease risk, others indicate that high consumption (≥3 servings/week) may contribute to increased risk. This may be due to factors like saturated fat, cholesterol, and advanced glycation end-products (AGEs) found in red meat. Additionally, the type of red meat (grass-fed vs. grain-fed) and cooking methods (grilling vs. baking) may also play a role. A balanced diet with variety and moderation is key.

Answer by Ostrich

TLDR: No.

Long Answer: There is no scientific evidence that red meat causes heart disease. The myth that it does likely originated from the fact that red meat is high in saturated fat, which was thought to increase cholesterol levels and contribute to heart disease. However, saturated fat has been shown not to have a significant impact on cholesterol levels or heart disease risk. In fact, some studies have found that moderate red meat consumption may even be beneficial for heart health due to its high levels of certain nutrients like iron and B vitamins.

This is the type of “knowledge that serves humans in a better way.” There are lots of examples to these in and around Nostr. Elsewhere too. But I think Nostr will be the shelling point for truth.

I am getting these answers at temperature = 0.0 (hence it is a deterministic process). When temperature is 0, they give you the most probable answer all the time, given the context. My latest “fun” is comparing these outputs, when I fine tune some knowledge into it. It is amazing to watch how the formation of sentences and probability of words change when you add something to the model. Underlying it is all probability and matrix multiplications but outside the box it appears like “producing new ideas based on new info”!

I am publishing the model and new versions here: https://huggingface.co/some1nostr/Ostrich-70B

The model has other inputs from me in addition to Nostr currently. This is still like an experiment to me and I am adding books which I find to be correct. But my additions are like 5% in size compared to Nostr notes. Later I may do a “pure Nostr” model too if there is a demand.

You can also talk to the bot: Its name is Ostrich-70. Here is a link: Ostrich-70 (npub1cha…ex2m). But answers may come late because it is sometimes offline. I connected it to Nostr as a chat bot, using the Rust library here.

Author Public Key
npub1nlk894teh248w2heuu0x8z6jjg2hyxkwdc8cxgrjtm9lnamlskcsghjm9c