Spaces:
Runtime error
Runtime error
ronald
commited on
Commit
·
a3be851
1
Parent(s):
9a915a9
eval
Browse files- my_perplexity.py +4 -0
my_perplexity.py
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
# Copyright 2022 The HuggingFace Datasets Authors and the current dataset script contributor.
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
1 |
+
"""
|
2 |
+
adapted to support pegasus-xsum / local files
|
3 |
+
"""
|
4 |
+
|
5 |
# Copyright 2022 The HuggingFace Datasets Authors and the current dataset script contributor.
|
6 |
#
|
7 |
# Licensed under the Apache License, Version 2.0 (the "License");
|