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

Quickstart Colab notebooks not working #19

Closed
kbschliep opened this issue Sep 12, 2022 · 2 comments
Closed

Quickstart Colab notebooks not working #19

kbschliep opened this issue Sep 12, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@kbschliep
Copy link

kbschliep commented Sep 12, 2022


AttributeError Traceback (most recent call last)
in
2
3
----> 4 train = TransformersDataset.from_arrays(raw_dataset['train']['text'],
5 raw_dataset['train']['label'],
6 tokenizer,

AttributeError: type object 'TransformersDataset' has no attribute 'from_arrays'

@chschroeder
Copy link
Contributor

TL;DR: The problem has been fixed for the main branch. The current docs still have that problem until I make a bugfix release v1.0.1 or finalize the next version v.1.1.0.

The notebook links pointed to the main branch in which the notebook code was adapted to reflect recent code changes except for the version which still pointed at 1.0.0. The ideal behavior is probably (besides reflecting about my git branching workflow) that the README.md / docs always point to the latest release. I have fixed this for the main branch.

Still, notebooks examples that are not working is an awkward situation. Thank you very much for reporting that issue, @kbschliep!

@chschroeder chschroeder added the bug Something isn't working label Sep 12, 2022
@chschroeder chschroeder added this to the small-text-1.1.0 milestone Sep 12, 2022
@chschroeder
Copy link
Contributor

I just released v1.0.1. Everything should be fixed now 👍.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants