# transformer_test **Repository Path**: 280789588/transformer_test ## Basic Information - **Project Name**: transformer_test - **Description**: 手敲transformer - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-06-18 - **Last Updated**: 2024-11-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 一、fasttext的安装 离线安装: 下载:https://pypi.org/project/fasttext-wheel/#files 根据操作系统和python版本下载对应的包:fasttext_wheel-0.9.2-cp312-cp312-win_amd64.whl pip install .\fasttext_wheel-0.9.2-cp312-cp312-win_amd64.whl 直接安装: pip install fasttext 编译安装: git clone https://github.com/facebookresearch/fastText.git cd fastText pip install . 二、获取数据 # 获取烹饪相关的数据集,它是由facebook AI实验室提供的演示数据集 wget https://dl.fbaipublicfiles.com/fasttext/data/cooking.stackexchange.tar.gz && tar xvzf cooking.stackexchange.tar.gz