fastText 安装步骤
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
Requirements
fastText builds on modern Mac OS and Linux distributions. Since it uses C++11 features, it requires a compiler with good C++11 support. These include :
(gcc-4.8 or newer) or (clang-3.3 or newer)
yum upgrade gcc
yum install gcc-c++
yum install python-devel
You will need
Python version 2.7 or >=3.4
NumPy & SciPy
pybind11
Building fastText
The easiest way to install fastText is to use pip.
$ git clone https://github.com/facebookresearch/fastText.git
$ cd fastText
$ pip install .
Alternatively you can also install fastText using setuptools.
$ git clone https://github.com/facebookresearch/fastText.git
$ cd fastText
$ python setup.py install
Now you can import this library with
import fastText
这里是安装了pyhton文件中fastText模块
我们如果自己用需要按照以下方式
使用make构建fastText(首选)
$ wget https://github.com/facebookresearch/fastText/archive/v0.1.0.zip
$ unzip v0.1.0.zip
$ cd fastText-0.1.0
$ make
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:1 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
已为社区贡献3条内容
所有评论(0)