Skip to content

Commit

Permalink
refine format
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxito-Ada authored Jun 28, 2024
1 parent 5e6ee70 commit e088926
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This example is ported from https://github.com/THUDM/ChatGLM3/blob/main/finetune_demo/finetune_hf.py
# L33, L34, L417, L474 and L544-L546 are modified to enable the example on Intel Arc

# Below 2 lines different from the original example, where transformers are patched with IPEX LLM
from ipex_llm import llm_patch
llm_patch(train=True)

# This below example is ported from https://github.com/THUDM/ChatGLM3/blob/main/finetune_demo/finetune_hf.py
# L417, L474 and L544-L546 are modified to enable the example on Intel Arc
import os
import jieba
import dataclasses as dc
Expand Down

0 comments on commit e088926

Please sign in to comment.