Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,47 +1,55 @@
|
|
| 1 |
---
|
| 2 |
-
title: OpenLLM
|
| 3 |
emoji: ๐
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 4.
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: gpl-3.0
|
| 11 |
---
|
| 12 |
|
| 13 |
-
# ๐ OpenLLM
|
| 14 |
|
| 15 |
-
Welcome to the OpenLLM
|
| 16 |
|
| 17 |
-
## ๐ฏ
|
| 18 |
|
| 19 |
-
We provide **
|
| 20 |
|
| 21 |
-
| Model | Training Steps |
|
| 22 |
-
|
| 23 |
-
| **4k Model** | 4,000 |
|
| 24 |
-
| **6k Model** | 6,000 |
|
| 25 |
-
| **7k Model** | 7,000 |
|
| 26 |
-
| **8k Model** | 8,000 |
|
| 27 |
-
| **9k Model** | 9,000 |
|
|
|
|
| 28 |
|
| 29 |
-
|
| 30 |
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
-
|
| 34 |
-
- **Model Size**: Small (6 layers, 8 heads, 512 embedding dim)
|
| 35 |
-
- **Vocabulary**: 32k tokens (SentencePiece BPE)
|
| 36 |
-
- **Training Data**: Wikipedia passages from SQuAD dataset
|
| 37 |
-
- **Framework**: PyTorch with real trained models
|
| 38 |
-
- **Gradio Version**: 4.44.1 (latest)
|
| 39 |
|
| 40 |
-
**
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
-
|
| 45 |
-
-
|
| 46 |
-
-
|
| 47 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: OpenLLM Inference Space
|
| 3 |
emoji: ๐
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.0.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: gpl-3.0
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# ๐ OpenLLM Inference Space
|
| 14 |
|
| 15 |
+
Welcome to the OpenLLM Inference Space! This is a comprehensive interface for running inference on our trained OpenLLM models with customizable parameters.
|
| 16 |
|
| 17 |
+
## ๐ฏ Available Models
|
| 18 |
|
| 19 |
+
We provide **6 different models** trained for varying numbers of steps:
|
| 20 |
|
| 21 |
+
| Model | Training Steps | Description | Best Loss |
|
| 22 |
+
|-------|---------------|-------------|-----------|
|
| 23 |
+
| **4k Model** | 4,000 | Early training stage, basic language patterns | ~6.2 |
|
| 24 |
+
| **6k Model** | 6,000 | Improved coherence, better vocabulary usage | ~5.8 |
|
| 25 |
+
| **7k Model** | 7,000 | Enhanced text generation quality | ~5.5 |
|
| 26 |
+
| **8k Model** | 8,000 | More sophisticated language understanding | ~5.3 |
|
| 27 |
+
| **9k Model** | 9,000 | Best performing model (latest training) | ~5.2 |
|
| 28 |
+
| **10k Model** | 10,000 | Latest extended training, maximum performance | ~5.22 |
|
| 29 |
|
| 30 |
+
## ๐ฎ How to Use
|
| 31 |
|
| 32 |
+
1. **Select a Model** from the dropdown menu
|
| 33 |
+
2. **Load the Model** to see its information
|
| 34 |
+
3. **Enter Your Prompt** in the text box
|
| 35 |
+
4. **Adjust Parameters** (temperature, max length, etc.)
|
| 36 |
+
5. **Generate Text** and see the results!
|
| 37 |
|
| 38 |
+
## โ๏ธ Parameters
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
+
- **Temperature**: Controls randomness (0.1-2.0)
|
| 41 |
+
- **Max Length**: Number of tokens to generate (10-500)
|
| 42 |
+
- **Top-K**: Limits to top-k most likely tokens (1-100)
|
| 43 |
+
- **Top-P**: Nucleus sampling threshold (0.1-1.0)
|
| 44 |
|
| 45 |
+
## ๐ง Model Architecture
|
| 46 |
+
|
| 47 |
+
- **Model Size**: Small (35.8M parameters)
|
| 48 |
+
- **Layers**: 6 transformer layers
|
| 49 |
+
- **Embedding**: 512 dimensions
|
| 50 |
+
- **Vocabulary**: 32,000 tokens (SentencePiece)
|
| 51 |
+
- **Context Length**: 1,024 tokens
|
| 52 |
+
|
| 53 |
+
---
|
| 54 |
+
|
| 55 |
+
**OpenLLM Inference Space** - Experience the power of open-source language models! ๐
|