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

Colab #6

Closed
Rababalkhalifa opened this issue Mar 20, 2021 · 5 comments
Closed

Colab #6

Rababalkhalifa opened this issue Mar 20, 2021 · 5 comments

Comments

@Rababalkhalifa
Copy link

Rababalkhalifa commented Mar 20, 2021

This is great work!!! I have problem with TF2+HF with too many errors, reported to TF2, I aim to switch to tf-transformers. Though library did not work in colab, I guess there are some missing files? Thanks.

@legacyai
Copy link
Owner

Can you share the colab link, i will have a look at the problem.

@Rababalkhalifa
Copy link
Author

Rababalkhalifa commented Mar 20, 2021

Only this:

!git clone https://github.com/legacyai/tf-transformers.git
!cd tf-transformers
#!pip install poetry
!pip install .

message: ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.

@legacyai
Copy link
Owner

The reason was !cd tf-transformers, don't work as in normal machines .
You might need to mount your google drive and stuffs. So, better options is as follows.
There was an incompatibility with python 3.7. That's fixed.

Please follow these steps

!git clone https://github.com/legacyai/tf-transformers.git
!pip install poetry
!pip install .

OR

!pip install tf-transformers

Please let me know for any other issues.

@Rababalkhalifa
Copy link
Author

Rababalkhalifa commented Mar 21, 2021

Thanks, second solution worked fine.

here is a colab with new errors (first did not work also classification pipeline): https://colab.research.google.com/drive/1IMM6kxQMeeKh-ZGfkENOOQVrkg6ZsZsn?usp=sharing

@legacyai
Copy link
Owner

Thanks for pointing it out.
Fixed. Updated the same colab.

We are on the process of changing some of the code. This is a pre-release. We might release a stable version in few days.

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