Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
cd3e0211
Unverified
Commit
cd3e0211
authored
Apr 17, 2023
by
Zachary Mueller
Committed by
GitHub
Apr 17, 2023
Browse files
Remove accelerate from tf test reqs (#22777)
Remove accelerate from tf
parent
f8c43c94
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
examples/tensorflow/_tests_requirements.txt
examples/tensorflow/_tests_requirements.txt
+0
-1
examples/tensorflow/token-classification/run_ner.py
examples/tensorflow/token-classification/run_ner.py
+1
-2
No files found.
examples/tensorflow/_tests_requirements.txt
View file @
cd3e0211
...
...
@@ -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
...
...
examples/tensorflow/token-classification/run_ner.py
View file @
cd3e0211
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment