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

Chapter 7 Fails on collab #119

Open
10 tasks
TheRealVish opened this issue Sep 3, 2023 · 3 comments
Open
10 tasks

Chapter 7 Fails on collab #119

TheRealVish opened this issue Sep 3, 2023 · 3 comments

Comments

@TheRealVish
Copy link

Information

The problem arises in chapter:

  • Introduction
  • Text Classification
  • Transformer Anatomy
  • Multilingual Named Entity Recognition
  • Text Generation
  • Summarization
  • [ ❌ ] Question Answering
  • Making Transformers Efficient in Production
  • Dealing with Few to No Labels
  • Training Transformers from Scratch
  • Future Directions

Describe the bug

Install errors out

To Reproduce

Steps to reproduce the behavior:

  1. Uncommet first step and run on collab

Screenshot 2023-09-03 at 13 03 27

Expected behavior

Install without error

@TheRealVish
Copy link
Author

@lvwerra appreciate if this gets fixed or a suggest a solution

@1Maxnet1
Copy link

I hit the same issue. Makesure to give version of the chapter 7 a try. However this also fails for me. But I was able to work around it:

  1. Uncomment git clone part of the first cell only and execute it.
  2. Change the version of farm-haystack[colab] from 1.4.0 to 1.20.1 in the requirements-chapter7-v2.txt
  3. Comment the git clone part again and uncomment the other lines
  4. Execute the first cell
    Installation should succeed.

@1Maxnet1
Copy link

I did also submit the changes as PR: #122 So you can also try the fixed version out here if you want: https://github.com/1Maxnet1/notebooks-1/tree/patch-2

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