Add transformers.js example code

#6
by Xenova HF staff - opened

JS output is as expected:

[
  {
    corpus_id: 3,
    score: 0.954780638217926,
    text: 'Natural organic skincare range for sensitive skin'
  },
  {
    corpus_id: 2,
    score: 0.8185697793960571,
    text: 'Organic cotton baby clothes for sensitive skin'
  },
  {
    corpus_id: 6,
    score: 0.5848757028579712,
    text: 'Sensitive skin-friendly facial cleansers and toners'
  }
]
numb3r3 changed pull request status to merged

Sign up or log in to comment