/RWKV-Classification

This is a project to train classification model using RWKV model from Huggingface transformers library

Primary LanguagePython

RWKV-Classification

This is a project to train classification model using RWKV model from Huggingface transformers library

Dependancies

  • transformers :4.30.2
  • torch >= 1.13.1+cu117
  • pandas : 2.0.2
  • peft : 0.3.0

Environment Variables

  • add the src folder to PYTHONPATH

Data preparation

I prepared ChnSentiCorp_htl data for testing. It's a Chinese hotel review data which is labeled as positive and negative.

It's a good start to test the classification model.

Base model download

Train the model

  • Call the train.py to train the model using your own data and base model.

Enjoy !