/nlp-tasks-examples-icip

This is a code example repo for the NLP course offered by the Institute of Chinese Information Processing of BNU.

Primary LanguageJupyter Notebook

NLP代码示例 - ICIP

本仓库包含北京师范大学中文信息处理研究所开设的自然语言处理课程的代码示例。

2024年

  • 基于PyTorch使用CNN/LSTM进行imdb情感分类
  • 基于HuggingFace的transformers库使用BERT进行imdb情感分类
  • 基于HuggingFace的transformers库使用bart/t5进行文白机器翻译
  • 大语言模型API调用
  • 基于HuggingFace的transformers库在弱智吧数据集上对qwen系列模型进行监督微调(SFT)

2023年

  • 使用全连接神经网络进行豆瓣书评情感二分类: fc_torch_text_classification.ipynb
  • 使用预训练模型BERT进行豆瓣书评情感二分类: douban-classification-bert.ipynb