File size: 3,480 Bytes
2120e7f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# rad_cs_myfirstmodel - My First AI Computer Science Specialist
π **My first published AI model!** A specialized 4.7GB AI that focuses exclusively on computer science topics.
## π Model Overview
- **Model Name**: rad_cs_myfirstmodel
- **Model ID**: 0bb1cdc93d3a
- **Size**: 4.7 GB
- **Base Model**: qwen2.5:7b
- **Specialization**: Computer Science & Programming
- **Creator**: [@sanual](https://huggingface.co/sanual) (First model!)
## π― What Makes This Special
This is my **first AI model creation!** It transforms a general AI into a focused computer science expert that:
- β
**Only talks about CS topics** - No weather, cooking, or off-topic responses
- β
**Provides technical accuracy** - Optimized for programming and algorithms
- β
**Works offline** - Complete privacy, no internet required
- β
**Custom trained** - Specialized system prompts for CS expertise
## π» Installation & Usage
### Prerequisites
- [Ollama](https://ollama.ai) installed
- 5GB+ free disk space
### Quick Start
```bash
# Create the model from Modelfile
ollama create rad_cs_myfirstmodel -f Modelfile
# Run the model
ollama run rad_cs_myfirstmodel
# Test it out!
>>> Who are you?
I'm rad_cs, your computer science specialist.
>>> What is binary search?
Binary search is an O(log n) algorithm that efficiently searches sorted arrays...
```
## π¬ Example Questions
- **Algorithms**: "Explain quicksort algorithm"
- **Programming**: "Write a Python function to reverse a string"
- **Data Structures**: "How does a hash table work?"
- **Systems**: "What's the difference between TCP and UDP?"
- **Web Dev**: "Create a REST API in Python Flask"
- **AI/ML**: "Explain gradient descent"
## π οΈ Technical Details
- **Temperature**: 0.7 (balanced creativity/accuracy)
- **Context Window**: 4096 tokens
- **Max Response**: 512 tokens
- **Offline Capable**: Yes, no internet required
- **Privacy**: All processing local, no data sent anywhere
## π Personality
**Identity Response**: "I'm rad_cs, your computer science specialist."
**For Non-CS Topics**: Politely redirects to CS subjects: *"I specialize in computer science topics. Please ask about programming, algorithms, systems, or software development."*
## π§ Model Configuration
The model uses custom system prompts to:
- Focus exclusively on computer science domains
- Provide direct, technical answers
- Include practical code examples
- Maintain educational clarity
- Filter out non-CS topics
## π My Learning Journey
This represents my first step into AI model creation! Key learnings:
- **No PhD required** - Just vision and open source tools
- **Community support** - Amazing resources available
- **Ollama platform** - Makes local AI accessible
- **Custom specialization** - Turn any model into a domain expert
## π What's Next?
- Gather community feedback
- Improve based on real usage
- Explore other specializations
- Share knowledge with newcomers
## π License
MIT License - Feel free to use, modify, and learn from this!
## π Acknowledgments
- **Open Source Community** - For making this possible
- **Ollama Team** - For the amazing platform
- **Base Model Creators** - For the foundation
- **Early Users** - For feedback and support
---
*Built with β€οΈ as my first contribution to the AI community!*
## π Stats
- **First model**: β
- **Computer Science focused**: β
- **Offline privacy**: β
- **Community ready**: β
*What an exciting time to build AI!* π
|