Thedatababbler commited on
Commit
8bac429
·
1 Parent(s): 53c516b
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'[MASK] is where the typical location where {text} is at.',
17
- 'color': f'[MASK] color is the typical color of {text}.',
18
- 'shape': f'[MASK] shape is the typical shape of {text}.',
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'This {text} is at [MASK] place.',
17
+ 'color': f' This {text} is in [MASK] color.',
18
+ 'shape': f' This {text} is in [MASK] shape.',
19
  #'def': f'{cls_name} is a . [SEP]',
20
  }
21
  ans = list()