Add EmoSet training and evaluation

This commit is contained in:
zin
2026-01-13 10:00:04 +00:00
parent ea505b4f9c
commit 00a8472c8d
547 changed files with 62318 additions and 0 deletions

View File

@@ -0,0 +1,376 @@
{
"title": "Application Commands",
"description": "Application commands settings.",
"jupyter.lab.shortcuts": [
{
"command": "application:activate-next-tab",
"keys": ["Ctrl Shift ]"],
"selector": "body"
},
{
"command": "application:activate-previous-tab",
"keys": ["Ctrl Shift ["],
"selector": "body"
},
{
"command": "application:activate-next-tab-bar",
"keys": ["Ctrl Shift ."],
"selector": "body"
},
{
"command": "application:activate-previous-tab-bar",
"keys": ["Ctrl Shift ,"],
"selector": "body"
},
{
"command": "application:close",
"keys": ["Alt W"],
"selector": ".jp-Activity"
},
{
"command": "application:toggle-mode",
"keys": ["Accel Shift D"],
"selector": "body"
},
{
"command": "application:toggle-left-area",
"keys": ["Accel B"],
"selector": "body"
},
{
"command": "application:toggle-right-area",
"keys": ["Accel J"],
"selector": "body"
},
{
"command": "application:toggle-presentation-mode",
"keys": [""],
"selector": "body"
},
{
"command": "application:toggle-fullscreen-mode",
"keys": ["F11"],
"selector": "body"
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt 1"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "left",
"index": 0
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt 2"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "left",
"index": 1
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt 3"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "left",
"index": 2
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt 4"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "left",
"index": 3
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt 5"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "left",
"index": 4
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt 6"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "left",
"index": 5
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt 7"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "left",
"index": 6
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt 8"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "left",
"index": 7
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt 9"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "left",
"index": 8
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt 0"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "left",
"index": 9
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt Shift 1"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "right",
"index": 0
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt Shift 2"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "right",
"index": 1
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt Shift 3"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "right",
"index": 2
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt Shift 4"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "right",
"index": 3
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt Shift 5"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "right",
"index": 4
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt Shift 6"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "right",
"index": 5
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt Shift 7"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "right",
"index": 6
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt Shift 8"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "right",
"index": 7
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt Shift 9"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "right",
"index": 8
}
},
{
"command": "application:toggle-sidebar-widget",
"keys": ["Alt Shift 0"],
"macKeys": [""],
"selector": "body",
"args": {
"side": "right",
"index": 9
}
}
],
"jupyter.lab.menus": {
"main": [
{
"id": "jp-mainmenu-file",
"items": [
{
"type": "separator",
"rank": 3
},
{
"command": "application:close",
"rank": 3
},
{
"command": "application:close-all",
"rank": 3.2
}
]
},
{
"id": "jp-mainmenu-view",
"items": [
{
"type": "submenu",
"rank": 1,
"submenu": {
"id": "jp-mainmenu-view-appearance",
"label": "Appearance",
"items": [
{
"command": "application:toggle-mode",
"rank": 0
},
{
"command": "application:toggle-presentation-mode",
"rank": 0
},
{
"command": "application:toggle-fullscreen-mode",
"rank": 0
},
{
"type": "separator",
"rank": 10
},
{
"command": "application:toggle-left-area",
"rank": 11
},
{
"command": "application:toggle-side-tabbar",
"rank": 12,
"args": {
"side": "left"
}
},
{
"command": "application:toggle-right-area",
"rank": 13
},
{
"command": "application:toggle-side-tabbar",
"rank": 14,
"args": {
"side": "right"
}
},
{
"command": "application:toggle-header",
"rank": 15
},
{
"type": "separator",
"rank": 50
},
{
"command": "application:reset-layout",
"rank": 51
}
]
}
},
{
"type": "separator",
"rank": 1
}
]
}
],
"context": [
{
"command": "application:close",
"selector": "#jp-main-dock-panel .lm-DockPanel-tabBar .lm-TabBar-tab",
"rank": 4
},
{
"command": "application:close-other-tabs",
"selector": "#jp-main-dock-panel .lm-DockPanel-tabBar .lm-TabBar-tab",
"rank": 4
},
{
"command": "application:close-all",
"selector": "#jp-main-dock-panel .lm-DockPanel-tabBar .lm-TabBar-tab",
"rank": 4
},
{
"command": "application:close-right-tabs",
"selector": "#jp-main-dock-panel .lm-DockPanel-tabBar .lm-TabBar-tab",
"rank": 5
},
{
"command": "__internal:context-menu-info",
"selector": "body",
"rank": 9007199254740991
}
]
},
"properties": {},
"additionalProperties": false,
"type": "object"
}

View File

@@ -0,0 +1,120 @@
{
"title": "Application Context Menu",
"description": "JupyterLab context menu settings.",
"jupyter.lab.setting-icon-label": "Application Context Menu",
"jupyter.lab.shortcuts": [],
"jupyter.lab.transform": true,
"properties": {
"contextMenu": {
"title": "The application context menu.",
"description": "Note: To disable a context menu item,\ncopy it to User Preferences and add the\n\"disabled\" key. The following example will disable Download item on files:\n{\n \"contextMenu\": [\n {\n \"command\": \"filebrowser:download\",\n \"selector\": \".jp-DirListing-item[data-isdir=\\\"false\\\"]\",\n \"disabled\": true\n }\n ]\n}\n\nContext menu description:",
"items": {
"allOf": [
{ "$ref": "#/definitions/menuItem" },
{
"properties": {
"selector": {
"description": "The CSS selector for the context menu item.",
"type": "string"
}
}
}
]
},
"type": "array",
"default": []
},
"disabled": {
"description": "Whether the application context (right-click) menu is disabled",
"type": "boolean",
"default": false
}
},
"additionalProperties": false,
"definitions": {
"menu": {
"properties": {
"disabled": {
"description": "Whether the menu is disabled or not",
"type": "boolean",
"default": false
},
"icon": {
"description": "Menu icon id",
"type": "string"
},
"id": {
"description": "Menu unique id",
"type": "string",
"pattern": "[a-z][a-z0-9\\-_]+"
},
"items": {
"description": "Menu items",
"type": "array",
"items": {
"$ref": "#/definitions/menuItem"
}
},
"label": {
"description": "Menu label",
"type": "string"
},
"mnemonic": {
"description": "Mnemonic index for the label",
"type": "number",
"minimum": -1,
"default": -1
},
"rank": {
"description": "Menu rank",
"type": "number",
"minimum": 0
}
},
"required": ["id"],
"additionalProperties": false,
"type": "object"
},
"menuItem": {
"properties": {
"args": {
"description": "Command arguments",
"type": "object"
},
"command": {
"description": "Command id",
"type": "string"
},
"disabled": {
"description": "Whether the item is disabled or not",
"type": "boolean",
"default": false
},
"type": {
"description": "Item type",
"type": "string",
"enum": ["command", "submenu", "separator"],
"default": "command"
},
"rank": {
"description": "Item rank",
"type": "number",
"minimum": 0
},
"submenu": {
"description": "Submenu definition",
"oneOf": [
{
"$ref": "#/definitions/menu"
},
{
"type": "null"
}
]
}
},
"type": "object"
}
},
"type": "object"
}

View File

@@ -0,0 +1,68 @@
{
"name": "@jupyterlab/application-extension",
"version": "4.5.1",
"description": "JupyterLab - Application Extension",
"homepage": "https://github.com/jupyterlab/jupyterlab",
"bugs": {
"url": "https://github.com/jupyterlab/jupyterlab/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/jupyterlab/jupyterlab.git"
},
"license": "BSD-3-Clause",
"author": "Project Jupyter",
"sideEffects": [
"style/**/*.css",
"style/index.js"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"style": "style/index.css",
"directories": {
"lib": "lib/"
},
"files": [
"lib/*.d.ts",
"lib/*.js.map",
"lib/*.js",
"schema/*.json",
"style/**/*.css",
"style/index.js",
"src/**/*.{ts,tsx}"
],
"scripts": {
"build": "tsc -b",
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "^4.5.1",
"@jupyterlab/apputils": "^4.6.1",
"@jupyterlab/coreutils": "^6.5.1",
"@jupyterlab/property-inspector": "^4.5.1",
"@jupyterlab/settingregistry": "^4.5.1",
"@jupyterlab/statedb": "^4.5.1",
"@jupyterlab/statusbar": "^4.5.1",
"@jupyterlab/translation": "^4.5.1",
"@jupyterlab/ui-components": "^4.5.1",
"@lumino/algorithm": "^2.0.4",
"@lumino/commands": "^2.3.3",
"@lumino/coreutils": "^2.2.2",
"@lumino/disposable": "^2.1.5",
"@lumino/widgets": "^2.7.2",
"react": "^18.2.0"
},
"devDependencies": {
"rimraf": "~5.0.5",
"typescript": "~5.5.4"
},
"publishConfig": {
"access": "public"
},
"jupyterlab": {
"extension": true,
"schemaDir": "schema"
},
"styleModule": "style/index.js"
}

View File

@@ -0,0 +1,27 @@
{
"title": "Property Inspector",
"description": "Property Inspector Settings.",
"jupyter.lab.menus": {
"main": [
{
"id": "jp-mainmenu-view",
"items": [
{
"command": "property-inspector:show-panel",
"rank": 2
}
]
}
]
},
"jupyter.lab.shortcuts": [
{
"command": "property-inspector:show-panel",
"keys": ["Accel Shift U"],
"selector": "body"
}
],
"properties": {},
"additionalProperties": false,
"type": "object"
}

View File

@@ -0,0 +1,96 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "JupyterLab Shell",
"description": "JupyterLab Shell layout settings.",
"jupyter.lab.menus": {
"context": [
{
"command": "sidebar:switch",
"selector": ".jp-SideBar .lm-TabBar-tab",
"rank": 500
}
]
},
"properties": {
"hiddenMode": {
"type": "string",
"title": "Hidden mode of main panel widgets",
"description": "The method for hiding widgets in the main dock panel. Using `scale` will increase performance on Firefox but don't use it with Chrome, Chromium or Edge. Similar performance gains are seen with `contentVisibility` which is only available in Chromium-based browsers.",
"enum": ["display", "scale", "contentVisibility"],
"default": "display"
},
"startMode": {
"enum": ["", "single", "multiple"],
"title": "Start mode: ``, `single` or `multiple`",
"description": "The mode under which JupyterLab should start. If empty, the mode will be imposed by the URL",
"default": ""
},
"layout": {
"type": "object",
"title": "Customize shell widget positioning",
"description": "Overrides default widget position in the application layout\ne.g. to position terminals in the right sidebar in multiple documents mode and in the down are in single document mode, {\n \"single\": { \"Terminal\": { \"area\": \"down\" } },\n \"multiple\": { \"Terminal\": { \"area\": \"right\" } }\n}.",
"properties": {
"single": {
"$ref": "#/definitions/layout",
"default": {
"Linked Console": { "area": "down" },
"Inspector": { "area": "down" },
"Cloned Output": { "area": "down" }
}
},
"multiple": { "$ref": "#/definitions/layout", "default": {} }
},
"default": {
"single": {
"Linked Console": { "area": "down" },
"Inspector": { "area": "down" },
"Cloned Output": { "area": "down" }
},
"multiple": {}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"type": "object",
"definitions": {
"layout": {
"type": "object",
"properties": {
"[\\w-]+": {
"type": "object",
"properties": {
"area": {
"enum": ["main", "left", "right", "down"]
},
"options": {
"$ref": "#/definitions/options"
}
},
"additionalProperties": false
}
}
},
"options": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"split-top",
"split-left",
"split-right",
"split-bottom",
"tab-before",
"tab-after"
]
},
"rank": { "type": "number", "minimum": 0 },
"ref": {
"type": "string",
"minLength": 1
}
}
}
}
}

View File

@@ -0,0 +1,80 @@
{
"title": "Top Bar",
"description": "Top Bar settings.",
"jupyter.lab.toolbars": {
"TopBar": [
{
"name": "spacer",
"type": "spacer",
"rank": 50
}
]
},
"jupyter.lab.transform": true,
"properties": {
"toolbar": {
"title": "Top bar items",
"description": "Note: To disable a item,\ncopy it to User Preferences and add the\n\"disabled\" key. The following example will disable the user menu:\n{\n \"toolbar\": [\n {\n \"name\": \"user-menu\",\n \"disabled\": true\n }\n ]\n}\n\nTop bar description:",
"items": {
"$ref": "#/definitions/toolbarItem"
},
"type": "array",
"default": []
}
},
"additionalProperties": false,
"type": "object",
"definitions": {
"toolbarItem": {
"properties": {
"name": {
"title": "Unique name",
"type": "string"
},
"args": {
"title": "Command arguments",
"type": "object"
},
"command": {
"title": "Command id",
"type": "string",
"default": ""
},
"disabled": {
"title": "Whether the item is ignored or not",
"type": "boolean",
"default": false
},
"icon": {
"title": "Item icon id",
"description": "If defined, it will override the command icon",
"type": "string"
},
"label": {
"title": "Item label",
"description": "If defined, it will override the command label",
"type": "string"
},
"caption": {
"title": "Item caption",
"description": "If defined, it will override the command caption",
"type": "string"
},
"type": {
"title": "Item type",
"type": "string",
"enum": ["command", "spacer"]
},
"rank": {
"title": "Item rank",
"type": "number",
"minimum": 0,
"default": 50
}
},
"required": ["name"],
"additionalProperties": false,
"type": "object"
}
}
}