# Fasttext **Repository Path**: magicat128/fasttext ## Basic Information - **Project Name**: Fasttext - **Description**: No description available - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-22 - **Last Updated**: 2021-03-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Fasttext Bag of Tricks for Efficient Text Classification (Armand Joulin, Edouard Grave, and Piotr Bojanowski Tomas Mikolov. 2017. Bag of Tricks for Efficient Text Classification. In Proceedings of EACL.) Python Tensorflow Implementation on Ascend 910 environment Image Path : swr.cn-north-4.myhuaweicloud.com/ascend-share/3.3.0.alpha001_tensorflow-ascend910-cp37-euleros2.8-aarch64-training:1.15.0-2.0.12_0306 # Datasets AG_news Download:https://pan.baidu.com/s/1L9eNGT_gZdTrqmaccpAHJQ pyee # Results Top1 accuracy : 95.37 Top3 accuracy : 99.92 # Usage ``` python3 main.py --data_url PATH_TO_DATA \ --train_url PATH_TO_OUTPUT \ --embedding_dim 10 \ --num_epochs 5 \ --batch_size 4096 \ --dropout 0.5 \ --top_k 3 ```