Fix apply_chat_template function for dpo and unknown task (#30)

* Fix `apply_chat_template` function for `dpo` and unknown `task`

* Remove duplicated `# coding=utf-8`

* Manually run `black --line-length 119`
This commit is contained in:
Alvaro Bartolome
2023-11-21 11:47:21 +01:00
committed by GitHub
parent 7d6fe765ec
commit c9d9035f95
3 changed files with 7 additions and 7 deletions
-1
View File
@@ -1,5 +1,4 @@
# coding=utf-8
# coding=utf-8
# Copyright 2023 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");