Downloads · 30 days
21
6% of all-time downloads
ahmedaali/obscura-blitz-v0.0.4-qwen-3
obscura-blitz-v0.0.4-qwen-3 is a machine learning model from ahmedaali. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
Obscura Blitz is a specialized fine-tuned language model designed for cryptocurrency trading signal generation and decision-making. Built on top of Qwen2.5-1.5B-Instruct, this model has been specifically trained to an…
Downloads · 30 days
21
6% of all-time downloads
All-time downloads
360
Public
Repo size
4.8 GB
Likes
0
Public
Click a slice to open those files.
.pt1.1 GB · 49%
From the Hugging Face model README
Obscura Blitz is a specialized fine-tuned language model designed for cryptocurrency trading signal generation and decision-making. Built on top of Qwen2.5-1.5B-Instruct, this model has been specifically trained to analyze cryptocurrency market data and provide structured trading recommendations.
Based on training results:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
# Load model and tokenizer
base_model_id = "Qwen/Qwen3-4B-Instruct-2507"
adapter_id = "ahmedaali/obscura-blitz-v0.0.4-qwen-3"
model = AutoModelForCausalLM.from_pretrained(
base_model_id,
device_map="auto",
torch_dtype=torch.bfloat16,
trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained(base_model_id, trust_remote_code=True)
model.load_adapter(adapter_id)
# Set padding token
if tokenizer.pad_token is None:
tokenizer.pad_token = tokenizer.eos_token
prompt = """Analyze these 10 cryptocurrency tokens and provide trading signals.
TOKENS: [
{
"symbol": "ETH",
"signal": "MONITOR",
"price": "$4668.10",
"change_24h": "6.3%",
"change_7d": "29.8%"
},
{
"symbol": "SOL",
"signal": "MONITOR",
"price": "$201.61",
"change_24h": "13.0%",
"change_7d": "22.9%"
}
]
Return this EXACT JSON format for each token:
{
"tokens": {
"SYMBOL": {
"signal": "BUY/SELL/HOLD/MONITOR",
"confidence": 0.0-1.0,
"reasoning": "Brief reason",
"risk": "LOW/MEDIUM/HIGH"
}
}
}
Focus on price trends and momentum. Keep responses brief.
IMPORTANT: Return complete, valid JSON. Do not truncate."""
# Generate response
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
do_sample=True,
pad_token_id=tokenizer.eos_token_id
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
{
"tokens": {
"ETH": {
"signal": "BUY",
"confidence": 0.8,
"reasoning": "Strong upward momentum with significant 24h and 7d gains.",
"risk": "MEDIUM"
},
"SOL": {
"signal": "BUY",
"confidence": 0.75,
"reasoning": "Excellent performance with 13% daily and 22.9% weekly gains.",
"risk": "MEDIUM"
}
}
}
The model was trained on two main types of data:
The model was trained for 3 epochs with the following progression:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.1194 | 0.2223 | 100 | 0.1044 |
| 0.1023 | 0.4447 | 200 | 0.0874 |
| 0.0873 | 0.6670 | 300 | 0.0740 |
| 0.1051 | 0.8894 | 400 | 0.0672 |
| 0.0636 | 1.1112 | 500 | 0.0664 |
| 0.072 | 1.3335 | 600 | 0.0655 |
| 0.0807 | 1.5559 | 700 | 0.0573 |
| 0.0536 | 1.7782 | 800 | 0.0580 |
| 0.0453 | 2.0 | 900 | 0.0510 |
| 0.0469 | 2.2223 | 1000 | 0.0489 |
| 0.0318 | 2.4447 | 1100 | 0.0482 |
| 0.0527 | 2.6670 | 1200 | 0.0468 |
| 0.049 | 2.8894 | 1300 | 0.0464 |
Final Results:
If you use this model in your research, please cite:
@misc{obscura_blitz_2025,
title={Obscura Blitz: A Fine-tuned Language Model for Cryptocurrency Trading Signals},
author={Ahmed Aali},
year={2025},
url={https://huggingface.co/ahmedaali/obscura-blitz-v0.0.4-qwen-3}
}
This model is released under the MIT License. See the LICENSE file for details.
For questions, issues, or contributions:
Disclaimer: This model is provided for educational and research purposes only. It is not intended to provide financial advice. Cryptocurrency trading involves substantial risk and may result in the loss of your invested capital. Always conduct thorough research and consider consulting with a qualified financial advisor before making investment decisions.