PurpleFastText

A simple implementation of FastText from https://arxiv.org/pdf/1607.04606.

Made for beginner to reference and learn from. This repository contains tokenizer.json, model.safetensors, and train.ipynb. The training workflow use modern libraries like HuggingFace's datasets and tokenizers. The rest is just PyTorch.

There are some algorithm which we decided to not implement which is the hashing function from the original paper. The resulting training workflow is not as fast as the paper suggest, maybe it is because of the use of Python instead of Hogwild! instead.

Downloads last month
-
Safetensors
Model size
358k params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for LocalWisdom/PurpleFastText

Finetuned
(1)
this model

Dataset used to train LocalWisdom/PurpleFastText

Collection including LocalWisdom/PurpleFastText

Paper for LocalWisdom/PurpleFastText