File size: 874 Bytes
4c9e241
0894b5a
4c9e241
 
 
0894b5a
 
4c9e241
0894b5a
 
4c9e241
 
 
0894b5a
4c9e241
0894b5a
 
 
 
 
4c9e241
0894b5a
4c9e241
0894b5a
 
4c9e241
 
 
 
 
0894b5a
4c9e241
0894b5a
4c9e241
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
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](https://huggingface.co/FacebookAI/roberta-base), which is licensed under MIT.