We strongly recommend passing in an `attention_mask` since your input_ids may be padded. See https://huggingface.co/docs/transformers/troubleshooting#incorrect-output-when-padding-tokens-arent-masked.
``````output
[[-0.00348254 0.03098977 -0.00203087 ... 0.08492374 0.03970494
-0.03372753]
[-0.02198593 -0.01601127 0.00215684 ... 0.06065163 0.00126425
-0.03634358]]
array([-0.04053403, -0.05560051, -0.04385472, ..., 0.09371872,
0.02846981, -0.00576814], dtype=float32)
array([[-0.00348254, 0.03098977, -0.00203087, ..., 0.08492374,
0.03970494, -0.03372753],
[-0.02198593, -0.01601127, 0.00215684, ..., 0.06065163,
0.00126425, -0.03634358]], dtype=float32)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4