Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for distilbert and spacy transformer models for text-encondings #7

Open
meetsoni15 opened this issue Nov 30, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@meetsoni15
Copy link

Currently its supporting six models as per downloadmodel.go file

var supportedModelsFiles = map[string][]string{
	"bart":       {"pytorch_model.bin", "vocab.json", "merges.txt"},
	"pegasus":    {"pytorch_model.bin", "spiece.model"},
	"marian":     {"pytorch_model.bin", "vocab.json", "source.spm", "target.spm"},
	"bert":       {"pytorch_model.bin", "vocab.txt", "tokenizer_config.json"},
	"electra":    {"pytorch_model.bin", "vocab.txt", "tokenizer_config.json"},
	"flair":      {"pytorch_model.bin"},
}

when we are trying to use GPL/dbpedia-entity-msmarco-distilbert-gpl for text encoding got below error

{"level":"fatal","error":"failed to convert model: unsupported model type: \"distilbert\"","time":"2022-11-30T10:37:21+05:30"}
@matteo-grella matteo-grella self-assigned this Dec 2, 2022
@matteo-grella matteo-grella added the enhancement New feature or request label Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants