Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
f6a016f4
Unverified
Commit
f6a016f4
authored
Dec 16, 2025
by
Michael Yang
Committed by
GitHub
Dec 16, 2025
Browse files
revert granite-embedding (#13505)
parent
45c47393
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
model/models/bert/embed.go
model/models/bert/embed.go
+0
-2
No files found.
model/models/bert/embed.go
View file @
f6a016f4
...
@@ -157,8 +157,6 @@ func New(c fs.Config) (model.Model, error) {
...
@@ -157,8 +157,6 @@ func New(c fs.Config) (model.Model, error) {
switch
c
.
String
(
"tokenizer.ggml.model"
,
"bert"
)
{
switch
c
.
String
(
"tokenizer.ggml.model"
,
"bert"
)
{
case
"bert"
:
case
"bert"
:
processor
=
model
.
NewWordPiece
(
vocab
,
true
)
processor
=
model
.
NewWordPiece
(
vocab
,
true
)
case
"gpt2"
:
processor
=
model
.
NewBytePairEncoding
(
vocab
)
default
:
default
:
return
nil
,
model
.
ErrUnsupportedTokenizer
return
nil
,
model
.
ErrUnsupportedTokenizer
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment