Skip to content

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

Notifications You must be signed in to change notification settings

yynil/RWKV-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 !

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages