mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-09 17:28:58 +00:00
feat: 修改文件名
This commit is contained in:
parent
49cb6293c6
commit
84df4034ef
2 changed files with 2 additions and 2 deletions
|
|
@ -10,10 +10,10 @@ import (
|
|||
tiktoken "github.com/pkoukk/tiktoken-go"
|
||||
)
|
||||
|
||||
//go:embed embed/*.tiktoken
|
||||
//go:embed bpe_data/*.tiktoken
|
||||
var embedFS embed.FS
|
||||
|
||||
const embedPrefix = "embed/"
|
||||
const embedPrefix = "bpe_data/"
|
||||
|
||||
// initEmbeddedLoader configures tiktoken to use embedded BPE data instead of fetching from network.
|
||||
// Call this once during application startup, before any GetEncoding/EncodingForModel calls.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue