Skip to content

Commit

Permalink
move tests to OSS / util / update package name
Browse files Browse the repository at this point in the history
Summary: See title.

Differential Revision: D6477912

fbshipit-source-id: 6f9f0f4d6e1c8a4b20f117f2ad2d12211d09ac5a
  • Loading branch information
cpuhrsch authored and facebook-github-bot committed Dec 8, 2017
1 parent a3cd0f1 commit bcd5250
Show file tree
Hide file tree
Showing 12 changed files with 494 additions and 623 deletions.
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ To create a pull request:
5. Make sure your code lints.
6. If you haven't already, complete the Contributor License Agreement ("CLA").

## Tests
First, you will need to make sure you have the required data. For that, please have a look at the fetch_test_data.sh script under tests. Next run the tests using the runtests.py script passing a path to the directory containing the datasets.

## Contributor License Agreement ("CLA")
In order to accept your pull request, we need you to submit a CLA. You only need
to do this once to work on any of Facebook's open source projects.
Expand Down
2 changes: 0 additions & 2 deletions python/fastText/FastText.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ def train_supervised(
label="__label__",
verbose=2,
pretrainedVectors="",
saveOutput=0
):
"""
Train a supervised model and return a model object.
Expand Down Expand Up @@ -322,7 +321,6 @@ def train_unsupervised(
label="__label__",
verbose=2,
pretrainedVectors="",
saveOutput=0
):
"""
Train an unsupervised model and return a model object.
Expand Down
7 changes: 0 additions & 7 deletions python/fastText/test/README.md

This file was deleted.

Loading

0 comments on commit bcd5250

Please sign in to comment.