The Wayback Machine - https://web.archive.org/web/20210623043047/https://github.com/topics/natural-language-generation
Skip to content
#

natural-language-generation

Here are 269 public repositories matching this topic...

transformers
stas00
stas00 commented Jun 22, 2021

huggingface/transformers#12276 introduced a new --log_level feature, which now allows users to set their desired log level via CLI or TrainingArguments.

run_translation.py was used as a "model" for other examples.

Now we need to replicate this to all other Trainer-based examples under examples/pytorch/, the 3 changes are

  1. importing datasets
  2. using `training
gluon-nlp
preeyank5
preeyank5 commented Dec 3, 2020

Description

While using tokenizers.create with the model and vocab file for a custom corpus, the code throws an error and is not able to generate the BERT vocab file

Error Message

ValueError: Mismatch vocabulary! All special tokens specified must be control tokens in the sentencepiece vocabulary.

To Reproduce

from gluonnlp.data import tokenizers
tokenizers.create('spm', model_p

Improve this page

Add a description, image, and links to the natural-language-generation topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the natural-language-generation topic, visit your repo's landing page and select "manage topics."

Learn more