wannaphong's picture
Update README.md
6603a58
|
raw
history blame
2.3 kB
metadata
license: cc0-1.0
task_categories:
  - text-generation
  - text2text-generation
language:
  - th
size_categories:
  - 10K<n<100K
dataset_info:
  features:
    - name: inputs
      dtype: string
    - name: targets
      dtype: string
  splits:
    - name: train
      num_bytes: 14852058
      num_examples: 21628
    - name: validation
      num_bytes: 1652269
      num_examples: 2404
    - name: test
      num_bytes: 1838253
      num_examples: 2671
  download_size: 3884924
  dataset_size: 18342580
tags:
  - instruct-fellow
pretty_name: i

wisesight_sentiment_prompt is the instruct fellow dataset for sentiment Thai text by prompt. It can use fine-tuning model.

  • inputs: Prompt
  • targets: Text targets that AI should answer.

Template

Inputs: จำแนกประโยคต่อไปนี้เป็นคำถามหรือข้อความที่มีความรู้สึกเชิงบวก ความรู้สึกเป็นกลาง และความรู้สึกเชิงลบ:\n{text}

targets: ประโยคที่กำหนดสามารถจำแนกได้เป็น{category}

category

  • คำถาม: question
  • ความรู้สึกเชิงบวก: positive
  • ความรู้สึกเป็นกลาง: neutral
  • ความรู้สึกเชิงลบ: negative

Notebook that used create this dataset: https://github.com/PyThaiNLP/support-aya-datasets/blob/main/sentiment-analysis/wisesight_sentiment.ipynb

Wisesight Sentiment Corpus: Social media messages in Thai language with sentiment category (positive, neutral, negative, question)

  • Released to public domain under Creative Commons Zero v1.0 Universal license.
  • Size: 26,737 messages
  • Language: Central Thai
  • Style: Informal and conversational. With some news headlines and advertisement.
  • Time period: Around 2016 to early 2019. With small amount from other period.
  • Domains: Mixed. Majority are consumer products and services (restaurants, cosmetics, drinks, car, hotels), with some current affairs.

See more: wisesight_sentiment.

PyThaiNLP