2 Downloads Updated 6 months ago
ollama run Jadio/keyword_from_topic_granite33_2b
Updated 6 months ago
6 months ago
5ef75ba9e011 · 1.5GB ·
Generates keywords from topics using a fine-tuned language model with validation and quality control.
topics.yamlJadio/keyword_from_topic_granite33_2btopics.yaml with your topics if neededpython workflow.pyThe workflow automatically calls Ollama’s chat API and loads the model as needed. It runs continuously in loops until stopped with Ctrl+C.
The model uses temperature 0.3 to force topic repetition in generated keywords. The system prompt ensures 7+ word output related to the input topic.
{"task": "1_generate_keyword", "topic":"", "keyword":"", "keyword_hash":""}
Input Topic: “Python Programming Language”
Output: {"task": "1_generate_keyword", "topic":"Python Programming Language", "keyword":"Python Programming Language: Comprehensive Guide", "keyword_hash":"804dafd9..."}
This workflow is completely self-contained. Copy the entire folder to any machine with Python and Ollama to run independently.