Instructions to use hebertgo/knowledgebase-intent-llm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use hebertgo/knowledgebase-intent-llm with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download hebertgo/knowledgebase-intent-llm --local-dir knowledgebase-intent-llm
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download setup_xcode.sh from hebertgo/knowledgebase-intent-llm: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/hebertgo/knowledgebase-intent-llm/resolve/afb1d525ed2099dca4e1c8d9232cd06a16a2a39c/setup_xcode.sh
- Command line
-
hf download hf://hebertgo/knowledgebase-intent-llm@afb1d525ed2099dca4e1c8d9232cd06a16a2a39c/setup_xcode.sh
-
curl -L -o setup_xcode.sh https://huggingface.co/hebertgo/knowledgebase-intent-llm/resolve/afb1d525ed2099dca4e1c8d9232cd06a16a2a39c/setup_xcode.sh
1.13 kB
| # Xcode Integration Script for QwenKnowledgeBase.mlpackage | |
| # Run this script to automatically add the CoreML model to your Xcode project | |
| echo "🚀 Setting up CoreML model for Xcode integration..." | |
| # Check if we're in the right directory | |
| if [ ! -f "QwenKnowledgeBase.mlpackage" ] && [ ! -d "QwenKnowledgeBase.mlpackage" ]; then | |
| echo "❌ Error: QwenKnowledgeBase.mlpackage not found in current directory" | |
| echo " Make sure you're in the correct directory" | |
| exit 1 | |
| fi | |
| echo "✅ Found QwenKnowledgeBase.mlpackage" | |
| echo "" | |
| echo "📱 Next Steps for Xcode Integration:" | |
| echo "1. Open your Xcode project" | |
| echo "2. Drag 'QwenKnowledgeBase.mlpackage' from this directory into your Xcode project" | |
| echo "3. In the dialog that appears:" | |
| echo " - Check 'Add to targets' for your app" | |
| echo " - Choose 'Create groups' (not folder references)" | |
| echo "4. Xcode will automatically compile the model to .mlmodelc format" | |
| echo "" | |
| echo "🎯 The model will be available in your app bundle as:" | |
| echo " Bundle.main.url(forResource: "QwenKnowledgeBase", withExtension: "mlmodelc")" | |
| echo "" | |
| echo "✅ Integration complete!" | |