Update README.md
Browse files
README.md
CHANGED
|
@@ -8,202 +8,229 @@ tags:
|
|
| 8 |
- sft
|
| 9 |
- transformers
|
| 10 |
- trl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
-
#
|
|
|
|
| 14 |
|
| 15 |
-
|
|
|
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
|
|
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
### Model Description
|
| 22 |
-
|
| 23 |
-
<!-- Provide a longer summary of what this model is. -->
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
- **Developed by:** [More Information Needed]
|
| 28 |
-
- **Funded by [optional]:** [More Information Needed]
|
| 29 |
-
- **Shared by [optional]:** [More Information Needed]
|
| 30 |
-
- **Model type:** [More Information Needed]
|
| 31 |
-
- **Language(s) (NLP):** [More Information Needed]
|
| 32 |
-
- **License:** [More Information Needed]
|
| 33 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
| 34 |
-
|
| 35 |
-
### Model Sources [optional]
|
| 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 |
### Recommendations
|
|
|
|
| 72 |
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 76 |
-
|
| 77 |
-
## How to Get Started with the Model
|
| 78 |
-
|
| 79 |
-
Use the code below to get started with the model.
|
| 80 |
-
|
| 81 |
-
[More Information Needed]
|
| 82 |
-
|
| 83 |
-
## Training Details
|
| 84 |
-
|
| 85 |
-
### Training Data
|
| 86 |
-
|
| 87 |
-
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 88 |
-
|
| 89 |
-
[More Information Needed]
|
| 90 |
-
|
| 91 |
-
### Training Procedure
|
| 92 |
-
|
| 93 |
-
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 94 |
-
|
| 95 |
-
#### Preprocessing [optional]
|
| 96 |
|
| 97 |
-
|
| 98 |
|
|
|
|
|
|
|
|
|
|
| 99 |
|
| 100 |
-
|
| 101 |
|
| 102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
|
| 104 |
-
|
| 105 |
|
| 106 |
-
|
|
|
|
| 107 |
|
| 108 |
-
[
|
| 109 |
|
| 110 |
-
## Evaluation
|
| 111 |
|
| 112 |
-
|
|
|
|
| 113 |
|
| 114 |
-
|
| 115 |
|
| 116 |
-
|
| 117 |
|
| 118 |
-
|
| 119 |
|
| 120 |
-
|
| 121 |
|
| 122 |
-
|
| 123 |
|
| 124 |
-
|
| 125 |
|
| 126 |
-
|
| 127 |
|
| 128 |
-
|
| 129 |
|
| 130 |
-
|
| 131 |
|
| 132 |
-
|
| 133 |
|
| 134 |
-
|
| 135 |
|
| 136 |
-
|
| 137 |
|
| 138 |
-
|
| 139 |
|
|
|
|
| 140 |
|
|
|
|
| 141 |
|
| 142 |
-
|
| 143 |
|
| 144 |
-
|
| 145 |
|
| 146 |
-
|
| 147 |
|
| 148 |
-
|
| 149 |
|
| 150 |
-
|
| 151 |
|
| 152 |
-
|
| 153 |
|
| 154 |
-
|
| 155 |
-
- **Hours used:** [More Information Needed]
|
| 156 |
-
- **Cloud Provider:** [More Information Needed]
|
| 157 |
-
- **Compute Region:** [More Information Needed]
|
| 158 |
-
- **Carbon Emitted:** [More Information Needed]
|
| 159 |
|
| 160 |
-
|
| 161 |
|
| 162 |
-
|
| 163 |
|
| 164 |
-
|
| 165 |
|
| 166 |
-
|
| 167 |
|
| 168 |
-
|
| 169 |
|
| 170 |
-
|
| 171 |
|
| 172 |
-
|
| 173 |
|
| 174 |
-
|
| 175 |
|
| 176 |
-
|
| 177 |
|
| 178 |
-
|
| 179 |
|
| 180 |
-
|
|
|
|
| 181 |
|
| 182 |
-
|
|
|
|
| 183 |
|
| 184 |
-
|
| 185 |
|
| 186 |
-
|
| 187 |
|
| 188 |
-
|
| 189 |
|
| 190 |
-
|
| 191 |
|
| 192 |
-
|
| 193 |
|
| 194 |
-
|
| 195 |
|
| 196 |
-
|
| 197 |
|
| 198 |
-
|
| 199 |
|
| 200 |
-
|
| 201 |
|
| 202 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
|
| 204 |
-
|
| 205 |
|
| 206 |
-
|
| 207 |
-
### Framework versions
|
| 208 |
|
| 209 |
-
|
|
|
|
|
|
| 8 |
- sft
|
| 9 |
- transformers
|
| 10 |
- trl
|
| 11 |
+
- endlessonline
|
| 12 |
+
- eo
|
| 13 |
+
- eoserv
|
| 14 |
+
- gaming
|
| 15 |
+
- fanmade
|
| 16 |
---
|
| 17 |
|
| 18 |
+
# EO-Mistral β Endless Online Knowledge Model
|
| 19 |
+
**Created by: https://luls.lol**
|
| 20 |
|
| 21 |
+
EO-Mistral is a fine-tuned variant of **Mistral-7B-Instruct-v0.2**, trained specifically on structured data from the MMORPG **Endless Online** (classic + Recharged).
|
| 22 |
+
The model specializes in:
|
| 23 |
|
| 24 |
+
- NPC data
|
| 25 |
+
- Item descriptions
|
| 26 |
+
- Monster drops
|
| 27 |
+
- EO history & lore
|
| 28 |
+
- Player community culture
|
| 29 |
+
- EO drama / historical events
|
| 30 |
+
- Clean questionβanswer formatting for game-related queries
|
| 31 |
|
| 32 |
+
This model is optimized to **answer Endless Online questions instantly and accurately**, providing an EO-aware conversational assistant.
|
| 33 |
|
| 34 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
+
# π§ Model Details
|
| 37 |
|
| 38 |
+
### β’ Model Description
|
| 39 |
+
EO-Mistral is a **LoRA fine-tuned SFT model** built on top of Mistral-7B-Instruct.
|
| 40 |
+
It uses a curated dataset of:
|
| 41 |
|
| 42 |
+
- Item drop tables
|
| 43 |
+
- NPC metadata
|
| 44 |
+
- EO community history
|
| 45 |
+
- EO βdrama datasetβ (expanded historical context)
|
| 46 |
+
- Clean instruction-style prompts via Mistral chat template
|
| 47 |
|
| 48 |
+
This gives the model a strong understanding of EO mechanics and terminology.
|
| 49 |
|
| 50 |
+
### β’ Developed by
|
| 51 |
+
**Luls** β https://luls.lol
|
| 52 |
|
| 53 |
+
### β’ License
|
| 54 |
+
Same license as **Mistral-7B-Instruct-v0.2** (Apache-2.0)
|
| 55 |
|
| 56 |
+
### β’ Finetuned From
|
| 57 |
+
`mistralai/Mistral-7B-Instruct-v0.2`
|
| 58 |
|
| 59 |
+
---
|
| 60 |
|
| 61 |
+
# π§ Model Sources
|
| 62 |
|
| 63 |
+
- **Base Model:** https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2
|
| 64 |
+
- **Creator Website:** https://luls.lol
|
| 65 |
+
- **Dataset:** Private LoRA SFT dataset (items, NPCs, EO history & drama)
|
| 66 |
|
| 67 |
+
---
|
| 68 |
|
| 69 |
+
# π― Intended Uses
|
| 70 |
+
|
| 71 |
+
### β Direct / Recommended Use
|
| 72 |
+
- Endless Online information queries
|
| 73 |
+
- NPC / item / monster lookup
|
| 74 |
+
- EO lore responses
|
| 75 |
+
- Community discussions
|
| 76 |
+
- Text-based EO companion or chatbot
|
| 77 |
+
- Server moderation helpers (EO-themed)
|
| 78 |
+
- Game knowledge lookup for EO private servers
|
| 79 |
+
|
| 80 |
+
### β Downstream Use
|
| 81 |
+
- Custom EO bots
|
| 82 |
+
- EO server NPC AI dialog
|
| 83 |
+
- EO knowledgebase assistants
|
| 84 |
+
- EO game guide generators
|
| 85 |
+
|
| 86 |
+
### β Out-of-Scope / Not Recommended
|
| 87 |
+
- Real-world factual predictions
|
| 88 |
+
- High-stakes decision making
|
| 89 |
+
- Advice requiring verified accuracy
|
| 90 |
+
- Impersonation of real people
|
| 91 |
+
- Any malicious usage
|
| 92 |
|
| 93 |
+
---
|
| 94 |
|
| 95 |
+
# β οΈ Bias, Risks & Limitations
|
| 96 |
|
| 97 |
+
This model is fine-tuned **only on Endless Online content** and therefore:
|
| 98 |
|
| 99 |
+
- May hallucinate when asked non-EO questions
|
| 100 |
+
- Not suited for legal, medical, or financial advice
|
| 101 |
+
- EO drama data may contain biased perspectives
|
| 102 |
+
- Responses may reflect the culture of the EO community
|
| 103 |
|
| 104 |
### Recommendations
|
| 105 |
+
Always verify in-game details if accuracy is critical (e.g., drop rates may change over time).
|
| 106 |
|
| 107 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|
| 109 |
+
# π Getting Started
|
| 110 |
|
| 111 |
+
```python
|
| 112 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 113 |
+
import torch
|
| 114 |
|
| 115 |
+
model_id = "YOUR_USERNAME/eo-mistral"
|
| 116 |
|
| 117 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 118 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 119 |
+
model_id,
|
| 120 |
+
torch_dtype=torch.float16,
|
| 121 |
+
device_map="auto"
|
| 122 |
+
)
|
| 123 |
|
| 124 |
+
prompt = "In Endless Online, what drops the item 'Eon'?"
|
| 125 |
|
| 126 |
+
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 127 |
+
outputs = model.generate(**inputs, max_new_tokens=200)
|
| 128 |
|
| 129 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 130 |
|
|
|
|
| 131 |
|
| 132 |
+
ποΈ Training Details
|
| 133 |
+
β’ Training Data
|
| 134 |
|
| 135 |
+
Dataset includes:
|
| 136 |
|
| 137 |
+
EO Item Drop Dataset (cleaned & deduped)
|
| 138 |
|
| 139 |
+
EO NPC Dataset
|
| 140 |
|
| 141 |
+
EO Drama Dataset (expanded historical text)
|
| 142 |
|
| 143 |
+
EO map summaries & game lore
|
| 144 |
|
| 145 |
+
All formatted into Mistral-style instruction prompts.
|
| 146 |
|
| 147 |
+
β’ Preprocessing
|
| 148 |
|
| 149 |
+
Normalized drop tables
|
| 150 |
|
| 151 |
+
Duplicate removal (type A strong dedupe)
|
| 152 |
|
| 153 |
+
Chat-template embedding
|
| 154 |
|
| 155 |
+
Clean instruction / answer format
|
| 156 |
|
| 157 |
+
β’ Training Hyperparameters
|
| 158 |
|
| 159 |
+
Method: LoRA + SFT
|
| 160 |
|
| 161 |
+
Precision: bf16
|
| 162 |
|
| 163 |
+
Batch size: 2
|
| 164 |
|
| 165 |
+
Gradient Accumulation: 4
|
| 166 |
|
| 167 |
+
Epochs: 3
|
| 168 |
|
| 169 |
+
Learning rate: 3e-5
|
| 170 |
|
| 171 |
+
Max sequence length: 2048
|
| 172 |
|
| 173 |
+
π Evaluation
|
| 174 |
|
| 175 |
+
This model was tested informally by querying:
|
| 176 |
|
| 177 |
+
Item drop accuracy
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
|
| 179 |
+
EO-specific terminology
|
| 180 |
|
| 181 |
+
NPC identification
|
| 182 |
|
| 183 |
+
EO historical trivia
|
| 184 |
|
| 185 |
+
Multi-step reasoning about EO server design
|
| 186 |
|
| 187 |
+
Results:
|
| 188 |
|
| 189 |
+
Very strong performance on EO items/NPCs
|
| 190 |
|
| 191 |
+
Consistent accurate responses to structured questions
|
| 192 |
|
| 193 |
+
High reliability in explaining EO drama and historical context
|
| 194 |
|
| 195 |
+
Weak outside EO domain (expected)
|
| 196 |
|
| 197 |
+
π± Environmental Impact
|
| 198 |
|
| 199 |
+
Training used a single Google Colab GPU (T4/A100) for LoRA SFT.
|
| 200 |
+
Estimated carbon footprint is minimal due to small-scale fine-tuning.
|
| 201 |
|
| 202 |
+
π Technical Specifications
|
| 203 |
+
Model Architecture
|
| 204 |
|
| 205 |
+
Mistral-7B transformer
|
| 206 |
|
| 207 |
+
LoRA adapters
|
| 208 |
|
| 209 |
+
SFT training using TRL + PEFT
|
| 210 |
|
| 211 |
+
Software
|
| 212 |
|
| 213 |
+
Transformers
|
| 214 |
|
| 215 |
+
TRL
|
| 216 |
|
| 217 |
+
PEFT 0.18
|
| 218 |
|
| 219 |
+
HuggingFace Hub
|
| 220 |
|
| 221 |
+
Python 3.10 / Colab
|
| 222 |
|
| 223 |
+
β Citation
|
| 224 |
+
@misc{eo-mistral,
|
| 225 |
+
title = {EO-Mistral: Endless Online Knowledge Model},
|
| 226 |
+
author = {Luls},
|
| 227 |
+
howpublished = {\url{https://luls.lol}},
|
| 228 |
+
year = {2025}
|
| 229 |
+
}
|
| 230 |
|
| 231 |
+
π© Contact
|
| 232 |
|
| 233 |
+
Creator Website: https://luls.lol
|
|
|
|
| 234 |
|
| 235 |
+
HuggingFace User: Lulslol
|
| 236 |
+
For questions/support: open an issue on the repo.
|