Anush008 / fastembed-go

Go implementation of @qdrant/fastembed.
https://pkg.go.dev/github.com/anush008/fastembed-go
MIT License
45 stars 4 forks source link

fix: GH Actions BGESmall #3

Closed Anush008 closed 1 year ago

Anush008 commented 1 year ago

Testing PR for GH test worflow failure with the BGESmall model

Anush008 commented 1 year ago

The max_model_length of bge-small-en being 1000000000000000019884624838656 overflows in the Actions environment. "Works on my machine" moment here.

Model is local_cache/fast-bge-small-en with max length -9223372036854775808
--- FAIL: TestEmbedBGESmallEN (2.36s)
    fastembed_test.go:66: Expected no error, got The tensor's shape ([1 512]) requires 512 elements, but only 8 were provided
Anush008 commented 1 year ago

Squash and merge!!!!!!!!!!!!!!!!!!!!

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 0.2.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: