Text Generation
PEFT
Safetensors
Transformers
German
English
lora
sft
trl
german
english
aether
conversational
Instructions to use Maxilicious20/Aether-2.3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Maxilicious20/Aether-2.3 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct") model = PeftModel.from_pretrained(base_model, "Maxilicious20/Aether-2.3") - Transformers
How to use Maxilicious20/Aether-2.3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Maxilicious20/Aether-2.3") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Maxilicious20/Aether-2.3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Maxilicious20/Aether-2.3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Maxilicious20/Aether-2.3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Maxilicious20/Aether-2.3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Maxilicious20/Aether-2.3
- SGLang
How to use Maxilicious20/Aether-2.3 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Maxilicious20/Aether-2.3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Maxilicious20/Aether-2.3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Maxilicious20/Aether-2.3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Maxilicious20/Aether-2.3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Maxilicious20/Aether-2.3 with Docker Model Runner:
docker model run hf.co/Maxilicious20/Aether-2.3
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,62 +1,73 @@
|
|
| 1 |
---
|
| 2 |
base_model: Qwen/Qwen2.5-3B-Instruct
|
| 3 |
library_name: peft
|
| 4 |
-
|
| 5 |
tags:
|
| 6 |
- base_model:adapter:Qwen/Qwen2.5-3B-Instruct
|
| 7 |
- lora
|
| 8 |
- sft
|
| 9 |
- transformers
|
| 10 |
- trl
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
-
#
|
| 16 |
-
|
| 17 |
-
This model is a fine-tuned version of [Qwen/Qwen2.5-3B-Instruct](https://huggingface.co/Qwen/Qwen2.5-3B-Instruct).
|
| 18 |
-
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 19 |
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
```python
|
| 23 |
-
from transformers import pipeline
|
| 24 |
|
| 25 |
-
|
| 26 |
-
generator = pipeline("text-generation", model="None", device="cuda")
|
| 27 |
-
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 28 |
-
print(output["generated_text"])
|
| 29 |
-
```
|
| 30 |
|
| 31 |
-
##
|
| 32 |
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
|
|
|
| 35 |
|
|
|
|
| 36 |
|
| 37 |
-
|
| 38 |
|
| 39 |
-
###
|
| 40 |
|
| 41 |
-
|
| 42 |
-
- TRL: 1.9.2
|
| 43 |
-
- Transformers: 5.14.1
|
| 44 |
-
- Pytorch: 2.13.0+cu126
|
| 45 |
-
- Datasets: 5.0.1
|
| 46 |
-
- Tokenizers: 0.22.2
|
| 47 |
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
base_model: Qwen/Qwen2.5-3B-Instruct
|
| 3 |
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
tags:
|
| 6 |
- base_model:adapter:Qwen/Qwen2.5-3B-Instruct
|
| 7 |
- lora
|
| 8 |
- sft
|
| 9 |
- transformers
|
| 10 |
- trl
|
| 11 |
+
- german
|
| 12 |
+
- english
|
| 13 |
+
- aether
|
| 14 |
+
license: apache-2.0
|
| 15 |
+
language:
|
| 16 |
+
- de
|
| 17 |
+
- en
|
| 18 |
---
|
| 19 |
|
| 20 |
+
# Aether 2.3
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
+
Aether 2.3 represents a major milestone in the Aether model series, scaling up to the **Qwen2.5-3B-Instruct** base architecture. Trained with SFT (Supervised Fine-Tuning) via Hugging Face TRL and PEFT (LoRA) on a custom 3 GB dataset using local NVIDIA RTX GPU acceleration, Aether 2.3 offers significantly higher intelligence, broader contextual understanding, and superior multilingual responses in German and English.
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
+
## Model Details
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
+
### Model Description
|
| 27 |
|
| 28 |
+
- **Developed by:** Maxilicious20
|
| 29 |
+
- **Model type:** Causal Language Model (LoRA Adapter)
|
| 30 |
+
- **Language(s) (NLP):** German, English
|
| 31 |
+
- **License:** Apache-2.0
|
| 32 |
+
- **Finetuned from model:** Qwen/Qwen2.5-3B-Instruct
|
| 33 |
|
| 34 |
+
## Uses
|
| 35 |
|
| 36 |
+
### Direct Use
|
| 37 |
|
| 38 |
+
Aether 2.3 is designed for high-capability conversational AI, complex instruction following, creative text generation, and technical reasoning. Thanks to its LoRA adapter implementation, it delivers flagship 3B-class performance while remaining light enough to run efficiently on local hardware.
|
| 39 |
|
| 40 |
+
### How to Get Started with the Model
|
| 41 |
|
| 42 |
+
Use the following Python code to load Aether 2.3 with `transformers` and `peft`:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
+
```python
|
| 45 |
+
import torch
|
| 46 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 47 |
+
from peft import PeftModel
|
| 48 |
+
|
| 49 |
+
base_model_id = "Qwen/Qwen2.5-3B-Instruct"
|
| 50 |
+
adapter_id = "Maxilicious20/Aether-2.3"
|
| 51 |
+
|
| 52 |
+
# Load Tokenizer and Base Model
|
| 53 |
+
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
|
| 54 |
+
base_model = AutoModelForCausalLM.from_pretrained(
|
| 55 |
+
base_model_id,
|
| 56 |
+
torch_dtype=torch.bfloat16,
|
| 57 |
+
device_map="auto"
|
| 58 |
+
)
|
| 59 |
+
|
| 60 |
+
# Load Aether 2.3 LoRA Adapter
|
| 61 |
+
model = PeftModel.from_pretrained(base_model, adapter_id)
|
| 62 |
+
|
| 63 |
+
# Example Prompt
|
| 64 |
+
messages = [
|
| 65 |
+
{"role": "system", "content": "You are Aether 2.3, an advanced AI assistant."},
|
| 66 |
+
{"role": "user", "content": "Hello! What improvements do you bring as a 3B model?"}
|
| 67 |
+
]
|
| 68 |
+
|
| 69 |
+
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
| 70 |
+
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 71 |
+
|
| 72 |
+
outputs = model.generate(**inputs, max_new_tokens=256)
|
| 73 |
+
print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
|