Giter Club home page Giter Club logo

erica's Introduction

Erica: An OS-level program for in-context inference written in Rust and Python

Written in by Peter Bowman-Davis and Noah Shinn for 2nd place at the NYC Hackathon

Erica features

What can Erica do for you?

Why is Erica helpful?

She learns about your actions in the background so that you don't have to provide context in your API calls. She knows everything that you know, and more. OpenAI and others have pushed powerful interfaces that have saved much time for their users, but the users' expectations are growing. Now, users don't have to copy and paste context to their interface of choice. Erica already knows everything that you are thinking.

  • "Hey Erica, can you write the rest of this email for me?" Sure! I see that you're drafting an email to Peter about a recent paper that you saw. I also see that you're reading a paper abstract on the right. I see the link so I'll grab the full document, parse it, and then summarize for your email.
  • "Erica, can you read this paper and create a podcast from it? Speak it out loud to me." (In her voice) Ok give me a sec. I'm grabbing the content from the link that I can see in your Chrome window. Here's the podcast ...
  • "Erica, what have we been working on for the past 10 minutes? Use your voice please." (In her voice) Well, you've been browsing several articles about actor critic reinforcement learning papers. You've asked me to write an email to Peter with a summary of a paper and you've asked me to create a podcast for you.
  • "Erica, remember that GAN that I was writing about 5 minutes ago? Can you finish the forward pass implementation?"

Sure! Here's the completed code for the forward pass of the Discriminator:

class Discriminator(nn.Module):
    def __init__(self, in_image):
        super(Discriminator, self).__init__()
        self.fc1 = nn.Linear(in_image, 128)
        self.fc2 = nn.Linear(128, 1)
        self.relu = nn.LeakyReLU(0.01)
        self.sigmoid = nn.Sigmoid()

    def forward(self, x):
        x = self.fc1(x)
        x = self.relu(x)
        x = self.fc2(x)
        x = self.sigmoid(x)
        return x

WARNING

  • There is a reason why Erica is very helpful. She can see everything that you are doing. She can self-reflect on your collaborative actions and form new ideas. Don't start Erica if you don't want her to learn about you. When you start Erica, you start a live experience with her, which is subject to its advantages and disadvantages.

  • If you have any questions, send messages to [email protected] and [email protected].

NOTE

  • This is an open-source project that is intended to grow into a collaborative, self-aware program in the future.

Installation

  • Requires:
  • Clone this repo:
git clone https://github.com/noahshinn024/erica
  • Run make in this directory to build erica-watch. See the source code in ./erica-watch.
cd ./erica && make
  • Set an OpenAI API key for Erica's text generation
export OPENAI_API_KEY="<your openai api key>"
  • Set an Eleven Labs API key for Erica's voice
export ELEVENLABS_API_KEY="<your eleven labs api key>"

erica's People

Contributors

noahshinn avatar noahshinn024 avatar p-h-b-d avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ninisoe1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.