Vít Novotný commited on
Commit
6b90090
1 Parent(s): f353573

Update section *How to use* in `README.md`

Browse files
Files changed (1) hide show
  1. README.md +12 -12
README.md CHANGED
@@ -55,24 +55,24 @@ You can use this model directly with a pipeline for masked language modeling:
55
  >>> unmasker = pipeline('fill-mask', model='witiko/mathberta')
56
  >>> unmasker(r"If [MATH] \theta = \pi [/MATH] , then [MATH] \sin(\theta) [/MATH] is <mask>.")
57
 
58
- [{'sequence': ' If \theta = \\pi, then\\sin( \theta) is zero.'
59
- 'score': 0.20843125879764557,
60
  'token': 4276,
61
  'token_str': ' zero'},
62
- {'sequence': ' If \theta = \\pi, then\\sin( \theta) is 0.'
63
- 'score': 0.15149112045764923,
64
  'token': 321,
65
  'token_str': ' 0'},
66
- {'sequence': ' If \theta = \\pi, then\\sin( \theta) is undefined.'
67
- 'score': 0.10619527101516724,
68
- 'token': 45436,
69
- 'token_str': ' undefined'},
70
- {'sequence': ' If \theta = \\pi, then\\sin( \theta) is 1.'
71
- 'score': 0.09486620128154755,
72
  'token': 112,
73
  'token_str': ' 1'},
74
- {'sequence': ' If \theta = \\pi, then\\sin( \theta) is even.'
75
- 'score': 0.05402865260839462,
76
  'token': 190,
77
  'token_str': ' even'}]
78
  ```
 
55
  >>> unmasker = pipeline('fill-mask', model='witiko/mathberta')
56
  >>> unmasker(r"If [MATH] \theta = \pi [/MATH] , then [MATH] \sin(\theta) [/MATH] is <mask>.")
57
 
58
+ [{'sequence': ' If \\theta = \\pi, then\\sin(\\theta ) is zero.'
59
+ 'score': 0.23291291296482086,
60
  'token': 4276,
61
  'token_str': ' zero'},
62
+ {'sequence': ' If \\theta = \\pi, then\\sin(\\theta ) is 0.'
63
+ 'score': 0.11734672635793686,
64
  'token': 321,
65
  'token_str': ' 0'},
66
+ {'sequence': ' If \\theta = \\pi, then\\sin(\\theta ) is real.'
67
+ 'score': 0.0793389230966568,
68
+ 'token': 588,
69
+ 'token_str': ' real'},
70
+ {'sequence': ' If \\theta = \\pi, then\\sin(\\theta ) is 1.'
71
+ 'score': 0.0753420740365982,
72
  'token': 112,
73
  'token_str': ' 1'},
74
+ {'sequence': ' If \\theta = \\pi, then\\sin(\\theta ) is even.'
75
+ 'score': 0.06487451493740082,
76
  'token': 190,
77
  'token_str': ' even'}]
78
  ```