Skip to content

Commit 1851fa3

Browse files
committed
proper repo id for bert-base-uncased
1 parent 9401982 commit 1851fa3

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

packages/hub/src/lib/file-download-info.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ describe("fileDownloadInfo", () => {
55
it("should fetch LFS file info", async () => {
66
const info = await fileDownloadInfo({
77
repo: {
8-
name: "bert-base-uncased",
8+
name: "google-bert/bert-base-uncased",
99
type: "model",
1010
},
1111
path: "tf_model.h5",
@@ -19,7 +19,7 @@ describe("fileDownloadInfo", () => {
1919
it("should fetch raw LFS pointer info", async () => {
2020
const info = await fileDownloadInfo({
2121
repo: {
22-
name: "bert-base-uncased",
22+
name: "google-bert/bert-base-uncased",
2323
type: "model",
2424
},
2525
path: "tf_model.h5",
@@ -34,7 +34,7 @@ describe("fileDownloadInfo", () => {
3434
it("should fetch non-LFS file info", async () => {
3535
const info = await fileDownloadInfo({
3636
repo: {
37-
name: "bert-base-uncased",
37+
name: "google-bert/bert-base-uncased",
3838
type: "model",
3939
},
4040
path: "tokenizer_config.json",

packages/hub/src/lib/file-exists.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ describe("fileExists", () => {
55
it("should return true for file that exists", async () => {
66
const info = await fileExists({
77
repo: {
8-
name: "bert-base-uncased",
8+
name: "google-bert/bert-base-uncased",
99
type: "model",
1010
},
1111
path: "tf_model.h5",
@@ -18,7 +18,7 @@ describe("fileExists", () => {
1818
it("should return false for file that does not exist", async () => {
1919
const info = await fileExists({
2020
repo: {
21-
name: "bert-base-uncased",
21+
name: "google-bert/bert-base-uncased",
2222
type: "model",
2323
},
2424
path: "tf_model.h5dadazdzazd",

packages/hub/src/lib/list-files.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe("listFiles", () => {
66
it("should fetch the list of files from the repo", async () => {
77
const cursor = listFiles({
88
repo: {
9-
name: "bert-base-uncased",
9+
name: "google-bert/bert-base-uncased",
1010
type: "model",
1111
},
1212
revision: "dd4bc8b21efa05ec961e3efc4ee5e3832a3679c7",
@@ -67,7 +67,7 @@ describe("listFiles", () => {
6767
it("should fetch the list of files from the repo, including last commit", async () => {
6868
const cursor = listFiles({
6969
repo: {
70-
name: "bert-base-uncased",
70+
name: "google-bert/bert-base-uncased",
7171
type: "model",
7272
},
7373
revision: "dd4bc8b21efa05ec961e3efc4ee5e3832a3679c7",

packages/hub/src/lib/parse-safetensors-metadata.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { sum } from "../utils/sum";
55
describe("parseSafetensorsMetadata", () => {
66
it("fetch info for single-file (with the default conventional filename)", async () => {
77
const parse = await parseSafetensorsMetadata({
8-
repo: "bert-base-uncased",
8+
repo: "google-bert/bert-base-uncased",
99
computeParametersCount: true,
1010
revision: "86b5e0934494bd15c9632b12f734a8a67f723594",
1111
});

packages/hub/src/lib/paths-info.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe("pathsInfo", () => {
66
it("should fetch LFS path info", async () => {
77
const result: PathInfo[] = await pathsInfo({
88
repo: {
9-
name: "bert-base-uncased",
9+
name: "google-bert/bert-base-uncased",
1010
type: "model",
1111
},
1212
paths: ["tf_model.h5"],
@@ -35,7 +35,7 @@ describe("pathsInfo", () => {
3535
securityFileStatus: SecurityFileStatus;
3636
})[] = await pathsInfo({
3737
repo: {
38-
name: "bert-base-uncased",
38+
name: "google-bert/bert-base-uncased",
3939
type: "model",
4040
},
4141
paths: ["tf_model.h5"],
@@ -59,7 +59,7 @@ describe("pathsInfo", () => {
5959
it("non-LFS pointer should have lfs undefined", async () => {
6060
const result: PathInfo[] = await pathsInfo({
6161
repo: {
62-
name: "bert-base-uncased",
62+
name: "google-bert/bert-base-uncased",
6363
type: "model",
6464
},
6565
paths: ["config.json"],

0 commit comments

Comments
 (0)