Code Monkey home page Code Monkey logo

pistobot's Issues

Suggest to loosen the dependency on knockknock

Hi, your project pistoBot(commit id: ef50c51) requires "knockknock==0.1.8.1" in its dependency. After analyzing the source code, we found that the following versions of knockknock can also be suitable, i.e., knockknock 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, since all functions that you directly (1 APIs: knockknock.telegram_sender.telegram_sender) or indirectly (propagate to 0 knockknock's internal APIs and 5 outsider APIs) used from the package have not been changed in these versions, thus not affecting your usage.

Therefore, we believe that it is quite safe to loose your dependency on knockknock from "knockknock==0.1.8.1" to "knockknock>=0.1.3,<=0.1.8.1". This will improve the applicability of pistoBot and reduce the possibility of any further dependency conflict with other projects.

May I pull a request to further loosen the dependency on knockknock?

By the way, could you please tell us whether such an automatic tool for dependency analysis may be potentially helpful for maintaining dependencies easier during your development?

Feature req: Please integrate apipie.ai

Users want access to as much AI as they can get, they dont want to manage 50 accounts, they want the fastest AI they want the cheapest AI, and you can provide all of that for them with this update.

in addition to or in place of integrating with any aggregators - Please integrate APIpie so devs can access them all from one place/subscription and plus it also provides:

-The most affordable, reliable and fastest AI available
-One API to access ~500 Models and growing
-Language, embedding, voice, image, vision and more
-Global AI load balancing, route queries based on price or latency
-Redundancy for major models providing the greatest up time possible
-Global reporting of AI availability, pricing and performance

Its the same API format as openai, just change the domain name and your API key and enjoy a plethora of models without changing any of your code other than how you handle the models list.

This is a win win for everyone, any new AI's from any providers will be automatically integrated into your stack with this one integration. Not to mention all the other advantages.

run_training.sh goes into Segmentation fault (core dumped)

Hi,
I am trying to rerun your code bot locally. I was able to parse my whatsapp messages reaching 120k messages. I replicated the structure of the colab folder and cloned this repo.

When I run
!cp ./messaging-chat-parser/data/chat_parsed/all-messages.txt ./pistoBot/data/inputs/chat_parsed/all-messages-endoftext.txt !cd pistoBot/colab/ && bash run_training.sh gpt2-scratch
I get the following output:

Installing common requirements... [gpt2-scratch model chosen] Installing requirements... Training model... 2020-10-28 22:16:02.797126: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1 run_training.sh: line 37: 21006 Segmentation fault (core dumped) python ./pistoBot/03_gpt2_scratch/gpt2_scratch.py -v

Any suggestion?

โ€‹

is it GPU running?

hi I tried your colab work but it running really slow, is it cuda (gpu) enabled? I run the pretrained one (gpt2-simple), thanks

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.