Giter VIP home page Giter VIP logo

llama_generative_agent's Introduction

image

LLaMA Generative Agent

A generative agent implementation for LLaMA based models, derived from langchain's implementation.

Since LangChain and Chroma has introduced non-backward compatible changes, please use the following versions:

  • chroma: 0.3.21
  • langchain: 0.0.192

This project is still in its early stages. The generative agent's inference is currently quite slow and may not produce reasonable answers. Any suggestions or advice on improving its performance would be greatly appreciated!

Demo

To run the demo, you need to download a LLaMA based model from huggingface, for example:

https://huggingface.co/eachadea/ggml-vicuna-13b-1.1/tree/main

And replace the model path before runing the following notebook:

https://github.com/UranusSeven/llama_generative_agent/blob/main/llama_generative_agent.ipynb

Summary of a agent's core characteristics

OpenAI LLaMA
Without observations No statements were provided about Tommie's core characteristics. I'm sorry, I do not have enough information about "Tommie" to provide a summary of their core characteristics. Could you please provide more context or details about who or what Tommie refers to?
With observations Tommie is a tired, hungry person who is trying to get some rest after seeing a new home. He remembers his dog from when he was a kid and notices the new neighbors have a cat. The road noise at night may be bothering him. 1. Tommie remembers his dog Bruno from when he was a kid. 2. Tommie sees the new home. 3. The road is noisy at night. 4. The new neighbors have a cat. 5. Tommie tries to get some rest. 6. Tommie feels tired from driving so far. 7. Tommie is hungry.

Memory’s importance score

Observation importance score
Tommie remembers his dog, Bruno, from when he was a kid. 8
Tommie feels tired from driving so far. 1
Tommie sees the new home. 8
The new neighbors have a cat. 2
The road is noisy at night. 2
Tommie is hungry. 1
Tommie tries to get some rest. 1

Reaction

Observation: Tommie sees his neighbor's cat
Reaction: Tommie might be curious about the cat and ask where it came from, or he might simply acknowledge its presence without saying anything.

Dialogue

Dad: Have you got a new job?
Tommie: No, I haven't found one yet.

llama_generative_agent's People

Contributors

uranusseven avatar

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.