add reference to filed issue
This commit is contained in:
@@ -93,6 +93,7 @@ public func loadTokenizer(name: String) async throws -> Tokenizer {
|
|||||||
|
|
||||||
public func discardUnhandledMerges(tokenizerData: Config) -> Config {
|
public func discardUnhandledMerges(tokenizerData: Config) -> Config {
|
||||||
// see https://github.com/ml-explore/mlx-swift-examples/issues/1
|
// see https://github.com/ml-explore/mlx-swift-examples/issues/1
|
||||||
|
// and https://github.com/huggingface/swift-transformers/issues/51
|
||||||
|
|
||||||
if let model = tokenizerData.model {
|
if let model = tokenizerData.model {
|
||||||
if let merges = model.dictionary["merges"] as? [String] {
|
if let merges = model.dictionary["merges"] as? [String] {
|
||||||
|
|||||||
Reference in New Issue
Block a user