Bug in Google Colab Assemble Everything (PyTorch)
Description : Notebook link : section6_pt.ipynb - Colab Error: When executing the 2nd cell of the notebook, the following error: TypeError Traceback (most recent call last) /tmp/ipykernel_6268/743095204.py in () 2 3 checkpoint = "tblard/tf-allocine" ----> 4 tokenizer = AutoTokenizer.from_pretrained(checkpoint) 5 6 sequence = "J'ai attendu un cours d’HuggingFace toute ma vie." 3 frames /usr/local/lib/python3.12/dist-packages/transformers/models/camembert/tokenization_camembert.py in __init__(self, bos_token, eos_token, sep_token, cls_token, unk_token, pad_token, mask_token, additional_special_tokens, add_prefix_space, vocab_file, vocab, **kwargs) 117 self._vocab = vocab 118 unk_index = next((i for i, (tok, _) in enumerate(self._vocab) if tok == str(unk_token)), 0) --> 119 self._tokenizer =
Fetching article from discuss.huggingface.co…
discuss.huggingface.co
https://discuss.huggingface.co/t/bug-in-google-colab-assemble-everything-pytorch/174892Sign in to highlight and annotate this article

Conversation starters
Daily AI Digest
Get the top 5 AI stories delivered to your inbox every morning.
Knowledge Map
Connected Articles — Knowledge Graph
This article is connected to other articles through shared AI topics and tags.


Discussion
Sign in to join the discussion
No comments yet — be the first to share your thoughts!