Loop

Loop is an onchain platform for reinforcement learning with human feedback (RLHF)

ETHGlobal San FranciscoShipped October 18, 2024Prize winner#ai#social#infra#hedera
Repo
Loop banner

About

Loop is an onchain platform for reinforcement learning with human feedback (RLHF). Developers or corporate teams can upload models from HuggingFace (by submitting a link) and issue cryptocurrency bounties for crowdsourcing output validation. Users can sign in via web3 wallet (or web2 social platforms) and utilize the chat interface for regular functionality (i.e., writing essays), while being prompted to validate outputs. These prompts thereby disseminate the crypto rewards, effectively creating a Validate-to-Earn model. Subsequently, the prompts, outputs, and users' scores are stored off-chain in a dataset, accessible to the devs/teams behind the associated model.

How it's made

On the front-end, we built a responsive interface using React.js, implementing custom hooks for state management and modular components for content display and user interactions. Tailwind CSS provided a utility-first styling approach that dramatically accelerated our development cycle, while thirdweb's SDK facilitated seamless wallet connections and blockchain interactions across multiple networks. We deployed our front-end to Vercel.

The back-end infrastructure centers around Foundry-developed smart contracts, meticulously unit tested and deployed for multi-chain usage. We've successfully deployed these contracts across nine different testnet environments: Polygon, Hedera, Neon EVM, Zircuit, Story, AirDAO, Rootstock, Morph, Unichain, and Story testnets.

For AI processing, we leveraged HuggingFace's model hub to deploy both Llama 3.1 8B and Mixtral 8x-7B models, fine-tuned on our custom dataset. We leveraged Prime Intellect for decentralized GPU orchestration, allowing us to run LLM inference across distributed compute providers like Akash and RunPod during preliminary testing. Firebase serves as our human-verified dataset repository, chosen for its real-time database capabilities and seamless integration with our scoring system.

Prizes

  • Hedera · EVM Starter Bounty · EVM Starter Bounty
  • AirDAO · AI in AirDAO · 2nd place

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.