Reduce README precision

This commit is contained in:
Joshua Lochner 2023-03-14 15:23:13 +02:00
parent f31033c119
commit 342d3fcc17
2 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ from transformers import pipeline
pipe = pipeline('sentiment-analysis')
out = pipe('I love transformers!')
# [{'label': 'POSITIVE', 'score': 0.999806940556}]
# [{'label': 'POSITIVE', 'score': 0.999806941}]
```
</td>
@ -56,7 +56,7 @@ import { pipeline } from "@xenova/transformers";
let pipe = await pipeline('sentiment-analysis');
let out = await pipe('I love transformers!');
// [{'label': 'POSITIVE', 'score': 0.999817685727}]
// [{'label': 'POSITIVE', 'score': 0.999817686}]
```
</td>

View File

@ -438,7 +438,7 @@
pipe = pipeline('sentiment-analysis')
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>
</div>
@ -449,7 +449,7 @@ out = pipe('I love transformers!')
let pipe = await pipeline('sentiment-analysis');
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>
</div>
</div>