Skip to content

Commit 95de898

Browse files
authored
Merge pull request #134 from TomNong/fix-pack
Fix FileNotFoundError when calling `bleu_moses` from installed package
2 parents e3f46a9 + 1bcdd2e commit 95de898

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/gpt-2/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ generates continuation of the context. The example supports both Top-K and Top-P
4545

4646
```bash
4747
python gpt2_generate_main.py --interactive \
48-
--max-decoding_length=100 \
48+
--max-decoding-length=100 \
4949
--temperature=0.7 \
5050
--top-k=40
5151
```

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
'extras': ['Pillow>=3.0'],
4343
},
4444
package_data={
45-
"texar": [
46-
"../bin/utils/multi-bleu.perl",
45+
"texar.torch": [
46+
"../../bin/utils/multi-bleu.perl",
4747
]
4848
},
4949
classifiers=[

0 commit comments

Comments
 (0)