diff --git a/CHANGELOG.md b/CHANGELOG.md index 88aaae8..4e330ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,31 @@ Changelog ==== +### 1.6.7 + +* Add "TensorRtLlm" model framework. + +### 1.6.6 + +* Add "GemmaCpp" and "GGML" model frameworks. + +### 1.6.5 + +* Add "MaxText" model framework. + +### 1.6.4 + +* Add "Transformers" model framework. + ### 1.6.3 Release date: 01/11/24 -* Add "Flax" and "Pax" frameworks +* Add "Flax" and "Pax" model frameworks. ### 1.6.2 Release date: 01/09/24 -* Add "Other" framework +* Add "Other" model framework. ### 1.6.1 Release date: 01/08/24 @@ -29,7 +45,7 @@ Release date: 9/19/23 #### 1.6.0a5 Release date: 8/02/23 -* Add Keras framework +* Add Keras model framework. #### 1.5.16 Release date: 7/17/23 diff --git a/KaggleSwagger.yaml b/KaggleSwagger.yaml index 313220f..620e798 100644 --- a/KaggleSwagger.yaml +++ b/KaggleSwagger.yaml @@ -46,7 +46,7 @@ paths: /competitions/list: get: tags: - - kaggle + - kaggle summary: List competitions operationId: CompetitionsList produces: @@ -61,13 +61,30 @@ paths: - in: query name: category type: string - enum: [all, featured, research, recruitment, gettingStarted, masters, playground] + enum: + [ + all, + featured, + research, + recruitment, + gettingStarted, + masters, + playground, + ] default: all description: Filter competitions by a particular category - in: query name: sortBy type: string - enum: [grouped, prize, earliestDeadline, latestDeadline, numberOfTeams, recentlyCreated] + enum: + [ + grouped, + prize, + earliestDeadline, + latestDeadline, + numberOfTeams, + recentlyCreated, + ] default: latestDeadline description: Sort the results - in: query @@ -78,21 +95,21 @@ paths: - in: query name: search type: string - default: '' + default: "" description: Search terms responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /competitions/submissions/list/{id}: get: tags: - - kaggle + - kaggle summary: List competition submissions operationId: CompetitionsSubmissionsList produces: @@ -113,11 +130,11 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /competitions/{id}/submissions/url/{contentLength}/{lastModifiedDateUtc}: post: tags: @@ -153,11 +170,11 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /competitions/submissions/upload/{guid}/{contentLength}/{lastModifiedDateUtc}: post: tags: @@ -193,15 +210,15 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /competitions/submissions/submit/{id}: post: tags: - - kaggle + - kaggle summary: Submit to competition operationId: CompetitionsSubmissionsSubmit produces: @@ -228,15 +245,15 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /competitions/data/list/{id}: get: tags: - - kaggle + - kaggle summary: List competition data files operationId: CompetitionsDataListFiles produces: @@ -251,15 +268,15 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /competitions/data/download/{id}/{fileName}: get: tags: - - kaggle + - kaggle summary: Download competition data file operationId: CompetitionsDataDownloadFile parameters: @@ -277,11 +294,11 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /competitions/data/download-all/{id}: get: tags: @@ -298,15 +315,15 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /competitions/{id}/leaderboard/download: get: tags: - - kaggle + - kaggle summary: Download competition leaderboard operationId: CompetitionDownloadLeaderboard parameters: @@ -319,15 +336,15 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /competitions/{id}/leaderboard/view: get: tags: - - kaggle + - kaggle summary: VIew competition leaderboard operationId: CompetitionViewLeaderboard parameters: @@ -340,15 +357,15 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /datasets/list: get: tags: - - kaggle + - kaggle summary: List datasets operationId: DatasetsList produces: @@ -390,7 +407,7 @@ paths: description: A comma separated list of tags to filter by - in: query name: search - default: '' + default: "" type: string description: Search terms - in: query @@ -416,15 +433,15 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /datasets/list/{ownerSlug}/{datasetSlug}: get: tags: - - kaggle + - kaggle summary: List dataset files operationId: DatasetsListFiles produces: @@ -449,43 +466,43 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /datasets/status/{ownerSlug}/{datasetSlug}: get: tags: - - kaggle + - kaggle summary: Get dataset creation status operationId: DatasetsStatus produces: - - application/json + - application/json parameters: - - in: path - name: ownerSlug - required: true - type: string - description: Dataset owner - - in: path - name: datasetSlug - required: true - type: string - description: Dataset name + - in: path + name: ownerSlug + required: true + type: string + description: Dataset owner + - in: path + name: datasetSlug + required: true + type: string + description: Dataset name responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /datasets/download/{ownerSlug}/{datasetSlug}: get: tags: - - kaggle + - kaggle summary: Download dataset file operationId: DatasetsDownload produces: @@ -510,15 +527,15 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /datasets/download/{ownerSlug}/{datasetSlug}/{fileName}: get: tags: - - kaggle + - kaggle summary: Download dataset file operationId: DatasetsDownloadFile produces: @@ -548,15 +565,15 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /datasets/create/version/{id}: post: tags: - - kaggle + - kaggle summary: Create a new dataset version by id operationId: DatasetsCreateVersionById produces: @@ -573,21 +590,21 @@ paths: name: datasetNewVersionRequest required: true schema: - $ref: '#/definitions/DatasetNewVersionRequest' + $ref: "#/definitions/DatasetNewVersionRequest" description: Information for creating a new dataset version responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /datasets/create/version/{ownerSlug}/{datasetSlug}: post: tags: - - kaggle + - kaggle summary: Create a new dataset version operationId: DatasetsCreateVersion produces: @@ -609,21 +626,21 @@ paths: name: datasetNewVersionRequest required: true schema: - $ref: '#/definitions/DatasetNewVersionRequest' + $ref: "#/definitions/DatasetNewVersionRequest" description: Information for creating a new dataset version responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /datasets/create/new: post: tags: - - kaggle + - kaggle summary: Create a new dataset operationId: DatasetsCreateNew produces: @@ -635,21 +652,21 @@ paths: name: datasetNewRequest required: true schema: - $ref: '#/definitions/DatasetNewRequest' + $ref: "#/definitions/DatasetNewRequest" description: Information for creating a new dataset responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /kernels/list: get: tags: - - kaggle + - kaggle summary: List kernels operationId: KernelsList produces: @@ -667,7 +684,7 @@ paths: description: Page size - in: query name: search - default: '' + default: "" type: string description: Search terms - in: query @@ -701,7 +718,18 @@ paths: - in: query name: sortBy type: string - enum: [hotness, commentCount, dateCreated, dateRun, scoreAscending, scoreDescending, viewCount, voteCount, relevance] + enum: + [ + hotness, + commentCount, + dateCreated, + dateRun, + scoreAscending, + scoreDescending, + viewCount, + voteCount, + relevance, + ] default: hotness description: Sort the results. 'relevance' only works if there is a search query - in: query @@ -720,11 +748,11 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /kernels/push: post: tags: @@ -740,17 +768,17 @@ paths: name: kernelPushRequest required: true schema: - $ref: '#/definitions/KernelPushRequest' + $ref: "#/definitions/KernelPushRequest" description: Information for pushing a new kernel version responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /kernels/pull: get: tags: @@ -774,11 +802,11 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /kernels/output: get: tags: @@ -802,11 +830,11 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /kernels/status: get: tags: @@ -830,121 +858,130 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /datasets/metadata/{ownerSlug}/{datasetSlug}: get: tags: - - kaggle + - kaggle summary: Get the metadata for a dataset operationId: MetadataGet produces: - - application/json + - application/json parameters: - - in: path - name: ownerSlug - required: true - type: string - description: Dataset owner - - in: path - name: datasetSlug - required: true - type: string - description: Dataset name + - in: path + name: ownerSlug + required: true + type: string + description: Dataset owner + - in: path + name: datasetSlug + required: true + type: string + description: Dataset name responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" post: tags: - - kaggle + - kaggle summary: Update the metadata for a dataset operationId: MetadataPost consumes: - - application/json + - application/json produces: - - application/json + - application/json parameters: - - in: path - name: ownerSlug - required: true - type: string - description: Dataset owner - - in: path - name: datasetSlug - required: true - type: string - description: Dataset name - - in: body - name: settings - required: true - description: Dataset metadata to update - type: object - schema: - $ref: '#/definitions/DatasetUpdateSettingsRequest' + - in: path + name: ownerSlug + required: true + type: string + description: Dataset owner + - in: path + name: datasetSlug + required: true + type: string + description: Dataset name + - in: body + name: settings + required: true + description: Dataset metadata to update + type: object + schema: + $ref: "#/definitions/DatasetUpdateSettingsRequest" responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /models/{ownerSlug}/{modelSlug}/get: get: tags: - - kaggle + - kaggle summary: Get a model operationId: GetModel produces: - - application/json + - application/json parameters: - - in: path - name: ownerSlug - required: true - type: string - description: Model owner - - in: path - name: modelSlug - required: true - type: string - description: Model name + - in: path + name: ownerSlug + required: true + type: string + description: Model owner + - in: path + name: modelSlug + required: true + type: string + description: Model name responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /models/list: get: tags: - - kaggle + - kaggle summary: Lists models operationId: ModelsList produces: - - application/json + - application/json parameters: - in: query name: search - default: '' + default: "" type: string description: Search terms - in: query name: sortBy type: string - enum: [hotness, downloadCount, voteCount, notebookCount, publishTime, createTime, updateTime] + enum: + [ + hotness, + downloadCount, + voteCount, + notebookCount, + publishTime, + createTime, + updateTime, + ] default: hotness description: Sort the results - in: query @@ -964,15 +1001,15 @@ paths: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /models/create/new: post: tags: - - kaggle + - kaggle summary: Create a new model operationId: ModelsCreateNew produces: @@ -984,61 +1021,61 @@ paths: name: modelNewRequest required: true schema: - $ref: '#/definitions/modelNewRequest' + $ref: "#/definitions/modelNewRequest" description: Information for creating a new model responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /models/{ownerSlug}/{modelSlug}/{framework}/{instanceSlug}/get: get: tags: - - kaggle + - kaggle summary: Get a model instance operationId: GetModelInstance produces: - - application/json + - application/json consumes: - - application/json + - application/json parameters: - - in: path - name: ownerSlug - required: true - type: string - description: Model owner - - in: path - name: modelSlug - required: true - type: string - description: Model name - - in: path - name: framework - required: true - type: string - description: Model instance framework - - in: path - name: instanceSlug - required: true - type: string - description: Model instance slug + - in: path + name: ownerSlug + required: true + type: string + description: Model owner + - in: path + name: modelSlug + required: true + type: string + description: Model name + - in: path + name: framework + required: true + type: string + description: Model instance framework + - in: path + name: instanceSlug + required: true + type: string + description: Model instance slug responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /models/{ownerSlug}/{modelSlug}/create/instance: post: tags: - - kaggle + - kaggle summary: Create a new model instance operationId: ModelsCreateInstance produces: @@ -1060,21 +1097,21 @@ paths: name: ModelNewInstanceRequest required: true schema: - $ref: '#/definitions/ModelNewInstanceRequest' + $ref: "#/definitions/ModelNewInstanceRequest" description: Information for creating a new model instance responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /models/{ownerSlug}/{modelSlug}/{framework}/{instanceSlug}/create/version: post: tags: - - kaggle + - kaggle summary: Create a new model instance version operationId: ModelsCreateInstanceVersion produces: @@ -1106,257 +1143,257 @@ paths: name: ModelInstanceNewVersionRequest required: true schema: - $ref: '#/definitions/ModelInstanceNewVersionRequest' + $ref: "#/definitions/ModelInstanceNewVersionRequest" description: Information for creating a new model instance version responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /models/{ownerSlug}/{modelSlug}/delete: post: tags: - - kaggle + - kaggle summary: Delete a model operationId: DeleteModel produces: - - application/json + - application/json consumes: - - application/json + - application/json parameters: - - in: path - name: ownerSlug - required: true - type: string - description: Model owner - - in: path - name: modelSlug - required: true - type: string - description: Model name + - in: path + name: ownerSlug + required: true + type: string + description: Model owner + - in: path + name: modelSlug + required: true + type: string + description: Model name responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /models/{ownerSlug}/{modelSlug}/{framework}/{instanceSlug}/delete: post: tags: - - kaggle + - kaggle summary: Delete a model instance operationId: DeleteModelInstance produces: - - application/json + - application/json consumes: - - application/json + - application/json parameters: - - in: path - name: ownerSlug - required: true - type: string - description: Model owner - - in: path - name: modelSlug - required: true - type: string - description: Model name - - in: path - name: framework - required: true - type: string - description: Model instance framework - - in: path - name: instanceSlug - required: true - type: string - description: Model instance slug + - in: path + name: ownerSlug + required: true + type: string + description: Model owner + - in: path + name: modelSlug + required: true + type: string + description: Model name + - in: path + name: framework + required: true + type: string + description: Model instance framework + - in: path + name: instanceSlug + required: true + type: string + description: Model instance slug responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /models/{ownerSlug}/{modelSlug}/{framework}/{instanceSlug}/{versionNumber}/delete: post: tags: - - kaggle + - kaggle summary: Delete a model instance version operationId: DeleteModelInstanceVersion produces: - - application/json + - application/json consumes: - - application/json + - application/json parameters: - - in: path - name: ownerSlug - required: true - type: string - description: Model owner - - in: path - name: modelSlug - required: true - type: string - description: Model name - - in: path - name: framework - required: true - type: string - description: Model instance framework - - in: path - name: instanceSlug - required: true - type: string - description: Model instance slug - - in: path - name: versionNumber - required: true - type: string - description: Model instance version number + - in: path + name: ownerSlug + required: true + type: string + description: Model owner + - in: path + name: modelSlug + required: true + type: string + description: Model name + - in: path + name: framework + required: true + type: string + description: Model instance framework + - in: path + name: instanceSlug + required: true + type: string + description: Model instance slug + - in: path + name: versionNumber + required: true + type: string + description: Model instance version number responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /models/{ownerSlug}/{modelSlug}/update: post: tags: - - kaggle + - kaggle summary: Update a model operationId: UpdateModel produces: - - application/json + - application/json consumes: - - application/json + - application/json parameters: - - in: path - name: ownerSlug - required: true - type: string - description: Model owner - - in: path - name: modelSlug - required: true - type: string - description: Model name - - in: body - name: modelUpdateRequest - required: true - schema: - $ref: '#/definitions/modelUpdateRequest' - description: Information for updating a model + - in: path + name: ownerSlug + required: true + type: string + description: Model owner + - in: path + name: modelSlug + required: true + type: string + description: Model name + - in: body + name: modelUpdateRequest + required: true + schema: + $ref: "#/definitions/modelUpdateRequest" + description: Information for updating a model responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /models/{ownerSlug}/{modelSlug}/{framework}/{instanceSlug}/update: post: tags: - - kaggle + - kaggle summary: Update a model operationId: UpdateModelInstance produces: - - application/json + - application/json consumes: - - application/json + - application/json parameters: - - in: path - name: ownerSlug - required: true - type: string - description: Model owner - - in: path - name: modelSlug - required: true - type: string - description: Model name - - in: path - name: framework - required: true - type: string - description: Model instance framework - - in: path - name: instanceSlug - required: true - type: string - description: Model instance slug - - in: body - name: modelInstanceUpdateRequest - required: true - schema: - $ref: '#/definitions/modelInstanceUpdateRequest' - description: Information for updating a model instance + - in: path + name: ownerSlug + required: true + type: string + description: Model owner + - in: path + name: modelSlug + required: true + type: string + description: Model name + - in: path + name: framework + required: true + type: string + description: Model instance framework + - in: path + name: instanceSlug + required: true + type: string + description: Model instance slug + - in: body + name: modelInstanceUpdateRequest + required: true + schema: + $ref: "#/definitions/modelInstanceUpdateRequest" + description: Information for updating a model instance responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /models/{ownerSlug}/{modelSlug}/{framework}/{instanceSlug}/{versionNumber}/download: get: tags: - - kaggle + - kaggle summary: Download model instance version files operationId: ModelInstanceVersionsDownload produces: - file parameters: - - in: path - name: ownerSlug - required: true - type: string - description: Model owner - - in: path - name: modelSlug - required: true - type: string - description: Model name - - in: path - name: framework - required: true - type: string - description: Model instance framework - - in: path - name: instanceSlug - required: true - type: string - description: Model instance slug - - in: path - name: versionNumber - required: true - type: string - description: Model instance version number + - in: path + name: ownerSlug + required: true + type: string + description: Model owner + - in: path + name: modelSlug + required: true + type: string + description: Model name + - in: path + name: framework + required: true + type: string + description: Model instance framework + - in: path + name: instanceSlug + required: true + type: string + description: Model instance slug + - in: path + name: versionNumber + required: true + type: string + description: Model instance version number responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /blobs/upload: post: tags: @@ -1372,16 +1409,16 @@ paths: name: startBlobUploadRequest required: true schema: - $ref: '#/definitions/StartBlobUploadRequest' + $ref: "#/definitions/StartBlobUploadRequest" responses: 200: description: StartBlobUploadResponse schema: - $ref: '#/definitions/StartBlobUploadResponse' + $ref: "#/definitions/StartBlobUploadResponse" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" /inbox/files/create: post: tags: @@ -1397,16 +1434,16 @@ paths: name: createInboxFileRequest required: true schema: - $ref: '#/definitions/CreateInboxFileRequest' + $ref: "#/definitions/CreateInboxFileRequest" responses: 200: description: Result schema: - $ref: '#/definitions/Result' + $ref: "#/definitions/Result" default: description: Error schema: - $ref: '#/definitions/Error' + $ref: "#/definitions/Error" definitions: Result: type: object @@ -1452,12 +1489,12 @@ definitions: type: array description: A list of dataset column metadata items: - $ref: '#/definitions/DatasetColumn' + $ref: "#/definitions/DatasetColumn" DatasetNewVersionRequest: type: object required: - - versionNotes - - files + - versionNotes + - files properties: versionNotes: type: string @@ -1472,7 +1509,7 @@ definitions: type: array description: A list of files that should be associated with the dataset items: - $ref: '#/definitions/UploadFile' + $ref: "#/definitions/UploadFile" convertToCsv: type: boolean description: Whether or not a tabular dataset should be converted to csv @@ -1489,9 +1526,9 @@ definitions: DatasetNewRequest: type: object required: - - title - - licenseShortName - - files + - title + - licenseShortName + - files properties: title: type: string @@ -1507,48 +1544,48 @@ definitions: description: The license that should be associated with the dataset default: unknown enum: - - CC0-1.0 - - CC-BY-SA-4.0 - - GPL-2.0 - - ODbL-1.0 - - CC-BY-NC-SA-4.0 - - unknown - - DbCL-1.0 - - CC-BY-SA-3.0 - - copyright-authors - - other - - reddit-api - - world-bank - - CC-BY-4.0 - - CC-BY-NC-4.0 - - PDDL - - CC-BY-3.0 - - CC-BY-3.0-IGO - - US-Government-Works - - CC-BY-NC-SA-3.0-IGO - - CDLA-Permissive-1.0 - - CDLA-Sharing-1.0 - - CC-BY-ND-4.0 - - CC-BY-NC-ND-4.0 - - ODC-BY-1.0 - - LGPL-3.0 - - AGPL-3.0 - - FDL-1.3 - - EU-ODP-Legal-Notice - - apache-2.0 - - GPL-3.0 + - CC0-1.0 + - CC-BY-SA-4.0 + - GPL-2.0 + - ODbL-1.0 + - CC-BY-NC-SA-4.0 + - unknown + - DbCL-1.0 + - CC-BY-SA-3.0 + - copyright-authors + - other + - reddit-api + - world-bank + - CC-BY-4.0 + - CC-BY-NC-4.0 + - PDDL + - CC-BY-3.0 + - CC-BY-3.0-IGO + - US-Government-Works + - CC-BY-NC-SA-3.0-IGO + - CDLA-Permissive-1.0 + - CDLA-Sharing-1.0 + - CC-BY-ND-4.0 + - CC-BY-NC-ND-4.0 + - ODC-BY-1.0 + - LGPL-3.0 + - AGPL-3.0 + - FDL-1.3 + - EU-ODP-Legal-Notice + - apache-2.0 + - GPL-3.0 subtitle: type: string description: The subtitle to be set on the dataset description: type: string description: The description to be set on the dataset - default: '' + default: "" files: type: array description: A list of files that should be associated with the dataset items: - $ref: '#/definitions/UploadFile' + $ref: "#/definitions/UploadFile" isPrivate: type: boolean description: Whether or not the dataset should be private @@ -1565,9 +1602,9 @@ definitions: KernelPushRequest: type: object required: - - text - - language - - kernelType + - text + - language + - kernelType properties: id: type: integer @@ -1585,15 +1622,15 @@ definitions: type: string description: The language that the kernel is written in enum: - - python - - r - - rmarkdown + - python + - r + - rmarkdown kernelType: type: string description: The type of kernel. Cannot be changed once the kernel has been created enum: - - script - - notebook + - script + - notebook isPrivate: type: boolean description: Whether or not the kernel should be private @@ -1635,8 +1672,8 @@ definitions: type: string description: Which docker image to use for executing new versions going forward. enum: - - original - - latest + - original + - latest DatasetUpdateSettingsRequest: type: object required: @@ -1659,7 +1696,7 @@ definitions: items: type: object schema: - $ref: '!/definitions/License' + $ref: "!/definitions/License" keywords: type: array description: A list of keywords that apply to this dataset @@ -1671,7 +1708,7 @@ definitions: items: type: object schema: - $ref: '!definitions/Collaborators' + $ref: "!definitions/Collaborators" data: type: array description: A list containing metadata for each file in the dataset @@ -1680,47 +1717,47 @@ definitions: License: type: object required: - - name + - name properties: name: type: string description: Name of the license enum: - - CC0-1.0 - - CC-BY-SA-4.0 - - GPL-2.0 - - ODbL-1.0 - - CC-BY-NC-SA-4.0 - - unknown - - DbCL-1.0 - - CC-BY-SA-3.0 - - copyright-authors - - other - - reddit-api - - world-bank - - CC-BY-4.0 - - CC-BY-NC-4.0 - - PDDL - - CC-BY-3.0 - - CC-BY-3.0-IGO - - US-Government-Works - - CC-BY-NC-SA-3.0-IGO - - CDLA-Permissive-1.0 - - CDLA-Sharing-1.0 - - CC-BY-ND-4.0 - - CC-BY-NC-ND-4.0 - - ODC-BY-1.0 - - LGPL-3.0 - - AGPL-3.0 - - FDL-1.3 - - EU-ODP-Legal-Notice - - apache-2.0 - - GPL-3.0 + - CC0-1.0 + - CC-BY-SA-4.0 + - GPL-2.0 + - ODbL-1.0 + - CC-BY-NC-SA-4.0 + - unknown + - DbCL-1.0 + - CC-BY-SA-3.0 + - copyright-authors + - other + - reddit-api + - world-bank + - CC-BY-4.0 + - CC-BY-NC-4.0 + - PDDL + - CC-BY-3.0 + - CC-BY-3.0-IGO + - US-Government-Works + - CC-BY-NC-SA-3.0-IGO + - CDLA-Permissive-1.0 + - CDLA-Sharing-1.0 + - CC-BY-ND-4.0 + - CC-BY-NC-ND-4.0 + - ODC-BY-1.0 + - LGPL-3.0 + - AGPL-3.0 + - FDL-1.3 + - EU-ODP-Legal-Notice + - apache-2.0 + - GPL-3.0 Collaborator: type: object required: - - username - - role + - username + - role properties: username: type: string @@ -1729,15 +1766,15 @@ definitions: type: string description: Role of the collaborator enum: - - reader - - writer + - reader + - writer ModelNewRequest: type: object required: - - ownerSlug - - slug - - title - - isPrivate + - ownerSlug + - slug + - title + - isPrivate properties: ownerSlug: type: string @@ -1758,7 +1795,7 @@ definitions: description: type: string description: The description to be set on the model - default: '' + default: "" publishTime: type: string format: date @@ -1766,7 +1803,7 @@ definitions: provenanceSources: type: string description: The provenance sources to be set on the model - default: '' + default: "" ModelUpdateRequest: type: object properties: @@ -1783,7 +1820,7 @@ definitions: description: type: string description: The description to be set on the model - default: '' + default: "" publishTime: type: string format: date @@ -1791,16 +1828,16 @@ definitions: provenanceSources: type: string description: The provenance sources to be set on the model - default: '' + default: "" updateMask: type: string description: Describes which fields to update ModelNewInstanceRequest: type: object required: - - instanceSlug - - framework - - licenseName + - instanceSlug + - framework + - licenseName properties: instanceSlug: type: string @@ -1808,22 +1845,27 @@ definitions: framework: type: string description: The framework of the model instance - default: + default: enum: - - tensorFlow1 - - tensorFlow2 - - tfLite - - tfJs - - pyTorch - - jax - - flax - - pax - - coral - - scikitLearn - - mxnet - - onnx - - keras - - other + - tensorFlow1 + - tensorFlow2 + - tfLite + - tfJs + - pyTorch + - jax + - flax + - pax + - maxText + - gemmaCpp + - tensorRtLlm + - ggml + - coral + - scikitLearn + - mxnet + - onnx + - keras + - transformers + - other overview: type: string description: The overview of the model instance (markdown) @@ -1835,29 +1877,29 @@ definitions: description: The license that should be associated with the model instance default: Apache 2.0 enum: - - CC0: Public Domain - - CC BY-NC-SA 4.0 - - CC BY-SA 4.0 - - GPL 2 - - CC BY-SA 3.0 - - Attribution 4.0 International (CC BY 4.0) - - Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) - - ODC Public Domain Dedication and Licence (PDDL) - - Attribution 3.0 Unported (CC BY 3.0) - - Attribution 3.0 IGO (CC BY 3.0 IGO) - - Attribution-NonCommercial-ShareAlike 3.0 IGO (CC BY-NC-SA 3.0 IGO) - - Community Data License Agreement - Permissive - Version 1.0 - - Community Data License Agreement - Sharing - Version 1.0 - - Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0) - - Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) - - ODC Attribution License (ODC-By) - - GNU Lesser General Public License 3.0 - - GNU Affero General Public License 3.0 - - GNU Free Documentation License 1.3 - - Apache 2.0 - - MIT - - BSD-3-Clause - - GPL 3 + - CC0: Public Domain + - CC BY-NC-SA 4.0 + - CC BY-SA 4.0 + - GPL 2 + - CC BY-SA 3.0 + - Attribution 4.0 International (CC BY 4.0) + - Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) + - ODC Public Domain Dedication and Licence (PDDL) + - Attribution 3.0 Unported (CC BY 3.0) + - Attribution 3.0 IGO (CC BY 3.0 IGO) + - Attribution-NonCommercial-ShareAlike 3.0 IGO (CC BY-NC-SA 3.0 IGO) + - Community Data License Agreement - Permissive - Version 1.0 + - Community Data License Agreement - Sharing - Version 1.0 + - Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0) + - Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) + - ODC Attribution License (ODC-By) + - GNU Lesser General Public License 3.0 + - GNU Affero General Public License 3.0 + - GNU Free Documentation License 1.3 + - Apache 2.0 + - MIT + - BSD-3-Clause + - GPL 3 fineTunable: type: boolean description: Whether the model instance is fine tunable @@ -1871,10 +1913,10 @@ definitions: type: string description: Whether the model instance is a base model, external variant, internal variant, or unspecified enum: - - Unspecified - - BaseModel - - KaggleVariant - - ExternalVariant + - Unspecified + - BaseModel + - KaggleVariant + - ExternalVariant baseModelInstance: type: string description: If this is an internal variant, the `{owner-slug}/{model-slug}/{framework}/{instance-slug}` of the base model instance @@ -1885,11 +1927,11 @@ definitions: type: array description: A list of files that should be associated with the model instance version items: - $ref: '#/definitions/UploadFile' + $ref: "#/definitions/UploadFile" ModelInstanceUpdateRequest: type: object required: - - updateMask + - updateMask properties: overview: type: string @@ -1902,29 +1944,29 @@ definitions: description: The license that should be associated with the model instance default: Apache 2.0 enum: - - CC0: Public Domain - - CC BY-NC-SA 4.0 - - CC BY-SA 4.0 - - GPL 2 - - CC BY-SA 3.0 - - Attribution 4.0 International (CC BY 4.0) - - Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) - - ODC Public Domain Dedication and Licence (PDDL) - - Attribution 3.0 Unported (CC BY 3.0) - - Attribution 3.0 IGO (CC BY 3.0 IGO) - - Attribution-NonCommercial-ShareAlike 3.0 IGO (CC BY-NC-SA 3.0 IGO) - - Community Data License Agreement - Permissive - Version 1.0 - - Community Data License Agreement - Sharing - Version 1.0 - - Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0) - - Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) - - ODC Attribution License (ODC-By) - - GNU Lesser General Public License 3.0 - - GNU Affero General Public License 3.0 - - GNU Free Documentation License 1.3 - - Apache 2.0 - - MIT - - BSD-3-Clause - - GPL 3 + - CC0: Public Domain + - CC BY-NC-SA 4.0 + - CC BY-SA 4.0 + - GPL 2 + - CC BY-SA 3.0 + - Attribution 4.0 International (CC BY 4.0) + - Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) + - ODC Public Domain Dedication and Licence (PDDL) + - Attribution 3.0 Unported (CC BY 3.0) + - Attribution 3.0 IGO (CC BY 3.0 IGO) + - Attribution-NonCommercial-ShareAlike 3.0 IGO (CC BY-NC-SA 3.0 IGO) + - Community Data License Agreement - Permissive - Version 1.0 + - Community Data License Agreement - Sharing - Version 1.0 + - Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0) + - Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) + - ODC Attribution License (ODC-By) + - GNU Lesser General Public License 3.0 + - GNU Affero General Public License 3.0 + - GNU Free Documentation License 1.3 + - Apache 2.0 + - MIT + - BSD-3-Clause + - GPL 3 fineTunable: type: boolean description: Whether the model instance is fine tunable @@ -1938,10 +1980,10 @@ definitions: type: string description: Whether the model instance is a base model, external variant, internal variant, or unspecified enum: - - Unspecified - - BaseModel - - KaggleVariant - - ExternalVariant + - Unspecified + - BaseModel + - KaggleVariant + - ExternalVariant baseModelInstance: type: string description: If this is an internal variant, the `{owner-slug}/{model-slug}/{framework}/{instance-slug}` of the base model instance @@ -1954,7 +1996,7 @@ definitions: ModelInstanceNewVersionRequest: type: object required: - - files + - files properties: versionNotes: type: string @@ -1963,20 +2005,20 @@ definitions: type: array description: A list of files that should be associated with the model instance version items: - $ref: '#/definitions/UploadFile' + $ref: "#/definitions/UploadFile" StartBlobUploadRequest: type: object required: - - bucket - - name - - contentLength - - lastUpdateTime + - bucket + - name + - contentLength + - lastUpdateTime properties: type: type: object description: The type of the blob (one of "dataset", "model", "inbox") schema: - $ref: '#definitions/ApiBlobType' + $ref: "#definitions/ApiBlobType" name: type: string description: Name of the file @@ -1993,14 +2035,14 @@ definitions: type: string description: To which entity this blob refers enum: - - dataset - - model - - inbox + - dataset + - model + - inbox StartBlobUploadResponse: type: object required: - - token - - createUrl + - token + - createUrl properties: token: type: string @@ -2011,8 +2053,8 @@ definitions: CreateInboxFileRequest: type: object required: - - virtualDirectory - - blobFileToken + - virtualDirectory + - blobFileToken properties: virtualDirectory: type: string diff --git a/kaggle/api/kaggle_api_extended.py b/kaggle/api/kaggle_api_extended.py index f0c0c9b..f5ce5ba 100644 --- a/kaggle/api/kaggle_api_extended.py +++ b/kaggle/api/kaggle_api_extended.py @@ -271,7 +271,7 @@ def __repr__(self): class KaggleApi(KaggleApi): - __version__ = '1.6.3' + __version__ = '1.6.7' CONFIG_NAME_PROXY = 'proxy' CONFIG_NAME_COMPETITION = 'competition' diff --git a/kaggle/models/model_new_instance_request.py b/kaggle/models/model_new_instance_request.py index 0539027..6b25b23 100644 --- a/kaggle/models/model_new_instance_request.py +++ b/kaggle/models/model_new_instance_request.py @@ -159,7 +159,7 @@ def framework(self, framework): """ if framework is None: raise ValueError("Invalid value for `framework`, must not be `None`") # noqa: E501 - allowed_values = ["tensorFlow1", "tensorFlow2", "tfLite", "tfJs", "pyTorch", "jax", "flax", "pax", "coral", "scikitLearn", "mxnet", "onnx", "keras", "other"] # noqa: E501 + allowed_values = ["tensorFlow1", "tensorFlow2", "tfLite", "tfJs", "pyTorch", "jax", "flax", "pax", "maxText", "gemmaCpp", "tensorRtLlm", "ggml", "coral", "scikitLearn", "mxnet", "onnx", "keras", "transformers", "other"] # noqa: E501 if framework not in allowed_values: raise ValueError( "Invalid value for `framework` ({0}), must be one of {1}" # noqa: E501 diff --git a/setup.py b/setup.py index 7515410..4820743 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup( name='kaggle', - version='1.6.3', + version='1.6.7', description='Kaggle API', long_description= ('Official API for https://www.kaggle.com, accessible using a command line ' @@ -37,7 +37,7 @@ entry_points={'console_scripts': ['kaggle = kaggle.cli:main']}, install_requires=[ 'six >= 1.10', - 'certifi', + 'certifi >= 2023.7.22', 'python-dateutil', 'requests', 'tqdm',