Comments (1)
I solved the issue by adding the parameter transformer-token-type-ids
to my component:
components=[Component(id="e5", type="hugging-face-embedder",
parameters=[
Parameter("transformer-model", {"path": "models/multilingual_e5_small.onnx"}),
Parameter("tokenizer-model", {"path": "models/tokenizer.json"}),
Parameter("transformer-token-type-ids", args=dict(), children=""),
Parameter("normalize", args=dict(), children="true")
])]
or in the services.xml
:
<component id="e5" type="hugging-face-embedder">
<transformer-model path="models/multilingual_e5_small.onnx"/>
<tokenizer-model path="models/tokenizer.json"/>
<transformer-token-type-ids/>
<normalize>true</normalize>
</component>
from sample-apps.
Related Issues (6)
- Dependency Dashboard
- Do you have this dataset? HOT 1
- When deploying vespa ha on self-built kubernetes, it reports that the host name cannot be resolved. HOT 10
- ValueError: Application package name must start with a letter, must be lowercase, can only contain [a-z0-9], and may contain no more than 20 characters, was 'video_search' HOT 2
- Exposing vespa-internal service via LB
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sample-apps.