Reduce README precision
This commit is contained in:
parent
f31033c119
commit
342d3fcc17
|
@ -43,7 +43,7 @@ from transformers import pipeline
|
||||||
pipe = pipeline('sentiment-analysis')
|
pipe = pipeline('sentiment-analysis')
|
||||||
|
|
||||||
out = pipe('I love transformers!')
|
out = pipe('I love transformers!')
|
||||||
# [{'label': 'POSITIVE', 'score': 0.999806940556}]
|
# [{'label': 'POSITIVE', 'score': 0.999806941}]
|
||||||
```
|
```
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
@ -56,7 +56,7 @@ import { pipeline } from "@xenova/transformers";
|
||||||
let pipe = await pipeline('sentiment-analysis');
|
let pipe = await pipeline('sentiment-analysis');
|
||||||
|
|
||||||
let out = await pipe('I love transformers!');
|
let out = await pipe('I love transformers!');
|
||||||
// [{'label': 'POSITIVE', 'score': 0.999817685727}]
|
// [{'label': 'POSITIVE', 'score': 0.999817686}]
|
||||||
```
|
```
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -438,7 +438,7 @@
|
||||||
pipe = pipeline('sentiment-analysis')
|
pipe = pipeline('sentiment-analysis')
|
||||||
|
|
||||||
out = pipe('I love transformers!')
|
out = pipe('I love transformers!')
|
||||||
# [{'label': 'POSITIVE', 'score': 0.999806940556}]</code></pre>
|
# [{'label': 'POSITIVE', 'score': 0.999806941}]</code></pre>
|
||||||
<p class="mb-0 text-center">Python (original)</p>
|
<p class="mb-0 text-center">Python (original)</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -449,7 +449,7 @@ out = pipe('I love transformers!')
|
||||||
let pipe = await pipeline('sentiment-analysis');
|
let pipe = await pipeline('sentiment-analysis');
|
||||||
|
|
||||||
let out = await pipe('I love transformers!');
|
let out = await pipe('I love transformers!');
|
||||||
// [{'label': 'POSITIVE', 'score': 0.999817685727}]</code></pre>
|
// [{'label': 'POSITIVE', 'score': 0.999817686}]</code></pre>
|
||||||
<p class="mb-0 text-center">JavaScript (ours)</p>
|
<p class="mb-0 text-center">JavaScript (ours)</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue