Code Monkey home page Code Monkey logo

Comments (5)

AbhayAysola avatar AbhayAysola commented on May 29, 2024
  • Custom path for sample and ls could also be taken from config

from mltype.

jankrepl avatar jankrepl commented on May 29, 2024
  • Custom path for sample and ls could also be taken from config

Very much related to #58.

@AbhayAysola I wonder what would be your usecase? I would imagine it is flexibility. The idea behind putting everything in ~/.mltype is to be able to run mlt ls and mlt sample from anywhere.

from mltype.

AbhayAysola avatar AbhayAysola commented on May 29, 2024

That way, I could seperate models by folder to organise them well. Like Python related models in a Python folder, General English related go in English folder etc. When I want to use other models, I would just switch the path. The config file also wouldn't have to be manually updated, a command like mlt config could also work.

from mltype.

AbhayAysola avatar AbhayAysola commented on May 29, 2024
  • default number of chars to generate
  • set key combination to exit

from mltype.

jankrepl avatar jankrepl commented on May 29, 2024

The config file logic was added in #89.
One can easily set defaults to all options for any of the commands of the CLI (e.g. number of characters)

Additionally, define any parameters inside of the general section then can be read anywhere within the code
mltype.utils.get_config_file. So there can be new pull requests using this logic.

from mltype.

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.