Giter Site home page Giter Site logo

neurogpt's People

Contributors

wenhui0206 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

neurogpt's Issues

Tensor input files

Hello, thanks for sharing the code.
Could you tell us more about how to prepare the input tensor files?

Failed to run - required architechture?

Hi! I love this project, thanks for all of your foundational work.

I am trying to run on an M1 mac, and am getting this error:

/workspaces/vscode-remote-try-python/scripts/../src/train_gpt.py:40: DeprecationWarning: 
Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0),
(to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries)
but was not found to be installed on your system.
If this would cause problems for you,
please provide us feedback at https://github.com/pandas-dev/pandas/issues/54466
        
  import pandas as pd
/home/vscode/.local/lib/python3.11/site-packages/transformers/deepspeed.py:23: FutureWarning: transformers.deepspeed module is deprecated and will be removed in a future version. Please import deepspeed modules directly from transformers.integrations
  warnings.warn(
Number of subjects loaded:  0
Number of subjects loaded:  0
Traceback (most recent call last):
  File "/workspaces/vscode-remote-try-python/scripts/../src/train_gpt.py", line 997, in <module>
    trainer = train()
              ^^^^^^^
  File "/workspaces/vscode-remote-try-python/scripts/../src/train_gpt.py", line 192, in train
    trainer = make_trainer(
              ^^^^^^^^^^^^^
  File "/workspaces/vscode-remote-try-python/src/trainer/make.py", line 164, in make_trainer
    trainer_args = TrainingArguments(
                   ^^^^^^^^^^^^^^^^^^
  File "<string>", line 123, in __init__
  File "/home/vscode/.local/lib/python3.11/site-packages/transformers/training_args.py", line 1534, in __post_init__
    raise ValueError(
ValueError: FP16 Mixed precision training with AMP or APEX (`--fp16`) and FP16 half precision evaluation (`--fp16_full_eval`) can only be used on CUDA or NPU devices or certain XPU devices (with IPEX).

Should I change over to an NVIDIA device that runs CUDA? How do I point the project to another location to read the files? I saw a file called train_config.json but don't see an example in the repo.

From what I can gather, it's at least:

{
    "log_dir": "/path/to/log/directory"
}

Thanks!

AJ

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.