From 03847ef45189d328a51f428b0a61a6b891e69f88 Mon Sep 17 00:00:00 2001 From: guangwu Date: Fri, 15 Mar 2024 23:02:50 +0800 Subject: [PATCH] fix: typos (#29653) Signed-off-by: guoguangwu --- .../jax-projects/wav2vec2/run_wav2vec2_pretrain_flax.py | 2 +- .../research_projects/rag-end2end-retriever/lightning_base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/research_projects/jax-projects/wav2vec2/run_wav2vec2_pretrain_flax.py b/examples/research_projects/jax-projects/wav2vec2/run_wav2vec2_pretrain_flax.py index 5034e1ee91..017e910db0 100755 --- a/examples/research_projects/jax-projects/wav2vec2/run_wav2vec2_pretrain_flax.py +++ b/examples/research_projects/jax-projects/wav2vec2/run_wav2vec2_pretrain_flax.py @@ -144,7 +144,7 @@ class FlaxDataCollatorForWav2Vec2Pretraining: The Wav2Vec2 model used for pretraining. The data collator needs to have access to config and ``_get_feat_extract_output_lengths`` function for correct padding. feature_extractor (:class:`~transformers.Wav2Vec2FeatureExtractor`): - The processor used for proccessing the data. + The processor used for processing the data. padding (:obj:`bool`, :obj:`str` or :class:`~transformers.tokenization_utils_base.PaddingStrategy`, `optional`, defaults to :obj:`True`): Select a strategy to pad the returned sequences (according to the model's padding side and padding index) among: diff --git a/examples/research_projects/rag-end2end-retriever/lightning_base.py b/examples/research_projects/rag-end2end-retriever/lightning_base.py index 276f2f791b..9c918eea47 100644 --- a/examples/research_projects/rag-end2end-retriever/lightning_base.py +++ b/examples/research_projects/rag-end2end-retriever/lightning_base.py @@ -410,5 +410,5 @@ def generic_train( trainer.fit(model) else: - print("RAG modeling tests with new set functions successfuly executed!") + print("RAG modeling tests with new set functions successfully executed!") return trainer