| --- |
| title: Lancode Chat |
| emoji: 🚀 |
| colorFrom: indigo |
| colorTo: purple |
| sdk: gradio |
| sdk_version: 5.0.0 |
| app_file: app.py |
| pinned: false |
| hf_oauth: true |
| hf_oauth_scopes: |
| - inference-api |
| short_description: Chat with Lancode language models (1.7B and 0.6B parameters) |
| thumbnail: https://huggingface.co/spaces/jkleeedo/lancode/resolve/main/thumbnail.png |
| tags: |
| - chatbot |
| - lancode |
| - conversation |
| - llm |
| license: mit |
| --- |
| |
| # 🚀 Lancode Chat |
|
|
| A beautiful, interactive chat interface for the **Lancode** family of language models. |
|
|
| ## Available Models |
|
|
| | Model | Parameters | Description | |
| |-------|------------|-------------| |
| | `jkleeedo/lancode-1.7b` | 1.7B | Larger model with enhanced capabilities | |
| | `jkleeedo/lancode-0.6b` | 0.6B | Lightweight model for faster inference | |
|
|
| ## Features |
|
|
| - 🎨 **Beautiful UI** - Modern gradient design with dark theme |
| - 🤖 **Model Selector** - Easy switching between Lancode models |
| - 🎭 **Persona Presets** - Choose from different conversation styles |
| - ⚡ **Free Inference** - Powered by Hugging Face's free Inference API |
| - 🔐 **Secure** - OAuth login with Hugging Face |
|
|
| ## How to Use |
|
|
| 1. Click **"Login with Hugging Face"** to authenticate |
| 2. Select your preferred **model** from the dropdown |
| 3. Choose a **persona** or write your own system message |
| 4. Adjust generation **parameters** if desired |
| 5. Start chatting! |
|
|
| ## Adding More Models |
|
|
| To add new models, simply edit the `MODELS` dictionary in `app.py`: |
|
|
| ```python |
| MODELS = { |
| "Lancode 1.7B": "jkleeedo/lancode-1.7b", |
| "Lancode 0.6B": "jkleeedo/lancode-0.6b", |
| "Your New Model": "username/model-name", # Add here |
| } |
| ``` |
|
|
| ## Resources |
|
|
| - [Lancode 1.7B on Hugging Face](https://huggingface.co/jkleeedo/lancode-1.7b) |
| - [Lancode 0.6B on Hugging Face](https://huggingface.co/jkleeedo/lancode-0.6b) |
| - [Gradio Documentation](https://gradio.app/docs) |
|
|
| --- |
|
|
| Made with ❤️ by [jkleeedo](https://huggingface.co/jkleeedo) |
|
|