Skip to content

Commit

Permalink
clarify fasttext README
Browse files Browse the repository at this point in the history
  • Loading branch information
jwmueller authored Jul 9, 2024
1 parent 397b1f4 commit 90ee4b7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions fasttext_amazon_reviews/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Training a Fasttext model on the amazon reviews dataset

This example demonstrates the use of the following module below from cleanlab:

- [cleanlab.models.fasttext.py](https://github.com/cleanlab/cleanlab/blob/master/cleanlab/models/fasttext.py)

The code is adapted from cleanlab v1 examples (see `contrib/v1` folder).
This example demonstrates how to wrap a Fasttext model to be sklearn-compatible for direct compatibility with `cleanlab.classification`. The wrapper code is in **fasttext_wrapper.py** and the notebook demonstrates how to apply it to a text classification dataset.

## Instructions

Expand All @@ -20,4 +16,4 @@ Run bash script below to download all the data.
$ bash ./download_data.sh
```

Start Jupyter Lab and run the notebook: `fasttext_amazon_reviews.ipynb`
Start Jupyter and run the notebook: `fasttext_amazon_reviews.ipynb`

0 comments on commit 90ee4b7

Please sign in to comment.