mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-28 08:00:19 +00:00
feat(ai): refine model navigation and downloader translations (#14228)
This commit is contained in:
@@ -1059,7 +1059,7 @@ const message = {
|
||||
deployments: 'Local deployments',
|
||||
files: 'Model files',
|
||||
connectExternal: 'Connect external service',
|
||||
deploymentTemplates: 'Startup command templates',
|
||||
deploymentTemplates: 'vLLM startup command templates',
|
||||
engineProvider: 'Engine / Provider',
|
||||
endpoint: 'Endpoint',
|
||||
cloudAccount: 'Cloud account',
|
||||
@@ -1088,15 +1088,16 @@ const message = {
|
||||
customAddress: 'Custom address',
|
||||
downloader: 'Downloader',
|
||||
modelDir: 'Model directory',
|
||||
manualDownload: 'Manual Download',
|
||||
modelSource: 'Model source',
|
||||
repoID: 'Repository ID',
|
||||
endpointLabel: '{0} endpoint',
|
||||
acceleratedEndpointLabel: '{0} acceleration endpoint',
|
||||
tokenOptionalLabel: '{0} Token (optional)',
|
||||
searchSource: 'Search {0}',
|
||||
tokenLabel: '{0} Token',
|
||||
hfEndpointHelper:
|
||||
'Configure an acceleration endpoint when HuggingFace access is unstable. Search, details, and downloads will use it.',
|
||||
sortDefault: 'Default sort',
|
||||
sortMostParameters: 'Most parameters',
|
||||
sortLeastParameters: 'Least parameters',
|
||||
sortTrending: 'Trending',
|
||||
sortLikes: 'Most liked',
|
||||
sortDownloads: 'Most downloaded',
|
||||
@@ -1105,7 +1106,6 @@ const message = {
|
||||
downloadsCount: 'Downloads',
|
||||
likes: 'Likes',
|
||||
progress: 'Progress',
|
||||
localDownloaded: 'Downloaded',
|
||||
modelInfo: 'Model Details',
|
||||
downloading: 'Downloading',
|
||||
canceled: 'Canceled',
|
||||
@@ -2074,8 +2074,6 @@ const message = {
|
||||
downloadTokenizer: 'Download tokenizer',
|
||||
onlineDownload: 'Online download',
|
||||
content: 'Download content',
|
||||
fullModel: 'Full model',
|
||||
tokenizerOnly: 'Tokenizer only',
|
||||
deleteFiles: 'Also delete files',
|
||||
deleteFilesHelp: 'When selected, the tokenizer directory and all its files will be deleted.',
|
||||
},
|
||||
|
||||
@@ -1061,7 +1061,7 @@ const message = {
|
||||
deployments: 'Despliegues locales',
|
||||
files: 'Archivos de modelos',
|
||||
connectExternal: 'Conectar servicio externo',
|
||||
deploymentTemplates: 'Plantillas de comandos de inicio',
|
||||
deploymentTemplates: 'Plantillas de comandos de inicio de vLLM',
|
||||
engineProvider: 'Motor / Proveedor',
|
||||
endpoint: 'Punto de conexión',
|
||||
cloudAccount: 'Cuenta en la nube',
|
||||
@@ -1090,15 +1090,16 @@ const message = {
|
||||
customAddress: 'Dirección personalizada',
|
||||
downloader: 'Descargador',
|
||||
modelDir: 'Directorio del modelo',
|
||||
manualDownload: 'Descarga manual',
|
||||
modelSource: 'Fuente del modelo',
|
||||
repoID: 'ID del repositorio',
|
||||
endpointLabel: 'Endpoint de {0}',
|
||||
acceleratedEndpointLabel: 'Endpoint de aceleración de {0}',
|
||||
tokenOptionalLabel: 'Token de {0} (opcional)',
|
||||
searchSource: 'Buscar en {0}',
|
||||
tokenLabel: 'Token de {0}',
|
||||
hfEndpointHelper:
|
||||
'Configure un endpoint de aceleración cuando el acceso a HuggingFace sea inestable. La búsqueda, los detalles y las descargas lo utilizarán.',
|
||||
sortDefault: 'Orden predeterminado',
|
||||
sortMostParameters: 'Más parámetros',
|
||||
sortLeastParameters: 'Menos parámetros',
|
||||
sortTrending: 'Tendencias',
|
||||
sortLikes: 'Más valorados',
|
||||
sortDownloads: 'Más descargados',
|
||||
@@ -1107,7 +1108,6 @@ const message = {
|
||||
downloadsCount: 'Descargas',
|
||||
likes: 'Me gusta',
|
||||
progress: 'Progreso',
|
||||
localDownloaded: 'Descargados',
|
||||
modelInfo: 'Detalles del modelo',
|
||||
downloading: 'Descargando',
|
||||
canceled: 'Cancelado',
|
||||
@@ -2091,8 +2091,6 @@ const message = {
|
||||
downloadTokenizer: 'Descargar tokenizador',
|
||||
onlineDownload: 'Descarga en línea',
|
||||
content: 'Contenido de descarga',
|
||||
fullModel: 'Modelo completo',
|
||||
tokenizerOnly: 'Solo tokenizador',
|
||||
deleteFiles: 'Eliminar también los archivos',
|
||||
deleteFilesHelp:
|
||||
'Al seleccionar esta opción, se eliminarán el directorio del tokenizador y todos sus archivos.',
|
||||
|
||||
@@ -1044,7 +1044,7 @@ const message = {
|
||||
deployments: 'استقرارهای محلی',
|
||||
files: 'فایلهای مدل',
|
||||
connectExternal: 'اتصال به سرویس خارجی',
|
||||
deploymentTemplates: 'الگوهای فرمان راهاندازی',
|
||||
deploymentTemplates: 'الگوهای فرمان راهاندازی vLLM',
|
||||
engineProvider: 'موتور / ارائهدهنده',
|
||||
endpoint: 'نقطه پایانی',
|
||||
cloudAccount: 'حساب ابری',
|
||||
@@ -1073,15 +1073,16 @@ const message = {
|
||||
customAddress: 'آدرس سفارشی',
|
||||
downloader: 'دانلودکننده',
|
||||
modelDir: 'دایرکتوری مدل',
|
||||
manualDownload: 'دانلود دستی',
|
||||
modelSource: 'منبع مدل',
|
||||
repoID: 'شناسه مخزن',
|
||||
endpointLabel: 'نقطه پایانی {0}',
|
||||
acceleratedEndpointLabel: 'نقطه پایانی شتابدهنده {0}',
|
||||
tokenOptionalLabel: 'توکن {0} (اختیاری)',
|
||||
searchSource: 'جستجوی {0}',
|
||||
tokenLabel: 'توکن {0}',
|
||||
hfEndpointHelper:
|
||||
'هنگامی که دسترسی به HuggingFace ناپایدار است، یک نقطه پایانی شتابدهنده پیکربندی کنید. جستجو، جزئیات و دانلود از آن استفاده خواهند کرد.',
|
||||
sortDefault: 'مرتبسازی پیشفرض',
|
||||
sortMostParameters: 'بیشترین پارامتر',
|
||||
sortLeastParameters: 'کمترین پارامتر',
|
||||
sortTrending: 'محبوبترین',
|
||||
sortLikes: 'بیشترین لایک',
|
||||
sortDownloads: 'بیشترین دانلود',
|
||||
@@ -1090,7 +1091,6 @@ const message = {
|
||||
downloadsCount: 'دانلودها',
|
||||
likes: 'لایکها',
|
||||
progress: 'پیشرفت',
|
||||
localDownloaded: 'دانلود شده',
|
||||
modelInfo: 'جزئیات مدل',
|
||||
downloading: 'در حال دانلود',
|
||||
canceled: 'لغو شده',
|
||||
@@ -2055,8 +2055,6 @@ const message = {
|
||||
downloadTokenizer: 'دانلود توکنساز',
|
||||
onlineDownload: 'دانلود آنلاین',
|
||||
content: 'محتوای دانلود',
|
||||
fullModel: 'مدل کامل',
|
||||
tokenizerOnly: 'فقط توکنساز',
|
||||
deleteFiles: 'حذف فایلها نیز انجام شود',
|
||||
deleteFilesHelp: 'با انتخاب این گزینه، پوشهٔ توکنساز و تمام فایلهای آن حذف خواهند شد.',
|
||||
},
|
||||
|
||||
@@ -1048,7 +1048,7 @@ const message = {
|
||||
deployments: 'ローカルデプロイ',
|
||||
files: 'モデルファイル',
|
||||
connectExternal: '外部サービスに接続',
|
||||
deploymentTemplates: '起動コマンドテンプレート',
|
||||
deploymentTemplates: 'vLLM 起動コマンドテンプレート',
|
||||
engineProvider: 'エンジン / プロバイダー',
|
||||
endpoint: 'エンドポイント',
|
||||
cloudAccount: 'クラウドアカウント',
|
||||
@@ -1077,15 +1077,16 @@ const message = {
|
||||
customAddress: 'カスタムアドレス',
|
||||
downloader: 'ダウンローダー',
|
||||
modelDir: 'モデルディレクトリ',
|
||||
manualDownload: '手動ダウンロード',
|
||||
modelSource: 'モデルソース',
|
||||
repoID: 'リポジトリ ID',
|
||||
endpointLabel: '{0} エンドポイント',
|
||||
acceleratedEndpointLabel: '{0} アクセラレーションエンドポイント',
|
||||
tokenOptionalLabel: '{0} Token(任意)',
|
||||
searchSource: '{0} を検索',
|
||||
tokenLabel: '{0} Token',
|
||||
hfEndpointHelper:
|
||||
'HuggingFace へのアクセスが不安定な場合はアクセラレーションエンドポイントを設定してください。検索、詳細、ダウンロードで使用されます。',
|
||||
sortDefault: '標準の並び順',
|
||||
sortMostParameters: 'パラメータ数が多い順',
|
||||
sortLeastParameters: 'パラメータ数が少ない順',
|
||||
sortTrending: 'トレンド',
|
||||
sortLikes: 'いいね順',
|
||||
sortDownloads: 'ダウンロード数順',
|
||||
@@ -1094,7 +1095,6 @@ const message = {
|
||||
downloadsCount: 'ダウンロード数',
|
||||
likes: 'いいね',
|
||||
progress: '進捗',
|
||||
localDownloaded: 'ダウンロード済み',
|
||||
modelInfo: 'モデル詳細',
|
||||
downloading: 'ダウンロード中',
|
||||
canceled: 'キャンセル済み',
|
||||
@@ -2058,8 +2058,6 @@ const message = {
|
||||
downloadTokenizer: 'トークナイザーをダウンロード',
|
||||
onlineDownload: 'オンラインダウンロード',
|
||||
content: 'ダウンロード内容',
|
||||
fullModel: 'モデル全体',
|
||||
tokenizerOnly: 'トークナイザーのみ',
|
||||
deleteFiles: 'ファイルも削除する',
|
||||
deleteFilesHelp: '選択すると、トークナイザーのディレクトリとすべてのファイルが削除されます。',
|
||||
},
|
||||
|
||||
@@ -1038,7 +1038,7 @@ const message = {
|
||||
deployments: '로컬 배포',
|
||||
files: '모델 파일',
|
||||
connectExternal: '외부 서비스 연결',
|
||||
deploymentTemplates: '시작 명령 템플릿',
|
||||
deploymentTemplates: 'vLLM 시작 명령 템플릿',
|
||||
engineProvider: '엔진 / 공급자',
|
||||
endpoint: '엔드포인트',
|
||||
cloudAccount: '클라우드 계정',
|
||||
@@ -1066,15 +1066,16 @@ const message = {
|
||||
customAddress: '사용자 지정 주소',
|
||||
downloader: '다운로더',
|
||||
modelDir: '모델 디렉토리',
|
||||
manualDownload: '수동 다운로드',
|
||||
modelSource: '모델 소스',
|
||||
repoID: '저장소 ID',
|
||||
endpointLabel: '{0} 엔드포인트',
|
||||
acceleratedEndpointLabel: '{0} 가속 엔드포인트',
|
||||
tokenOptionalLabel: '{0} Token (선택 사항)',
|
||||
searchSource: '{0} 검색',
|
||||
tokenLabel: '{0} Token',
|
||||
hfEndpointHelper:
|
||||
'HuggingFace 접속이 불안정할 때 가속 엔드포인트를 설정하세요. 검색, 상세 정보, 다운로드에 사용됩니다.',
|
||||
sortDefault: '기본 정렬',
|
||||
sortMostParameters: '매개변수 많은 순',
|
||||
sortLeastParameters: '매개변수 적은 순',
|
||||
sortTrending: '인기 트렌드',
|
||||
sortLikes: '좋아요 많은 순',
|
||||
sortDownloads: '다운로드 많은 순',
|
||||
@@ -1083,7 +1084,6 @@ const message = {
|
||||
downloadsCount: '다운로드 수',
|
||||
likes: '좋아요',
|
||||
progress: '진행률',
|
||||
localDownloaded: '다운로드됨',
|
||||
modelInfo: '모델 상세 정보',
|
||||
downloading: '다운로드 중',
|
||||
canceled: '취소됨',
|
||||
@@ -2034,8 +2034,6 @@ const message = {
|
||||
downloadTokenizer: '토크나이저 다운로드',
|
||||
onlineDownload: '온라인 다운로드',
|
||||
content: '다운로드 내용',
|
||||
fullModel: '전체 모델',
|
||||
tokenizerOnly: '토크나이저만',
|
||||
deleteFiles: '파일도 삭제',
|
||||
deleteFilesHelp: '선택하면 토크나이저 디렉터리와 모든 파일이 삭제됩니다.',
|
||||
},
|
||||
|
||||
@@ -1034,7 +1034,7 @@ const message = {
|
||||
deployments: 'ການນຳໃຊ້ພາຍໃນເຄື່ອງ',
|
||||
files: 'ໄຟລ໌ໂມເດວ',
|
||||
connectExternal: 'ເຊື່ອມຕໍ່ບໍລິການພາຍນອກ',
|
||||
deploymentTemplates: 'ແມ່ແບບຄຳສັ່ງເລີ່ມຕົ້ນ',
|
||||
deploymentTemplates: 'ແມ່ແບບຄຳສັ່ງເລີ່ມຕົ້ນ vLLM',
|
||||
engineProvider: 'ເຄື່ອງຈັກ / ຜູ້ໃຫ້ບໍລິການ',
|
||||
endpoint: 'ຈຸດເຊື່ອມຕໍ່',
|
||||
cloudAccount: 'ບັນຊີຄລາວ',
|
||||
@@ -1062,15 +1062,16 @@ const message = {
|
||||
customAddress: 'ທີ່ຢູ່ກຳນົດເອງ',
|
||||
downloader: 'ຕົວດາວໂຫຼດ',
|
||||
modelDir: 'ໄດເຣັກທໍຣີໂມເດວ',
|
||||
manualDownload: 'ດາວໂຫຼດດ້ວຍຕົນເອງ',
|
||||
modelSource: 'ແຫຼ່ງທີ່ມາໂມເດວ',
|
||||
repoID: 'ID ຄັງເກັບ',
|
||||
endpointLabel: 'ຈຸດເຊື່ອມຕໍ່ (Endpoint) {0}',
|
||||
acceleratedEndpointLabel: 'ຈຸດເຊື່ອມຕໍ່ເລັ່ງຄວາມໄວ {0}',
|
||||
tokenOptionalLabel: '{0} Token (ເລືອກໄດ້)',
|
||||
searchSource: 'ຄົ້ນຫາ {0}',
|
||||
tokenLabel: '{0} Token',
|
||||
hfEndpointHelper:
|
||||
'ຕັ້ງຄ່າຈຸດເຊື່ອມຕໍ່ເລັ່ງຄວາມໄວເມື່ອການເຂົ້າເຖິງ HuggingFace ບໍ່ຄົງທີ່. ການຄົ້ນຫາ, ລາຍລະອຽດ ແລະ ການດາວໂຫຼດຈະໃຊ້ທີ່ຢູ່ນີ້.',
|
||||
sortDefault: 'ການຈັດລຽງເລີ່ມຕົ້ນ',
|
||||
sortMostParameters: 'ພາລາມິເຕີຫຼາຍທີ່ສຸດ',
|
||||
sortLeastParameters: 'ພາລາມິເຕີໜ້ອຍທີ່ສຸດ',
|
||||
sortTrending: 'ກຳລັງມາແຮງ',
|
||||
sortLikes: 'ຖືກໃຈຫຼາຍທີ່ສຸດ',
|
||||
sortDownloads: 'ດາວໂຫຼດຫຼາຍທີ່ສຸດ',
|
||||
@@ -1079,7 +1080,6 @@ const message = {
|
||||
downloadsCount: 'ດາວໂຫຼດ',
|
||||
likes: 'ຖືກໃຈ',
|
||||
progress: 'ຄວາມຄືບໜ້າ',
|
||||
localDownloaded: 'ດາວໂຫຼດແລ້ວ',
|
||||
modelInfo: 'ລາຍລະອຽດໂມເດວ',
|
||||
downloading: 'ກຳລັງດາວໂຫຼດ',
|
||||
canceled: 'ຍົກເລີກແລ້ວ',
|
||||
@@ -2022,8 +2022,6 @@ const message = {
|
||||
downloadTokenizer: 'ດາວໂຫຼດຕົວແບ່ງຄຳ',
|
||||
onlineDownload: 'ດາວໂຫຼດອອນລາຍ',
|
||||
content: 'ເນື້ອຫາດາວໂຫຼດ',
|
||||
fullModel: 'ໂມເດລທັງໝົດ',
|
||||
tokenizerOnly: 'ສະເພາະຕົວແຍກໂທເຄັນ',
|
||||
deleteFiles: 'ລຶບໄຟລ໌ພ້ອມກັນ',
|
||||
deleteFilesHelp: 'ເມື່ອເລືອກ ໂຟນເດີ tokenizer ແລະໄຟລ໌ທັງໝົດຂອງມັນຈະຖືກລຶບ.',
|
||||
},
|
||||
|
||||
@@ -1070,7 +1070,7 @@ const message = {
|
||||
deployments: 'Pengerahan setempat',
|
||||
files: 'Fail model',
|
||||
connectExternal: 'Sambungkan perkhidmatan luaran',
|
||||
deploymentTemplates: 'Templat arahan permulaan',
|
||||
deploymentTemplates: 'Templat arahan permulaan vLLM',
|
||||
engineProvider: 'Enjin / Pembekal',
|
||||
endpoint: 'Titik akhir',
|
||||
cloudAccount: 'Akaun awan',
|
||||
@@ -1099,15 +1099,16 @@ const message = {
|
||||
customAddress: 'Alamat tersuai',
|
||||
downloader: 'Pemuat Turun',
|
||||
modelDir: 'Direktori Model',
|
||||
manualDownload: 'Muat Turun Manual',
|
||||
modelSource: 'Sumber model',
|
||||
repoID: 'ID Repositori',
|
||||
endpointLabel: 'Endpoint {0}',
|
||||
acceleratedEndpointLabel: 'Titik akhir pecutan {0}',
|
||||
tokenOptionalLabel: 'Token {0} (pilihan)',
|
||||
searchSource: 'Cari {0}',
|
||||
tokenLabel: 'Token {0}',
|
||||
hfEndpointHelper:
|
||||
'Konfigurasikan titik akhir pecutan apabila akses HuggingFace tidak stabil. Carian, butiran dan muat turun akan menggunakannya.',
|
||||
sortDefault: 'Isihan lalai',
|
||||
sortMostParameters: 'Parameter terbanyak',
|
||||
sortLeastParameters: 'Parameter paling sedikit',
|
||||
sortTrending: 'Trend popular',
|
||||
sortLikes: 'Paling disukai',
|
||||
sortDownloads: 'Paling banyak dimuat turun',
|
||||
@@ -1116,7 +1117,6 @@ const message = {
|
||||
downloadsCount: 'Muat turun',
|
||||
likes: 'Suka',
|
||||
progress: 'Kemajuan',
|
||||
localDownloaded: 'Dimuat turun',
|
||||
modelInfo: 'Butiran Model',
|
||||
downloading: 'Sedang memuat turun',
|
||||
canceled: 'Dibatalkan',
|
||||
@@ -2090,8 +2090,6 @@ const message = {
|
||||
downloadTokenizer: 'Muat turun tokenizer',
|
||||
onlineDownload: 'Muat turun dalam talian',
|
||||
content: 'Kandungan muat turun',
|
||||
fullModel: 'Model penuh',
|
||||
tokenizerOnly: 'Tokenizer sahaja',
|
||||
deleteFiles: 'Padam fail juga',
|
||||
deleteFilesHelp: 'Jika ditandakan, direktori tokenizer dan semua failnya akan dipadam.',
|
||||
},
|
||||
|
||||
@@ -1065,7 +1065,7 @@ const message = {
|
||||
deployments: 'Implantações locais',
|
||||
files: 'Arquivos de modelos',
|
||||
connectExternal: 'Conectar serviço externo',
|
||||
deploymentTemplates: 'Modelos de comandos de inicialização',
|
||||
deploymentTemplates: 'Modelos de comandos de inicialização do vLLM',
|
||||
engineProvider: 'Mecanismo / Provedor',
|
||||
endpoint: 'Endpoint',
|
||||
cloudAccount: 'Conta na nuvem',
|
||||
@@ -1094,15 +1094,16 @@ const message = {
|
||||
customAddress: 'Endereço personalizado',
|
||||
downloader: 'Baixador',
|
||||
modelDir: 'Diretório do modelo',
|
||||
manualDownload: 'Download manual',
|
||||
modelSource: 'Fonte do modelo',
|
||||
repoID: 'ID do repositório',
|
||||
endpointLabel: 'Endpoint do {0}',
|
||||
acceleratedEndpointLabel: 'Endpoint de aceleração do {0}',
|
||||
tokenOptionalLabel: 'Token do {0} (opcional)',
|
||||
searchSource: 'Pesquisar no {0}',
|
||||
tokenLabel: 'Token do {0}',
|
||||
hfEndpointHelper:
|
||||
'Configure um endpoint de aceleração quando o acesso ao HuggingFace estiver instável. A pesquisa, os detalhes e os downloads usarão esse endereço.',
|
||||
sortDefault: 'Ordenação padrão',
|
||||
sortMostParameters: 'Mais parâmetros',
|
||||
sortLeastParameters: 'Menos parâmetros',
|
||||
sortTrending: 'Tendências',
|
||||
sortLikes: 'Mais curtidos',
|
||||
sortDownloads: 'Mais baixados',
|
||||
@@ -1111,7 +1112,6 @@ const message = {
|
||||
downloadsCount: 'Downloads',
|
||||
likes: 'Curtidas',
|
||||
progress: 'Progresso',
|
||||
localDownloaded: 'Baixados',
|
||||
modelInfo: 'Detalhes do modelo',
|
||||
downloading: 'Baixando',
|
||||
canceled: 'Cancelado',
|
||||
@@ -2090,8 +2090,6 @@ const message = {
|
||||
downloadTokenizer: 'Baixar tokenizador',
|
||||
onlineDownload: 'Download online',
|
||||
content: 'Conteúdo do download',
|
||||
fullModel: 'Modelo completo',
|
||||
tokenizerOnly: 'Apenas tokenizador',
|
||||
deleteFiles: 'Excluir também os arquivos',
|
||||
deleteFilesHelp:
|
||||
'Ao selecionar esta opção, o diretório do tokenizador e todos os seus arquivos serão excluídos.',
|
||||
|
||||
@@ -1059,7 +1059,7 @@ const message = {
|
||||
deployments: 'Локальные развертывания',
|
||||
files: 'Файлы моделей',
|
||||
connectExternal: 'Подключить внешний сервис',
|
||||
deploymentTemplates: 'Шаблоны команд запуска',
|
||||
deploymentTemplates: 'Шаблоны команд запуска vLLM',
|
||||
engineProvider: 'Движок / Поставщик',
|
||||
endpoint: 'Конечная точка',
|
||||
cloudAccount: 'Облачная учетная запись',
|
||||
@@ -1087,15 +1087,16 @@ const message = {
|
||||
customAddress: 'Пользовательский адрес',
|
||||
downloader: 'Загрузчик',
|
||||
modelDir: 'Каталог модели',
|
||||
manualDownload: 'Ручная загрузка',
|
||||
modelSource: 'Источник модели',
|
||||
repoID: 'ID репозитория',
|
||||
endpointLabel: 'Endpoint {0}',
|
||||
acceleratedEndpointLabel: 'Endpoint ускорения {0}',
|
||||
tokenOptionalLabel: '{0} Token (необязательно)',
|
||||
searchSource: 'Поиск в {0}',
|
||||
tokenLabel: '{0} Token',
|
||||
hfEndpointHelper:
|
||||
'Настройте endpoint ускорения, если доступ к HuggingFace нестабилен. Он будет использоваться для поиска, деталей и загрузок.',
|
||||
sortDefault: 'Сортировка по умолчанию',
|
||||
sortMostParameters: 'Больше всего параметров',
|
||||
sortLeastParameters: 'Меньше всего параметров',
|
||||
sortTrending: 'Популярное',
|
||||
sortLikes: 'Больше всего лайков',
|
||||
sortDownloads: 'Больше всего загрузок',
|
||||
@@ -1104,7 +1105,6 @@ const message = {
|
||||
downloadsCount: 'Загрузки',
|
||||
likes: 'Лайки',
|
||||
progress: 'Прогресс',
|
||||
localDownloaded: 'Загружено',
|
||||
modelInfo: 'Сведения о модели',
|
||||
downloading: 'Загрузка',
|
||||
canceled: 'Отменено',
|
||||
@@ -2084,8 +2084,6 @@ const message = {
|
||||
downloadTokenizer: 'Скачать токенизатор',
|
||||
onlineDownload: 'Скачать онлайн',
|
||||
content: 'Содержимое загрузки',
|
||||
fullModel: 'Полная модель',
|
||||
tokenizerOnly: 'Только токенизатор',
|
||||
deleteFiles: 'Также удалить файлы',
|
||||
deleteFilesHelp: 'Если флажок установлен, каталог токенизатора и все его файлы будут удалены.',
|
||||
},
|
||||
|
||||
@@ -1069,7 +1069,7 @@ const message = {
|
||||
deployments: 'Yerel dağıtımlar',
|
||||
files: 'Model dosyaları',
|
||||
connectExternal: 'Harici hizmete bağlan',
|
||||
deploymentTemplates: 'Başlatma komutu şablonları',
|
||||
deploymentTemplates: 'vLLM başlatma komutu şablonları',
|
||||
engineProvider: 'Motor / Sağlayıcı',
|
||||
endpoint: 'Uç nokta',
|
||||
cloudAccount: 'Bulut hesabı',
|
||||
@@ -1098,15 +1098,16 @@ const message = {
|
||||
customAddress: 'Özel adres',
|
||||
downloader: 'İndirici',
|
||||
modelDir: 'Model dizini',
|
||||
manualDownload: 'Manuel indirme',
|
||||
modelSource: 'Model kaynağı',
|
||||
repoID: 'Depo ID',
|
||||
endpointLabel: '{0} endpointi',
|
||||
acceleratedEndpointLabel: '{0} hızlandırma endpointi',
|
||||
tokenOptionalLabel: '{0} Token (isteğe bağlı)',
|
||||
searchSource: '{0} ara',
|
||||
tokenLabel: '{0} Token',
|
||||
hfEndpointHelper:
|
||||
'HuggingFace erişimi kararsız olduğunda bir hızlandırma endpointi yapılandırın. Arama, ayrıntılar ve indirmeler bunu kullanır.',
|
||||
sortDefault: 'Varsayılan sıralama',
|
||||
sortMostParameters: 'En çok parametre',
|
||||
sortLeastParameters: 'En az parametre',
|
||||
sortTrending: 'Popüler trendler',
|
||||
sortLikes: 'En çok beğenilen',
|
||||
sortDownloads: 'En çok indirilenler',
|
||||
@@ -1115,7 +1116,6 @@ const message = {
|
||||
downloadsCount: 'İndirmeler',
|
||||
likes: 'Beğeniler',
|
||||
progress: 'İlerleme',
|
||||
localDownloaded: 'İndirilenler',
|
||||
modelInfo: 'Model ayrıntıları',
|
||||
downloading: 'İndiriliyor',
|
||||
canceled: 'İptal edildi',
|
||||
@@ -2089,8 +2089,6 @@ const message = {
|
||||
downloadTokenizer: 'Tokenleştiriciyi indir',
|
||||
onlineDownload: 'Çevrimiçi indir',
|
||||
content: 'İndirme içeriği',
|
||||
fullModel: 'Tam model',
|
||||
tokenizerOnly: 'Yalnızca tokenizer',
|
||||
deleteFiles: 'Dosyaları da sil',
|
||||
deleteFilesHelp: 'İşaretlendiğinde tokenlaştırıcı dizini ve içindeki tüm dosyalar silinecektir.',
|
||||
},
|
||||
|
||||
@@ -999,7 +999,7 @@ const message = {
|
||||
deployments: '本機部署',
|
||||
files: '模型檔案',
|
||||
connectExternal: '接入外部服務',
|
||||
deploymentTemplates: '啟動命令範本',
|
||||
deploymentTemplates: 'vLLM 啟動命令範本',
|
||||
engineProvider: '引擎 / 供應商',
|
||||
endpoint: '端點',
|
||||
cloudAccount: '雲端帳號',
|
||||
@@ -1027,14 +1027,15 @@ const message = {
|
||||
customAddress: '自訂地址',
|
||||
downloader: '下載器',
|
||||
modelDir: '模型目錄',
|
||||
manualDownload: '手動下載',
|
||||
modelSource: '模型來源',
|
||||
repoID: '倉庫 ID',
|
||||
endpointLabel: '{0} 地址',
|
||||
acceleratedEndpointLabel: '{0} 加速地址',
|
||||
tokenOptionalLabel: '{0} Token(可選)',
|
||||
searchSource: '搜尋 {0}',
|
||||
tokenLabel: '{0} Token',
|
||||
hfEndpointHelper: '國內存取 HuggingFace 不穩定時可設定加速地址,搜尋、詳情和下載都會使用該地址。',
|
||||
sortDefault: '綜合排序',
|
||||
sortMostParameters: '參數最多',
|
||||
sortLeastParameters: '參數最少',
|
||||
sortTrending: '熱門趨勢',
|
||||
sortLikes: '按讚最多',
|
||||
sortDownloads: '下載最多',
|
||||
@@ -1043,7 +1044,6 @@ const message = {
|
||||
downloadsCount: '下載量',
|
||||
likes: '點讚',
|
||||
progress: '進度',
|
||||
localDownloaded: '已下載',
|
||||
modelInfo: '模型詳情',
|
||||
downloading: '下載中',
|
||||
canceled: '已取消',
|
||||
@@ -1960,8 +1960,6 @@ const message = {
|
||||
downloadTokenizer: '下載分詞器',
|
||||
onlineDownload: '線上下載',
|
||||
content: '下載內容',
|
||||
fullModel: '完整模型',
|
||||
tokenizerOnly: '僅分詞器',
|
||||
deleteFiles: '同時刪除檔案',
|
||||
deleteFilesHelp: '勾選後將刪除分詞器目錄及全部檔案。',
|
||||
},
|
||||
|
||||
@@ -1012,7 +1012,7 @@ const message = {
|
||||
deployments: '本地部署',
|
||||
files: '模型文件',
|
||||
connectExternal: '接入外部服务',
|
||||
deploymentTemplates: '启动命令模板',
|
||||
deploymentTemplates: 'vLLM 启动命令模板',
|
||||
engineProvider: '引擎 / 供应商',
|
||||
endpoint: '端点',
|
||||
cloudAccount: '云端账号',
|
||||
@@ -1040,14 +1040,15 @@ const message = {
|
||||
customAddress: '自定义地址',
|
||||
downloader: '下载器',
|
||||
modelDir: '模型目录',
|
||||
manualDownload: '手动下载',
|
||||
modelSource: '模型来源',
|
||||
repoID: '仓库 ID',
|
||||
endpointLabel: '{0} 地址',
|
||||
acceleratedEndpointLabel: '{0} 加速地址',
|
||||
tokenOptionalLabel: '{0} Token(可选)',
|
||||
searchSource: '搜索 {0}',
|
||||
tokenLabel: '{0} Token',
|
||||
hfEndpointHelper: '国内访问 HuggingFace 不稳定时可配置加速地址,搜索、详情和下载都会使用该地址。',
|
||||
sortDefault: '综合排序',
|
||||
sortMostParameters: '参数最多',
|
||||
sortLeastParameters: '参数最少',
|
||||
sortTrending: '热门趋势',
|
||||
sortLikes: '点赞最多',
|
||||
sortDownloads: '下载最多',
|
||||
@@ -1056,7 +1057,6 @@ const message = {
|
||||
downloadsCount: '下载量',
|
||||
likes: '点赞',
|
||||
progress: '进度',
|
||||
localDownloaded: '已下载',
|
||||
modelInfo: '模型详情',
|
||||
downloading: '下载中',
|
||||
canceled: '已取消',
|
||||
@@ -1969,8 +1969,6 @@ const message = {
|
||||
downloadTokenizer: '下载分词器',
|
||||
onlineDownload: '在线下载',
|
||||
content: '下载内容',
|
||||
fullModel: '完整模型',
|
||||
tokenizerOnly: '仅分词器',
|
||||
deleteFiles: '同时删除文件',
|
||||
deleteFilesHelp: '勾选后将删除分词器目录及全部文件。',
|
||||
},
|
||||
|
||||
@@ -16,7 +16,11 @@
|
||||
<el-button v-permission type="primary" @click="createRef.open()">
|
||||
{{ $t(isLocal ? 'aiTools.model.addEngine' : 'aiTools.model.addService') }}
|
||||
</el-button>
|
||||
<el-button v-if="isLocal && isProductPro && vllmAvailable" v-permission @click="openTemplates">
|
||||
<el-button
|
||||
v-if="isLocal && isProductPro && vllmAvailable"
|
||||
v-permission
|
||||
@click="routerToName('VllmCommandTemplates')"
|
||||
>
|
||||
{{ $t('aiTools.model.deploymentTemplates') }}
|
||||
</el-button>
|
||||
</template>
|
||||
@@ -305,12 +309,11 @@
|
||||
<ModelPool ref="poolRef" @updated="search" />
|
||||
<TerminalDialog :key="`terminal:${currentNode}:${route.fullPath}`" ref="terminalRef" />
|
||||
<SyncService ref="syncRef" @search="search" />
|
||||
<component :is="templateView" v-if="templateView" ref="templateRef" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, defineAsyncComponent, nextTick, reactive, ref, shallowRef, toRef, watch } from 'vue';
|
||||
import { computed, defineAsyncComponent, nextTick, reactive, ref, toRef, watch } from 'vue';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
import { ElMessageBox } from 'element-plus';
|
||||
import type { AI } from '@/api/interface/ai';
|
||||
@@ -330,6 +333,7 @@ import { newUUID } from '@/utils/id';
|
||||
import { dateFormat } from '@/utils/date';
|
||||
import { useSearchState } from '@/utils/search-reset';
|
||||
import { MsgError } from '@/utils/message';
|
||||
import { routerToName } from '@/utils/router';
|
||||
import TaskLog from '@/components/log/task/index.vue';
|
||||
import LocalView from './local/index.vue';
|
||||
import CreateService from './components/create/index.vue';
|
||||
@@ -370,8 +374,6 @@ const appResourcesRef = ref();
|
||||
const poolRef = ref();
|
||||
const terminalRef = ref<InstanceType<typeof TerminalDialog>>();
|
||||
const syncRef = ref<InstanceType<typeof SyncService>>();
|
||||
const templateRef = ref();
|
||||
const templateView = shallowRef();
|
||||
const loading = ref(false);
|
||||
const loadFailed = ref(false);
|
||||
const connections = ref<AI.AgentAccountItem[]>([]);
|
||||
@@ -685,11 +687,6 @@ const deploymentButtons = [
|
||||
click: (row: Deployment) => manageRef.value.open(row, 'delete', true),
|
||||
},
|
||||
];
|
||||
const openTemplates = async () => {
|
||||
templateView.value = await loadOptionalComponent('/src/xpack/views/vllm/template/index.vue');
|
||||
await nextTick();
|
||||
templateRef.value.acceptParams();
|
||||
};
|
||||
watch(
|
||||
[
|
||||
() => route.path,
|
||||
|
||||
Reference in New Issue
Block a user