pa90's picture
Update README.md
0894b5a verified
metadata
language: en
license: mit
base_model: FacebookAI/roberta-base
tags:
  - sequence-classification
  - metaphor-scoring
  - roberta
  - nlp
task_categories:
  - text-classification

How to Use

  1. Install Python
  2. Open Command Prompt and install required packages: Type "pip install torch transformers"
  3. In Command Prompt, go to the folder where you saved "Metaphor_Scoring_Model" Example: cd C:\Downloads\Metaphor_Scoring_Model (You have to add the letters "cd")
  4. Run: Type "python Interactive.py"

Model Details

  • Task: Metaphor novelty scoring (1-4 scale)
  • Output Scores:
    • 1: Conventional/literal expression
    • 2: Slightly metaphorical
    • 3: Moderately metaphorical
    • 4: Highly novel metaphor

Attribution

This model is fine-tuned from FacebookAI/roberta-base, which is licensed under MIT.