Downloads · 30 days
660
18% of all-time downloads
aab20abdullah/qwen_OSINT
qwen_OSINT is a text generation model from aab20abdullah. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as apache-2.0.
<div align="center" <img src="https://img.shields.io/badge/Model-Qwen2.5--7B-blue?style=flat-square" alt="Model" <img src="https://img.shields.io/badge/License-Apache%202.0-green?style=flat-square" alt="License" <img…
Downloads · 30 days
660
18% of all-time downloads
All-time downloads
3.6K
Public
Repo size
9.7 GB
Likes
3
Public
Click a slice to open those files.
.gguf9.7 GB · 100%
From the Hugging Face model README
Qwen-OSINT is a specialized large language model fine-tuned from Qwen2.5-7B specifically designed for Open Source Intelligence (OSINT) operations. This model leverages advanced natural language processing capabilities to assist security researchers, analysts, and investigators in gathering, analyzing, and synthesizing information from publicly available sources.
Open Source Intelligence (OSINT) refers to the practice of collecting and analyzing information from publicly available sources to support decision-making processes. This includes data from:
| Feature | Description |
|---|---|
| 🔎 Advanced Search Analysis | Efficiently analyzes search queries and identifies relevant intelligence sources |
| 📊 Data Synthesis | Consolidates information from multiple sources into coherent summaries |
| 🔐 Security Analysis | Supports threat analysis and vulnerability assessment tasks |
| 📝 Report Generation | Generates structured intelligence reports in various formats |
| 🌐 Multi-language Support | Processes and analyzes content in multiple languages |
| 🛡️ Ethical Compliance | Built with safety guidelines to ensure responsible use |
| Attribute | Value |
|---|---|
| Base Model | Qwen2.5-7B-Instruct |
| Framework | Transformers (Hugging Face) |
| Training Method | Supervised Fine-tuning (SFT) |
| Vocabulary Size | 151,669 tokens |
| Architecture | Transformer-based Decoder |
| Precision | FP16 / INT8 compatible |
- Learning Rate: 2e-5
- Batch Size: 8
- Epochs: 3
- Warmup Steps: 100
- Max Sequence Length: 8192
Python >= 3.8
PyTorch >= 2.0
transformers >= 4.35.0
accelerate >= 0.20.0
bitsandbytes >= 0.40.0 (for quantization)
pip install transformers torch accelerate bitsandbytes
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "aab20abdullah/qwen_OSINT"
# Download tokenizer
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
# Download model
model = AutoModelForCausalLM.from_pretrained(
model_name,
device_map="auto",
trust_remote_code=True
)
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "aab20abdullah/qwen_OSINT"
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True)
def generate_intelligence(prompt, max_length=512):
messages = [{"role": "user", "content": prompt}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors="pt").to("cuda")
outputs = model.generate(
**inputs,
max_new_tokens=max_length,
temperature=0.7,
top_p=0.9
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
return response.split("assistant")[-1].strip()
# Example
result = generate_intelligence("Analyze the key elements of a threat intelligence report.")
print(result)
from transformers import AutoModelForCausalLM, BitsAndBytesConfig
quantization_config = BitsAndBytesConfig(
load_in_8bit=True
)
model = AutoModelForCausalLM.from_pretrained(
model_name,
quantization_config=quantization_config,
device_map="auto",
trust_remote_code=True
)
prompt = """Analyze the following search query and suggest improvements for OSINT research:
Query: "site:linkedin.com cybersecurity analyst" """
result = generate_intelligence(prompt)
print(result)
prompt = """Evaluate the reliability and credibility of the following OSINT sources:
1. Government statistical databases
2. Academic research papers
3. Social media platforms
4. Open-source code repositories"""
result = generate_intelligence(prompt)
print(result)
prompt = """Using the MITRE ATT&CK framework, analyze potential threat vectors for:
- Phishing attacks
- Network intrusion
- Data exfiltration
Provide recommendations for detection and prevention."""
result = generate_intelligence(prompt)
print(result)
⚠️ IMPORTANT: This model is designed for legitimate OSINT research only.
| Limitation | Description |
|---|---|
| ⚡ Computational Resources | Requires GPU with sufficient VRAM for optimal performance |
| 🎯 Accuracy | May generate plausible but incorrect information - always verify |
| 🌍 Language Coverage | Best performance in English; other languages may vary |
| 📅 Knowledge Cutoff | Training data has a knowledge cutoff date |
| 🔒 Sensitive Data | Not designed to handle highly classified or sensitive information |
This model is released under the Apache 2.0 License.
Copyright 2024 aab20abdullah
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
The base model Qwen2.5 is licensed under the Qwen Research License.
If you use this model in your research or project, please cite:
@model{qwen_osint,
author = {aab20abdullah},
title = {Qwen-OSINT: A Specialized Model for Open Source Intelligence},
year = {2024},
publisher = {Hugging Face},
url = {https://huggingface.co/aab20abdullah/qwen_OSINT}
}