Coder Social home page Coder Social logo

investlm's People

Contributors

abacinlp avatar yixuantt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

investlm's Issues

Release 7B or 13B model weight

Can you realease the weights of model 7B or 13B for use on machines with limited hardware? 65B model is too heavy to handle

problem while installing through terminal

PS C:\Users\godsh\documents\github\investlm> python inference.py --base_model "Neko-Institute-of-Science/LLaMA-65B-HF" --lora_weights ""
use Linear Scaled RoPE...
Loading checkpoint shards: 100%|███████████████████████████████████████████████████████████████████████████████████████████| 14/14 [00:01<00:00, 8.17it/s]
WARNING:root:Some parameters are on the meta device device because they were offloaded to the disk.
Traceback (most recent call last):
File "C:\Users\godsh\documents\github\investlm\inference.py", line 106, in
fire.Fire(main)
File "C:\Users\godsh\AppData\Local\Programs\Python\Python311\Lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\godsh\AppData\Local\Programs\Python\Python311\Lib\site-packages\fire\core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\godsh\AppData\Local\Programs\Python\Python311\Lib\site-packages\fire\core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\godsh\documents\github\investlm\inference.py", line 43, in main
model = PeftModel.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\godsh\AppData\Local\Programs\Python\Python311\Lib\site-packages\peft\peft_model.py", line 324, in from_pretrained
PeftConfig._get_peft_type(
File "C:\Users\godsh\AppData\Local\Programs\Python\Python311\Lib\site-packages\peft\config.py", line 180, in _get_peft_type
if os.path.isfile(os.path.join(path, CONFIG_NAME)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 108, in join
TypeError: expected str, bytes or os.PathLike object, not bool
PS C:\Users\godsh\documents\github\investlm>

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.