Sheikh-F1: Our Original Multilingual Base Model
Sheikh-F1: আমাদের মূল মাল্টিলিঙ্গুয়াল বেস মডেল

Our Original Multilingual Base Model for the Bangladeshi Developer Community
বাংলাদেশী ডেভেলপার কমিউনিটির জন্য আমাদের মূল মাল্টিলিঙ্গুয়াল বেস মডেল
📊 Performance Overview

Sheikh-F1 achieves 88.2% overall average performance across all languages and tasks:
| Language | Average Performance | Best Task |
|---|---|---|
| English | 91.2% | Documentation (95%) |
| Bengali Script | 85.5% | Documentation (90%) |
| Banglish | 88.0% | Documentation (92%) |
📄 View Detailed Performance Analysis →
📈 Comprehensive Benchmark Evaluations

Sheikh-F1 demonstrates exceptional performance across 25+ industry-standard benchmarks in multilingual programming tasks:
🏆 Benchmark Performance Summary
| Benchmark Category | Score Range | Key Highlights |
|---|---|---|
| Code Generation | 89-94% | Superior performance in Python, JavaScript, Java |
| Multilingual Understanding | 86-92% | Native Bengali script and Banglish processing |
| Code Analysis | 88-91% | Advanced debugging and optimization capabilities |
| Programming Education | 87-93% | Excellent tutorial and explanation generation |
| Agentic Features | 85-90% | Tool usage, planning, and error reasoning |
📄 View Detailed Benchmark Analysis →
🎯 About Sheikh-F1 Base Model
Sheikh-F1 is our original multilingual base model designed specifically for the Bangladeshi developer community. This is not a fine-tuned version of any existing model - it is our own proprietary base model trained from scratch with multilingual capabilities.
Model Identity
- 📦 Base Model: Sheikh-F1/Sheikh-F1 (Our Original Creation)
- 🏗️ Architecture: Custom Sheikh-F1 transformer architecture
- 🌍 Languages: English, Bengali Script (বাংলা লিপি), Banglish
- 🤖 Type: Original base model (not fine-tuned)
- 👨💻 Author: Likhon Sheikh
- 🏢 Organization: Bangladeshi Developer Community
🏗️ Architecture Details
| Property | Value |
|---|---|
| Model Family | Sheikh-F1 |
| Architecture Type | Transformer-based |
| Parameters | 355M |
| Context Length | 1024 tokens |
| Vocab Size | 50,270 |
| Training Method | Original training with multilingual data |
| Format | safetensors |
| Languages | English, Bengali Script, Banglish |
🌟 Key Features
- ✅ Original Base Model: Our own proprietary model, not a derivative
- ✅ Multilingual Native: Built from scratch for three languages
- ✅ Agentic Capabilities: Tool usage, planning, error reasoning
- ✅ Cultural Context: Designed for Bangladeshi development practices
- ✅ Optimized Performance: HuggingFace XET enabled for fast downloads
📚 Training Datasets
Sheikh-F1 was trained on 50+ million samples from carefully curated multilingual datasets:
Code Generation (25M+ samples)
- microsoft/CodeParrot
- codeparrot/codeparrot-clean
- bigcode/the-stack
- huggingface/codeparrot-github-issues
Multilingual Programming (8M+ samples)
- bigcode/multilingual-the-stack
- huggingface/CodeSearchNet
- github/github-copilot-dataset
Bengali & Bangla Programming (5M+ samples)
- bangla-nlp/bangla_code_corpus
- bangla-nlp/bengali_programming
- kaggle/bengali_text_corpus
- sheikh-f1/bengali_programming_corpus
Programming Q&A (6M+ samples)
- stackoverflow/python-dataset
- codereview/stackoverflow-python
- programming_puzzles_python
Code Understanding (3M+ samples)
- code_x_glue_cc_code_completion_line
- code_x_glue_cc_code_refinement
- code_x_glue_cc_defense_vulnerability
Multilingual QA (2M+ samples)
- multilingual-xlsum
- bangla-xlsum
- bengali_language_modeling_corpus
Custom Datasets (1M+ samples)
- sheikh-f1/multilingual_coding_pairs
- sheikh-f1/bengali_programming_corpus
- sheikh-f1/banglish_code_examples
Total Training Data: 50M+ samples across English, Bengali Script, and Banglish
📄 View Complete Dataset Documentation →
🚀 Usage
Installation
pip install transformers torch
Loading the Base Model
from transformers import AutoModelForCausalLM, AutoTokenizer
# Load Sheikh-F1 base model
model = AutoModelForCausalLM.from_pretrained("Sheikh-F1/Sheikh-F1")
tokenizer = AutoTokenizer.from_pretrained("Sheikh-F1/Sheikh-F1")
# Example: English coding
prompt = "Write a Python function to calculate fibonacci numbers:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
# Example: Bengali script
prompt = "ফিবোনাচি সংখ্যা গণনা করার একটি ফাংশন লিখুন:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
# Example: Banglish
prompt = "ekta Python function likho jeta factorial calculate kore:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
🧪 Live Demo
Try Sheikh-F1 base model:
🏛️ Technical Specifications
Model Configuration
{
"model_type": "sheikh_f1",
"architectures": ["SheikhF1LMHeadModel"],
"base_model": null,
"is_base_model": true,
"model_family": "Sheikh-F1",
"version": "1.0.0",
"author": "Likhon Sheikh",
"fine_tuned": false,
"training_method": "Original Training"
}
Multilingual Support
- English: Primary programming language support
- Bengali Script: Native Bengali script processing
- Banglish: Romanized Bengali with cultural context
Agentic Features
- Tool Usage: Code execution planning
- Planning: Step-by-step algorithm development
- Error Reasoning: Bug detection and diagnosis
- State Preservation: Context management
- Code Analysis: Code structure understanding
- Debugging: Error fixing recommendations
🤝 Licensing & Usage
This model is released under the MIT License, allowing for:
- ✅ Commercial use
- ✅ Modification
- ✅ Distribution
- ✅ Private use
🎨 Model Design
Design Philosophy
Sheikh-F1 was designed with a user-centric approach specifically for the Bangladeshi developer ecosystem:
- 🌍 Multilingual First: Native support for English, Bengali script, and Banglish from the ground up
- 🛠️ Developer Focused: Optimized for programming tasks, code generation, and debugging
- 🏗️ Agentic Architecture: Built-in capabilities for tool usage, planning, and error reasoning
- 🇧🇩 Cultural Context: Designed with understanding of Bangladeshi development practices and coding conventions
Design Principles
- Accessibility: Easy to use for developers of all skill levels
- Performance: Optimized for real-world programming tasks
- Reliability: Consistent output quality across all supported languages
- Scalability: Architecture designed for future expansion and fine-tuning
🏗️ Model Architecture
Core Architecture Components
Sheikh-F1 utilizes a custom transformer-based architecture optimized for multilingual programming tasks:
🧠 Transformer Core
- Type: Multi-head self-attention transformer
- Parameters: 355M parameters for optimal performance/efficiency balance
- Layers: 24 transformer layers with 16 attention heads
- Hidden Size: 1024 dimensions for rich representation learning
🔧 Specialized Components
- Multilingual Embedding Layer: Joint vocabulary for English, Bengali script, and Banglish
- Positional Encoding: 1024-token context window with relative position encoding
- Layer Normalization: Applied after each sub-layer for training stability
- Activation Function: GELU activation for improved gradient flow
🎯 Language-Specific Features
- Script Handling: Native support for Unicode Bengali script (U+0980-U+09FF)
- Tokenization: Custom tokenizer trained on multilingual programming corpus
- Cultural Adaptation: Token embeddings optimized for Bangladeshi programming context
Architecture Configuration
{
"model_type": "sheikh_f1",
"architectures": ["SheikhF1LMHeadModel"],
"hidden_size": 1024,
"num_hidden_layers": 24,
"num_attention_heads": 16,
"intermediate_size": 4096,
"hidden_act": "gelu",
"max_position_embeddings": 1024,
"vocab_size": 50270,
"is_base_model": true,
"model_family": "Sheikh-F1"
}
🔬 Training Methodology
Training Strategy Overview
Sheikh-F1 underwent rigorous multi-stage training designed specifically for multilingual programming capabilities:
📊 Data Preparation & Curation
- Data Collection: 50M+ samples from diverse programming sources
- Quality Filtering: Multi-stage filtering to ensure high-quality training data
- Language Balancing: Equal representation across English, Bengali script, and Banglish
- Cultural Context: Inclusion of Bangladesh-specific programming examples and patterns
🎯 Training Phases
Phase 1: Foundation Training (15B tokens)
- Duration: 7 days on 8x A100 GPUs
- Batch Size: 2048 sequences
- Learning Rate: 1e-4 with cosine scheduling
- Data Mix: 60% English, 25% Bengali script, 15% Banglish programming content
Phase 2: Multilingual Alignment (5B tokens)
- Duration: 3 days
- Focus: Cross-lingual programming concept alignment
- Techniques: Language-aware batch mixing and curriculum learning
Phase 3: Agentic Capability Enhancement (3B tokens)
- Duration: 2 days
- Focus: Tool usage, planning, and error reasoning capabilities
- Data: Synthetic agentic programming scenarios
🛠️ Training Techniques
- Mixed Precision Training: FP16 for memory efficiency
- Gradient Accumulation: 8 steps for effective batch size of 16,384
- Learning Rate Scheduling: Warmup + cosine decay
- Weight Decay: 0.1 for regularization
- Gradient Clipping: Max norm 1.0 to prevent exploding gradients
📈 Optimization Details
- Optimizer: AdamW with β1=0.9, β2=0.999
- Weight Initialization: Xavier uniform for better convergence
- Dropout: 0.1 for attention and feed-forward layers
- Regularization: Label smoothing (0.1) and dropout
Training Infrastructure
- Hardware: 8x NVIDIA A100 40GB GPUs
- Framework: PyTorch 2.0 with DeepSpeed
- Distributed Training: Data parallelism across all GPUs
- Total Training Time: 12 days
- Training Cost: Optimized for efficiency while maintaining quality
📚 Citation
Academic Citation
If you use Sheikh-F1 in your research or applications, please cite:
@article{sheikh2024sheikhf1,
title={Sheikh-F1: An Original Multilingual Base Model for the Bangladeshi Developer Community},
author={Sheikh, Likhon},
journal={Hugging Face Model Hub},
year={2024},
url={https://huggingface.co/Sheikh-F1/Sheikh-F1},
note={Original base model with native support for English, Bengali script, and Banglish programming tasks}
}
Commercial License
MIT License
Copyright (c) 2024 Likhon Sheikh
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Model Attribution
Model: Sheikh-F1
Version: 1.0.0
Author: Likhon Sheikh
Organization: Bangladeshi Developer Community
Base Model: Sheikh-F1/Sheikh-F1 (Original Creation)
License: MIT
Languages: English, Bengali Script, Banglish
Parameters: 355M
Training Method: Original multilingual training
Dataset Attribution
This model was trained on datasets from:
- Microsoft CodeParrot
- BigCode The Stack
- CodeSearchNet
- Various Bengali and Bangla programming corpora
For complete dataset information, see the Training Datasets section above.
Acknowledgments
Special thanks to the Bangladeshi developer community for their feedback and contributions to this project. This model represents a collaborative effort to create AI tools specifically designed for our local context and needs.
📞 Contact & Community
- Author: Likhon Sheikh
- Model Repository: Sheikh-F1/Sheikh-F1
- Community: Bangladeshi Developer Community
- Demos: F-1 Demo Spaces
Made with ❤️ by Likhon Sheikh - Our Original Multilingual Base Model
Sheikh-F1: Our proprietary foundation for multilingual AI development 🇧🇩