Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create FastText classifier module #546

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sarahyurick
Copy link
Collaborator

Creating a generic FastTextClassifier class and a DCLMFastTextClassifier class which uses https://huggingface.co/mlfoundations/fasttext-oh-eli5.

Implementation from: #536.

The Nemotron-CC classifiers from #518 were used in an ensemble with the DCLM FastText classifier, which is why I have created the module in this PR.

Unfortunately, this module is CPU-only, so I am keeping it as a draft for now. Ideally, we can try to accelerate it with CrossFit and include it among our suite of DistributedDataClassifier models. If not, this could still be nice to have in favor of the FastTextQualityFilter, which automatically filters by quality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant