Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { checkModelCompatibility } from '@/utils/model-check';
arguments: '<model_id>',
argsDescription: { model_id: 'Model repo to pull' },
description:
'Download a model from a registry. Working with HuggingFace repositories. For available models, please visit https://huggingface.co/cortexhub',
'Download a model from a registry. Working with HuggingFace repositories. For available models, please visit https://huggingface.co/cortexso',
})
@SetCommandContext()
export class ModelPullCommand extends CommandRunner {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class RunCommand extends CommandRunner {
// Try Pull
if (!(await this.modelsCliUsecases.getModel(modelId))) {
console.log(
`${modelId} not found on filesystem. Downloading from remote: https://huggingface.co/cortexhub if possible.`,
`${modelId} not found on filesystem. Downloading from remote: https://huggingface.co/cortexso if possible.`,
);
await this.modelsCliUsecases.pullModel(modelId).catch((e: Error) => {
if (e instanceof ModelNotFoundException)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export class BenchmarkCliUsecases {
};

const model = params?.model ?? this.config.api.parameters.model;
// TODO: Using OpenAI client or Cortex client to benchmark?
this.cortexClient = new Cortex({
apiKey: this.config.api.api_key,
baseURL: this.config.api.base_url,
Expand Down
2 changes: 1 addition & 1 deletion cortex-js/src/infrastructure/constants/huggingface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const HUGGING_FACE_TREE_REF_URL = (
repo: string,
tree: string,
path: string,
) => `https://huggingface.co/cortexhub/${repo}/resolve/${tree}/${path}`;
) => `https://huggingface.co/cortexso/${repo}/resolve/${tree}/${path}`;

export const HUGGING_FACE_DOWNLOAD_FILE_MAIN_URL = (
modelId: string,
Expand Down
4 changes: 2 additions & 2 deletions cortex-js/src/utils/huggingface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export async function fetchJanRepoData(
modelId.split(':')[1] ?? !modelId.includes('/') ? 'default' : '',
);
const url = getRepoModelsUrl(
`${!modelId.includes('/') ? 'cortexhub/' : ''}${repo}`,
`${!modelId.includes('/') ? 'cortexso/' : ''}${repo}`,
tree,
);

Expand Down Expand Up @@ -165,7 +165,7 @@ export async function fetchJanRepoData(
tags: ['gguf'],
id: modelId,
modelId: modelId,
author: 'cortexhub',
author: 'cortexso',
sha: '',
downloads: 0,
lastModified: '',
Expand Down