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,106 @@
{
"title": "Inline Completer",
"description": "Inline completer settings.",
"jupyter.lab.setting-icon": "completer:inline",
"jupyter.lab.setting-icon-label": "Inline Completer",
"jupyter.lab.transform": true,
"jupyter.lab.shortcuts": [
{
"command": "inline-completer:next",
"keys": ["Alt ]"],
"selector": ".jp-mod-completer-enabled",
"preventDefault": false
},
{
"command": "inline-completer:previous",
"keys": ["Alt ["],
"selector": ".jp-mod-completer-enabled",
"preventDefault": false
},
{
"command": "inline-completer:accept",
"keys": ["Tab"],
"selector": ".jp-mod-inline-completer-active"
},
{
"command": "inline-completer:accept",
"keys": ["Alt End"],
"selector": ".jp-mod-inline-completer-active"
},
{
"command": "inline-completer:invoke",
"keys": ["Alt \\"],
"selector": ".jp-mod-completer-enabled",
"preventDefault": false
}
],
"properties": {
"providers": {
"title": "Inline completion providers",
"type": "object",
"default": {}
},
"showWidget": {
"title": "Show widget",
"description": "When to show the inline completer widget.",
"type": "string",
"oneOf": [
{ "const": "always", "title": "Always" },
{ "const": "onHover", "title": "On hover" },
{ "const": "never", "title": "Never" }
],
"default": "onHover"
},
"showShortcuts": {
"title": "Show shortcuts in the widget",
"description": "Whether to show shortcuts in the inline completer widget.",
"type": "boolean",
"default": true
},
"suppressIfTabCompleterActive": {
"title": "Suppress when the tab completer is active",
"description": "Whether to suppress the inline completer when the tab completer suggestions are shown.",
"type": "boolean",
"default": true
},
"streamingAnimation": {
"title": "Streaming animation",
"description": "Transition effect used when streaming tokens from model.",
"type": "string",
"oneOf": [
{ "const": "none", "title": "None" },
{ "const": "uncover", "title": "Uncover" }
],
"default": "uncover"
},
"minLines": {
"title": "Reserve lines for inline completion",
"description": "Number of lines to reserve for the ghost text with inline completion suggestion.",
"type": "number",
"default": 0,
"minimum": 0
},
"maxLines": {
"title": "Limit inline completion lines",
"description": "Number of lines of inline completion to show before collapsing. Setting zero disables the limit.",
"type": "number",
"default": 0,
"minimum": 0
},
"reserveSpaceForLongest": {
"title": "Reserve space for the longest candidate",
"description": "When multiple completions are returned, reserve blank space for up to as many lines as in the longest completion candidate to avoid resizing editor when cycling between the suggestions.",
"type": "boolean",
"default": false
},
"editorResizeDelay": {
"title": "Editor resize delay",
"description": "When an inline completion gets cancelled the editor may change its size rapidly. When typing in the editor, the completions may get dismissed frequently causing a noticeable jitter of the editor height. Adding a delay prevents the jitter on typing. The value should be in milliseconds.",
"type": "number",
"default": 1000,
"minimum": 0
}
},
"additionalProperties": false,
"type": "object"
}

View File

@@ -0,0 +1,50 @@
{
"title": "Code Completion",
"description": "Code Completion settings.",
"jupyter.lab.setting-icon": "completer:widget",
"jupyter.lab.setting-icon-label": "Code Completer",
"jupyter.lab.transform": true,
"properties": {
"availableProviders": {
"title": "Completion providers rank setting.",
"description": "Providers with higher rank will be shown before the ones with lower rank, providers with negative rank are disabled.",
"type": "object",
"patternProperties": {
"^.*$": {
"type": "integer"
}
},
"additionalProperties": false,
"default": {
"CompletionProvider:context": 500,
"CompletionProvider:kernel": 550
}
},
"providerTimeout": {
"title": "Default timeout for a provider.",
"description": "If a provider can not return the response for a completer request before timeout, the result of this provider will be ignored. Value is in millisecond",
"type": "number",
"default": 1000
},
"showDocumentationPanel": {
"title": "Show the documentation panel.",
"description": "Documentation panel setting.",
"type": "boolean",
"default": false
},
"autoCompletion": {
"title": "Enable autocompletion.",
"description": "Autocompletion setting.",
"type": "boolean",
"default": false
},
"suppressIfInlineCompleterActive": {
"title": "Suppress when the inline completer is active",
"description": "Whether to suppress the tab completer when inline completions are presented.",
"type": "boolean",
"default": true
}
},
"additionalProperties": false,
"type": "object"
}

View File

@@ -0,0 +1,63 @@
{
"name": "@jupyterlab/completer-extension",
"version": "4.5.1",
"description": "JupyterLab - Completer 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/codeeditor": "^4.5.1",
"@jupyterlab/completer": "^4.5.1",
"@jupyterlab/settingregistry": "^4.5.1",
"@jupyterlab/translation": "^4.5.1",
"@jupyterlab/ui-components": "^4.5.1",
"@lumino/commands": "^2.3.3",
"@lumino/coreutils": "^2.2.2",
"@rjsf/utils": "^5.13.4",
"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"
}