kkawamu1 commited on
Commit
1f6c0e9
1 Parent(s): 3689d8e

Update run_eval.py

Browse files
Files changed (1) hide show
  1. app/evaluation_scripts/run_eval.py +17 -0
app/evaluation_scripts/run_eval.py CHANGED
@@ -1,3 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import torch
2
  from accelerate import Accelerator
3
  from transformers import (AutoModelForCausalLM, AutoModelForSeq2SeqLM,
1
+ # Copyright 2022 Ken Kawamura
2
+ # Copyright BigScience, The HuggingFace Team and The HuggingFace Inc. team. All rights reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ # This file has been modifed from the original version on https://github.com/bigscience-workshop/t-zero/blob/master/evaluation/run_eval.py
17
+
18
  import torch
19
  from accelerate import Accelerator
20
  from transformers import (AutoModelForCausalLM, AutoModelForSeq2SeqLM,