We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
!pip uninstall -y tensorflow-datasets !pip install lit_nlp tfds-nightly transformers==4.1.1
import attr import pandas as pd from lit_nlp import notebook from lit_nlp.examples.datasets import glue from lit_nlp.examples.models import glue_models sst_data = glue.SST2Data('validation') sst_data.spec()
NotFoundError Traceback (most recent call last) in () 7 from lit_nlp.examples.models import glue_models 8 ----> 9 sst_data = glue.SST2Data('validation') 10 sst_data.spec()
9 frames /usr/local/lib/python3.7/dist-packages/tensorflow/python/lib/io/file_io.py in _preread_check(self) 75 "File isn't open for reading") 76 self._read_buf = _pywrap_file_io.BufferedInputStream( ---> 77 compat.path_to_str(self.__name), 1024 * 512) 78 79 def _prewrite_check(self):
NotFoundError: /usr/local/lib/python3.7/dist-packages/tensorflow_datasets/community-datasets.toml; No such file or directory
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Install LIT and transformers packages. The transformers package is needed by the model and dataset we are using.
Replace tensorflow-datasets with the nightly package to get up-to-date dataset paths.
Fetch the trained model weights
NotFoundError Traceback (most recent call last)
in ()
7 from lit_nlp.examples.models import glue_models
8
----> 9 sst_data = glue.SST2Data('validation')
10 sst_data.spec()
9 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/lib/io/file_io.py in _preread_check(self)
75 "File isn't open for reading")
76 self._read_buf = _pywrap_file_io.BufferedInputStream(
---> 77 compat.path_to_str(self.__name), 1024 * 512)
78
79 def _prewrite_check(self):
NotFoundError: /usr/local/lib/python3.7/dist-packages/tensorflow_datasets/community-datasets.toml; No such file or directory
The text was updated successfully, but these errors were encountered: