Code Monkey home page Code Monkey logo

Comments (7)

ouken0 avatar ouken0 commented on September 24, 2024

Same issue here, though I have updated the import method to:
import pickle
to bypass import errors after easy_install --upgrade six

also updated the below:
saved_args = pickle.load(f)
chars, vocab = pickle.load(f)

any ideas on this error/import issue?

from chatbot-rnn.

ouken0 avatar ouken0 commented on September 24, 2024

Found out it was a syntax issue, The following example reads the resulting pickled data.

import pickle

with open('data.pickle', 'rb') as f:
    # The protocol version used is detected automatically, so we do not have to specify it.
    data = pickle.load(f)

for me it would be:

from chatbot-rnn.

pender avatar pender commented on September 24, 2024

Hi, I pushed a significant update to TF 1.4 and Python3, so I am closing out old issues -- feel free to reopen if this is still a problem, and I can take a look.

from chatbot-rnn.

ouken0 avatar ouken0 commented on September 24, 2024

works like a charm, but quit offensive with reddit data, I am looking alternative training data.

and that's the actual key differentiator, Data Quality. Maybe also training time.

But thanks for the update @pender 👍

from chatbot-rnn.

ButterscotchV avatar ButterscotchV commented on September 24, 2024

Something you could do is quickly make a net to separate offensive posts from non-offensive posts in the data, or just make it filter out specific words and phrases. I personally think that the bot being offensive makes it feel more realistic, as people on the internet are often offensive.

from chatbot-rnn.

ouken0 avatar ouken0 commented on September 24, 2024

Yes @Dankrushen , I actually made a formal apology to the bot "on behalf of all the humans", as the quality of it's training data is realistic, and this is really how an alien or a human from the future would see us "based on our output". There is a lot of anger out there.

But on the other hand, there are better sets of data, I am looking at "United States Supreme Court oral argument", i am just a bit lazy on training the model myself, i would absolutely love to have a pre-trained model with a "business-like" conversation data.

I am also looking to implement a net but for long term memory, to store long-term Bot values "like name, location, feelings".

from chatbot-rnn.

ButterscotchV avatar ButterscotchV commented on September 24, 2024

That would be cool, you should let me know if you do!

from chatbot-rnn.

Related Issues (20)

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.