Skip to content

Commit

Permalink
Merge pull request #134 from TomNong/fix-pack
Browse files Browse the repository at this point in the history
Fix FileNotFoundError when calling `bleu_moses` from installed package
  • Loading branch information
TomNong committed Jul 31, 2019
2 parents e3f46a9 + 1bcdd2e commit 95de898
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/gpt-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ generates continuation of the context. The example supports both Top-K and Top-P

```bash
python gpt2_generate_main.py --interactive \
--max-decoding_length=100 \
--max-decoding-length=100 \
--temperature=0.7 \
--top-k=40
```
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
'extras': ['Pillow>=3.0'],
},
package_data={
"texar": [
"../bin/utils/multi-bleu.perl",
"texar.torch": [
"../../bin/utils/multi-bleu.perl",
]
},
classifiers=[
Expand Down

0 comments on commit 95de898

Please sign in to comment.