Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,92 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- zh
|
| 5 |
+
license: mit
|
| 6 |
+
tags:
|
| 7 |
+
- text-generation-inference
|
| 8 |
+
- transformers
|
| 9 |
+
- unsloth
|
| 10 |
+
- moe
|
| 11 |
+
- nebula
|
| 12 |
+
- aether
|
| 13 |
+
base_model: nebula-research/aether-7b-base
|
| 14 |
+
model_type: mistral
|
| 15 |
+
pipeline_tag: text-generation
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Xbinx-7B-Instruct-v1.0
|
| 19 |
+
|
| 20 |
+
## Model Description
|
| 21 |
+
Xbinx-7B-Instruct-v1.0 is a state-of-the-art 7-billion parameter large language model developed by the **NonExist Research Team**. It is built upon the proprietary **Xbinx-Architecture**, which utilizes a hybrid Sparse Mixture-of-Experts (SMoE) mechanism optimized for low-latency inference and high-precision reasoning tasks.
|
| 22 |
+
|
| 23 |
+
This model was fine-tuned using a novel technique called **Dynamic Preference Alignment (DPA)**, allowing it to excel in complex instruction following, multi-turn dialogue, and structured data generation (JSON/Code).
|
| 24 |
+
|
| 25 |
+
## Key Features
|
| 26 |
+
- **Context Window:** 128,000 tokens (supported via Rotary Positional Embeddings).
|
| 27 |
+
- **Architecture:** 32-layer Transformer with Gated Linear Units (GLU).
|
| 28 |
+
- **Training Data:** 4.5 Trillion tokens of high-quality synthetic and curated web data.
|
| 29 |
+
- **Quantization Friendly:** Optimized for 4-bit and 8-bit deployment without significant perplexity loss.
|
| 30 |
+
|
| 31 |
+
## Performance Benchmarks
|
| 32 |
+
|
| 33 |
+
| Benchmark | Aether-7B-Instruct | Llama-3-8B-Instruct | Mistral-7B-v0.3 |
|
| 34 |
+
| --------- | ------------------ | ------------------- | --------------- |
|
| 35 |
+
| MMLU | **72.4** | 71.9 | 63.1 |
|
| 36 |
+
| GSM8K | **81.2** | 79.6 | 52.2 |
|
| 37 |
+
| HumanEval | **68.5** | 62.2 | 40.4 |
|
| 38 |
+
| MBPP | **74.1** | 70.0 | 50.1 |
|
| 39 |
+
|
| 40 |
+
## Usage
|
| 41 |
+
|
| 42 |
+
### Quickstart with Transformers
|
| 43 |
+
```python
|
| 44 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 45 |
+
import torch
|
| 46 |
+
|
| 47 |
+
model_id = "injet-zhou/Xbin-7b-instruct-v1.0"
|
| 48 |
+
|
| 49 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 50 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 51 |
+
model_id,
|
| 52 |
+
torch_dtype=torch.bfloat16,
|
| 53 |
+
device_map="auto"
|
| 54 |
+
)
|
| 55 |
+
|
| 56 |
+
messages = [
|
| 57 |
+
{"role": "system", "content": "You are Aether, a helpful assistant powered by NonExist Research."},
|
| 58 |
+
{"role": "user", "content": "Explain the concept of quantum entanglement using a cat analogy."}
|
| 59 |
+
]
|
| 60 |
+
|
| 61 |
+
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to("cuda")
|
| 62 |
+
outputs = model.generate(inputs, max_new_tokens=512, do_sample=True, temperature=0.7)
|
| 63 |
+
|
| 64 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
### Prompt Format
|
| 68 |
+
Nebula-Aether uses a specific chat template:
|
| 69 |
+
```text
|
| 70 |
+
<|im_start|>system
|
| 71 |
+
{system_prompt}<|im_end|>
|
| 72 |
+
<|im_start|>user
|
| 73 |
+
{user_query}<|im_end|>
|
| 74 |
+
<|im_start|>assistant
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
## Limitations
|
| 78 |
+
While Xbinx-7B-Instruct-v1.0 demonstrates high reasoning capabilities, it may occasionally exhibit hallucinations on niche factual topics. Users are encouraged to verify critical information. It is not recommended for high-stakes medical or legal advice without human oversight.
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
## Citation
|
| 83 |
+
If you use this model in your research, please cite:
|
| 84 |
+
```bibtex
|
| 85 |
+
@misc{nebula2024aether,
|
| 86 |
+
author = {NonExist Research Team},
|
| 87 |
+
title = {Xbinx: Advancing Small-Scale LLMs with Dynamic Preference Alignment},
|
| 88 |
+
year = {2024},
|
| 89 |
+
publisher = {Hugging Face},
|
| 90 |
+
journal = {Hugging Face Model Hub}
|
| 91 |
+
}
|
| 92 |
+
```
|