Skip to content

Commit

Permalink
use of .json extesnion instead of .ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lsadfjl committed Feb 26, 2023
1 parent dfe9751 commit fe271cb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/mod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import encoder from "./encoder.ts";
import bpe_file from "./bpe-vocab.ts";
import encoder from "./encoder.json" assert { type: "json" };
import bpe_file from "./bpe-vocab.json" assert { type: "json" };
const range = (x: number, y: number) => {
const res = Array.from(Array(y).keys()).slice(x);
return res;
Expand Down

0 comments on commit fe271cb

Please sign in to comment.