nlp 421

Python 2025-07-26

NLP-421

这个项目已存档

火语的实现应用于NLP-FT项目。

一个探索性项目,用于获取和处理在NLP神经网络中使用的手套嵌入。

用法

  • 从终端开始

  • 用Anaconda版本创建的项目(Conda = 4.9.2)

 # make new conda environment (optional but recommended)
conda create -n nlp-421

# activate conda environment (if using your own env)
conda activate nlp-421

# install requirements (a wrapper for pip install)
make install
  • 运行默认脚本
 make run

当前状态

  • 目前着重于利用TorchText和Torchnlp的预构建方法,以获取数据集和加载向量进行NN培训。
  • 请参阅分支火炬

资源

  • 手套:https://nlp.stanford.edu/projects/glove/

  • 辅助功能可用于查找近距离嵌入和解析单词嵌入:https://medium.com/analytics-vidhya/basics-of-using-pre-tratain--tratained-glove-vectors-in-python-d38905f356db

下载源码

通过命令行克隆项目:

git clone https://github.com/Variable-Embedding/nlp-421.git