Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
LLM Labeling UI is an open source project for large language model data labeling
WARNING: This software is mainly developed according to my personal habits and is still under development. We are not responsible for any data loss that may occur during your use.
LLM Labeling UI is a project fork from Chatbot UI, and made the following modifications to make it more suitable for large language model data labeling tasks.
pip install llm-labeling-ui
1. Provide OpenAI API Key
You can provide openai api key before start server or configure it later in the web page.
export OPENAI_API_KEY=YOUR_KEY
export OPENAI_ORGANIZATION=YOUR_ORG
2. Start Server
llm-labeling-ui server start --data chatbot-ui-v4-format-history.json --tokenizer meta-llama/Llama-2-7b
--data
: Chatbot-UI-v4 format, here is an example. Before the service starts, a chatbot-ui-v4-format-history.sqlite
file will be created based on chatbot-ui-v4-format-history.json
. All your modifications on the page will be saved into the sqlite file. If the chatbot-ui-v4-format-history.sqlite
file already exists, it will be automatically read.--tokenizer
is used to display how many tokens the current conversation on the webpage contains. Please note that this is not the token consumed by calling the openai api.User --help
to see more details, such as:
llm-labeling-ui cluster --help
Usage: llm-labeling-ui cluster [OPTIONS] COMMAND [ARGS]...
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ create-embedding Create embedding │
│ dedup Delete redundant data in the same clustering result │
│ according to certain strategies. │
| prune-embedding Remove embedding not exists in db |
│ run DBSCAN embedding cluster │
│ view View cluster result │
╰──────────────────────────────────────────────────────────────────────────────
FAQs
LLM Labeling UI is an open source project for large language model data labeling
We found that llm-labeling-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.