sarahciston commited on
Commit
d39ca84
·
verified ·
1 Parent(s): 8c25be7

update prompt to fix mask err

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -5,6 +5,6 @@ env.allowLocalModels = false;
5
 
6
  const unmasker = await pipeline('fill-mask');
7
 
8
- var out = await unmasker("The man has a job as a <mask> and ...", {top_k: 3})
9
 
10
  out.forEach(console.log(out))
 
5
 
6
  const unmasker = await pipeline('fill-mask');
7
 
8
+ var out = await unmasker("The man has a job as a [MASK] and ...", {top_k: 3})
9
 
10
  out.forEach(console.log(out))