{"id":23975662,"url":"https://github.com/beastbyteai/scikit-llm","last_synced_at":"2026-01-21T15:06:40.006Z","repository":{"id":164532950,"uuid":"639997734","full_name":"BeastByteAI/scikit-llm","owner":"BeastByteAI","description":"Seamlessly integrate LLMs into scikit-learn.","archived":false,"fork":false,"pushed_at":"2025-01-05T18:21:31.000Z","size":263,"stargazers_count":3398,"open_issues_count":10,"forks_count":276,"subscribers_count":35,"default_branch":"main","last_synced_at":"2025-01-07T06:07:33.136Z","etag":null,"topics":["chatgpt","deep-learning","llm","machine-learning","scikit-learn","transformers"],"latest_commit_sha":null,"homepage":"https://beastbyte.ai/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BeastByteAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-12T18:09:40.000Z","updated_at":"2025-01-05T18:20:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7116579-18bc-481f-b48c-564a0bdeb5e7","html_url":"https://github.com/BeastByteAI/scikit-llm","commit_stats":{"total_commits":124,"total_committers":13,"mean_commits":9.538461538461538,"dds":0.6048387096774194,"last_synced_commit":"261f501b4ad396f667f5b204a07d6d60ebe2893e"},"previous_names":["beastbyteai/scikit-llm","iryna-kondr/scikit-llm"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeastByteAI%2Fscikit-llm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeastByteAI%2Fscikit-llm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeastByteAI%2Fscikit-llm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeastByteAI%2Fscikit-llm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BeastByteAI","download_url":"https://codeload.github.com/BeastByteAI/scikit-llm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247962594,"owners_count":21024870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatgpt","deep-learning","llm","machine-learning","scikit-learn","transformers"],"created_at":"2025-01-07T06:07:30.591Z","updated_at":"2026-01-21T15:06:39.962Z","avatar_url":"https://github.com/BeastByteAI.png","language":"Python","funding_links":[],"categories":["NLP"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"logo\" src=\"https://gist.githubusercontent.com/OKUA1/55e2fb9dd55673ec05281e0247de6202/raw/41063fcd620d9091662fc6473f9331a7651b4465/scikit-llm.svg\" height = \"250\"\u003e\n\u003c/div\u003e\n\n# Scikit-LLM: Scikit-Learn Meets Large Language Models\n\nSeamlessly integrate powerful language models like ChatGPT into scikit-learn for enhanced text analysis tasks.\n\n## Installation 💾\n\n```bash\npip install scikit-llm\n```\n\n## Support us 🤝\n\nYou can support the project in the following ways:\n\n- ⭐ Star Scikit-LLM on GitHub (click the star button in the top right corner)\n- 💡 Provide your feedback or propose ideas in the [issues](https://github.com/iryna-kondr/scikit-llm/issues) section or [Discord](https://discord.gg/YDAbwuWK7V)\n- 📰 Post about Scikit-LLM on LinkedIn or other platforms\n- 🔗 Check out our other projects: \u003ca href=\"https://github.com/beastbyteai/agent_dingo\"\u003eDingo\u003c/a\u003e, \u003ca href=\"https://github.com/beastbyteai/agent_dingo\"\u003eFalcon\u003c/a\u003e\n\n\u003cbr\u003e\n\u003ca href=\"https://github.com/OKUA1/agent_dingo\"\u003e\n  \u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://gist.githubusercontent.com/OKUA1/ce2167df8e441ce34a9fbc8578b86543/raw/f740c391ec37eaf2f80d5b46f1fa2a989dd45932/dingo_h_dark.svg\" \u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://gist.githubusercontent.com/OKUA1/ce2167df8e441ce34a9fbc8578b86543/raw/f740c391ec37eaf2f80d5b46f1fa2a989dd45932/ding_h_light.svg\"\u003e\n  \u003cimg alt=\"Logo\" src=\"https://gist.githubusercontent.com/OKUA1/ce2167df8e441ce34a9fbc8578b86543/raw/f740c391ec37eaf2f80d5b46f1fa2a989dd45932/dingo_h_dark.svg\" height = \"65\"\u003e\n\u003c/picture\u003e\n\u003c/a\u003e \u003cbr\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/OKUA1/falcon\"\u003e\n  \u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://gist.githubusercontent.com/OKUA1/ce2167df8e441ce34a9fbc8578b86543/raw/f740c391ec37eaf2f80d5b46f1fa2a989dd45932/falcon_h_dark.svg\" \u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://gist.githubusercontent.com/OKUA1/ce2167df8e441ce34a9fbc8578b86543/raw/f740c391ec37eaf2f80d5b46f1fa2a989dd45932/falcon_h_light.svg\"\u003e\n  \u003cimg alt=\"Logo\" src=\"https://gist.githubusercontent.com/OKUA1/ce2167df8e441ce34a9fbc8578b86543/raw/f740c391ec37eaf2f80d5b46f1fa2a989dd45932/dingo_h_dark.svg\" height = \"65\"\u003e\n\u003c/picture\u003e\n\u003c/a\u003e\n\n## Quick Start \u0026 Documentation 📚\n\nQuick start example of zero-shot text classification using GPT:\n\n```python\n# Import the necessary modules\nfrom skllm.datasets import get_classification_dataset\nfrom skllm.config import SKLLMConfig\nfrom skllm.models.gpt.classification.zero_shot import ZeroShotGPTClassifier\n\n# Configure the credentials\nSKLLMConfig.set_openai_key(\"\u003cYOUR_KEY\u003e\")\nSKLLMConfig.set_openai_org(\"\u003cYOUR_ORGANIZATION_ID\u003e\")\n\n# Load a demo dataset\nX, y = get_classification_dataset() # labels: positive, negative, neutral\n\n# Initialize the model and make the predictions\nclf = ZeroShotGPTClassifier(model=\"gpt-4\")\nclf.fit(X,y)\nclf.predict(X)\n```\n\nFor more information please refer to the **[documentation](https://skllm.beastbyte.ai)**.\n\n## Citation\n\nYou can cite Scikit-LLM using the following BibTeX:\n\n```\n@software{ScikitLLM,\n  author = {Iryna Kondrashchenko and Oleh Kostromin},\n  year = {2023},\n  publisher = {beastbyte.ai},\n  address = {Linz, Austria},\n  title = {Scikit-LLM: Scikit-Learn Meets Large Language Models},\n  url = {https://github.com/iryna-kondr/scikit-llm }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeastbyteai%2Fscikit-llm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeastbyteai%2Fscikit-llm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeastbyteai%2Fscikit-llm/lists"}