Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
fix neural engine error (#1642)
Browse files Browse the repository at this point in the history
Signed-off-by: intellinjun <[email protected]>
  • Loading branch information
intellinjun authored Jun 28, 2024
1 parent 76aa9b1 commit 816f475
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
neural-compressor
intel-extension-for-transformers==1.4.2
neural-compressor==2.6
transformers
accelerate
datasets >= 1.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
neural-compressor
intel-extension-for-transformers==1.4.2
neural-compressor==2.6
transformers
accelerate
datasets >= 1.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
neural-compressor
intel-extension-for-transformers==1.4.2
neural-compressor==2.6
transformers
accelerate
datasets >= 1.8.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def preprocess_function(examples):

# Get the metric function
if data_args.task_name is not None:
metric = load_metric("glue", data_args.task_name)
metric = load_metric("glue", data_args.task_name,trust_remote_code=True)
else:
metric = load_metric("accuracy")

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
neural-compressor
intel-extension-for-transformers==1.4.2
neural-compressor==2.6
transformers
accelerate
datasets >= 1.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
neural-compressor
intel-extension-for-transformers==1.4.2
neural-compressor==2.6
transformers
accelerate
datasets >= 1.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
neural-compressor
intel-extension-for-transformers==1.4.2
neural-compressor==2.6
transformers
accelerate
datasets >= 1.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
neural-compressor
intel-extension-for-transformers==1.4.2
neural-compressor==2.6
transformers
accelerate
datasets >= 1.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
neural-compressor
intel-extension-for-transformers==1.4.2
neural-compressor==2.6
transformers
accelerate
datasets >= 1.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
neural-compressor
intel-extension-for-transformers==1.4.2
neural-compressor==2.6
transformers
accelerate
datasets >= 1.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
neural-compressor
intel-extension-for-transformers==1.4.2
neural-compressor==2.6
transformers
accelerate
datasets >= 1.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
neural-compressor
intel-extension-for-transformers==1.4.2
neural-compressor==2.6
transformers
accelerate
datasets >= 1.8.0
Expand Down

0 comments on commit 816f475

Please sign in to comment.