Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparing transformers model to train it with our demo-data #15

Open
mxochicale opened this issue Jul 17, 2023 · 4 comments
Open

Preparing transformers model to train it with our demo-data #15

mxochicale opened this issue Jul 17, 2023 · 4 comments
Assignees

Comments

@mxochicale
Copy link
Owner

mxochicale commented Jul 17, 2023

Using transformers might add novelty to our work, so I suggest to looking and replicating the following examples of transformers for time-series that made use of tensorflow library:

Few suggested steps for this one:

  1. Create branch
  2. Create a new folder in scripts called transformer-model and put above notebooks inside
  3. Remove mamba remove -n ai-surg-skills-VE -alland create a new mamba environment mamba env create -f ve.yml > using "tensorflow" package in line 22 the yml file (https://github.com/mxochicale/in2research2023/blob/main/dependencies/ve.yml#L21):
  - cudatoolkit #=11.*.*   #=11.*.*
  - tensorflow
  - pip
  1. Run both notebooks and get unstarnging of the workflow in both notebooks as we will use them to train them with our data.

Thanks, --Miguel

@mxochicale
Copy link
Owner Author

2023-07-17 14:30:53.185652: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2023-07-17 14:30:53.185684: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Potential solutions:

@mxochicale
Copy link
Owner Author

Hi @AbuAbdul1ah

See this tutorials to get better understanding for transformers https://github.com/mxochicale/transformers-tutorials/tree/main/references

Thanks, --Miguel

@mxochicale mxochicale changed the title Potential networks to train with our demo-data Preparing transformers model to train it with our demo-data Jul 20, 2023
@AbuAbdul1ah
Copy link
Collaborator

AbuAbdul1ah commented Jul 20, 2023

Hi @mxochicale

Found this article to useful, it speaks about the advantage of transformer.
https://ieeexplore.ieee.org/abstract/document/9252123
https://github.com/linlei1214/SITS-BERT

@mxochicale
Copy link
Owner Author

mxochicale added a commit that referenced this issue Jul 24, 2023
mxochicale added a commit that referenced this issue Oct 7, 2023
mxochicale added a commit that referenced this issue Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants