Thedatababbler commited on
Commit
4b28765
·
1 Parent(s): f37828a
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -13,9 +13,9 @@ def mlm(image, text):
13
  # 'location': f'[CLS] The {cls_name} normally appears at or near the [MASK] of a cell. [SEP]',
14
  # 'color': f'[CLS] When a cell is histologically stained, the {cls_name} are in [MASK] color. [SEP]',
15
  # 'shape': f'[CLS] Mostly the shape of {cls_name} is [MASK]. [SEP]',
16
- 'location': f'[CLS] The location of {text} is at [MASK] . [SEP]',
17
- 'color': f'[CLS] The typical color of {text} is [MASK] . [SEP]',
18
- 'shape': f'[CLS] The typical shape of {text} is [MASK] . [SEP]',
19
  #'def': f'{cls_name} is a . [SEP]',
20
  }
21
  ans = list()
 
13
  # 'location': f'[CLS] The {cls_name} normally appears at or near the [MASK] of a cell. [SEP]',
14
  # 'color': f'[CLS] When a cell is histologically stained, the {cls_name} are in [MASK] color. [SEP]',
15
  # 'shape': f'[CLS] Mostly the shape of {cls_name} is [MASK]. [SEP]',
16
+ 'location': f'[MASK] is the typical location where {text} is at.',
17
+ 'color': f'[MASK] is the typical color of {text}.',
18
+ 'shape': f'[MASK] is the typical shape of {text}.',
19
  #'def': f'{cls_name} is a . [SEP]',
20
  }
21
  ans = list()