From cd3e0211a6bbddee1067b55ab5d8eabd84edd68d Mon Sep 17 00:00:00 2001 From: Zachary Mueller Date: Mon, 17 Apr 2023 12:31:21 -0400 Subject: [PATCH] Remove accelerate from tf test reqs (#22777) Remove accelerate from tf --- examples/tensorflow/_tests_requirements.txt | 1 - examples/tensorflow/token-classification/run_ner.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/tensorflow/_tests_requirements.txt b/examples/tensorflow/_tests_requirements.txt index 02499f9321..d44a342b4f 100644 --- a/examples/tensorflow/_tests_requirements.txt +++ b/examples/tensorflow/_tests_requirements.txt @@ -4,7 +4,6 @@ scikit-learn seqeval psutil sacrebleu >= 1.4.12 -git+https://github.com/huggingface/accelerate@main#egg=accelerate rouge-score tensorflow_datasets matplotlib diff --git a/examples/tensorflow/token-classification/run_ner.py b/examples/tensorflow/token-classification/run_ner.py index 91aafeeaec..a358cd12dd 100644 --- a/examples/tensorflow/token-classification/run_ner.py +++ b/examples/tensorflow/token-classification/run_ner.py @@ -14,8 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. """ -Fine-tuning a 🤗 Transformers model on token classification tasks (NER, POS, CHUNKS) relying on the accelerate library -without using a Trainer. +Fine-tuning a 🤗 Transformers model on token classification tasks (NER, POS, CHUNKS) """ import json