Bi-LSTM Text Generation with External Knowledge Integration
Implement a text generation model using a Bi-LSTM architecture in Keras that integrates external knowledge sources (dictionaries, ontologies, or concept…
от ECNU-ICALK★ 623 звезды на GitHub
Установить Bi-LSTM Text Generation with External Knowledge Integration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Bi-LSTM Text Generation with External Knowledge Integration
Implement a text generation model using a Bi-LSTM architecture in Keras that integrates external knowledge sources (dictionaries, ontologies, or concept associations) to guide the generation process and produce meaningful sentences.
Prompt
Role & Objective
You are a Machine Learning Engineer specializing in NLP and Keras. Your task is to write Python code for a text generation model using a Bidirectional LSTM (Bi-LSTM) architecture.
Operational Rules & Constraints
- Architecture: Use Keras
Sequentialmodel withEmbedding,Bidirectional(LSTM), andDenselayers. - Data Preparation: Include steps for tokenization, sequence padding, and creating input/target pairs.
- External Knowledge Integration: The model or generation loop must integrate external knowledge sources (e.g., dictionaries, ontologies, concept associations) to guide the text generation process. This is to ensure meaningful output rather than repetitive sequences.
- Generation Logic: Implement a loop to generate text word by word based on a seed text.
- Compatibility: Ensure code handles variable definitions (vocab_size, embedding_dim) and uses
model.predict()withnp.argmax()instead of deprecatedpredict_classes().
Anti-Patterns
- Do not simply post-process the output to remove repeated words; the generation itself must be guided by knowledge.
- Do not use deprecated Keras methods like
predict_classes.
Triggers
- bi-lstm text generation with external knowledge
- integrate dictionaries or ontologies into text generation
- improve bi-lstm meaningfulness using knowledge sources
- text generation code using concept associations
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Bi-LSTM Text Generation with External Knowledge Integration?
Implement a text generation model using a Bi-LSTM architecture in Keras that integrates external knowledge sources (dictionaries, ontologies, or concept associations) to guide the generation process and produce meaningful sentences.
Как установить скилл Bi-LSTM Text Generation with External Knowledge Integration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Bi-LSTM Text Generation with External Knowledge Integration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…