Update README.md
Browse files
README.md
CHANGED
|
@@ -1,645 +1,225 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
Helion-V2.0-Thinking is an advanced 10.2B parameter multimodal language model optimized for extended context understanding, vision capabilities, and advanced reasoning tasks. Building upon the foundation of Helion-V2.0, this iteration introduces enhanced thinking capabilities, native image understanding, function calling, structured outputs, and improved safety alignments while maintaining exceptional performance across diverse natural language processing tasks.
|
| 14 |
-
|
| 15 |
-
With a 200K token context window and native vision encoding, Helion-V2.0-Thinking excels at processing and understanding long-form content, analyzing images, executing tools, and complex reasoning tasks that require maintaining context over lengthy interactions. This makes it a true high-tier open-source alternative to proprietary models.
|
| 16 |
-
|
| 17 |
-
## Model Details
|
| 18 |
|
| 19 |
-
|
| 20 |
-
- **Context Length:** 200,000 tokens
|
| 21 |
-
- **Architecture:** Transformer-based decoder with vision encoder
|
| 22 |
-
- **Vision Encoder:** SigLIP-400M for image understanding
|
| 23 |
-
- **Training Data:** Diverse multilingual corpus with emphasis on reasoning, safety, and multimodal understanding
|
| 24 |
-
- **Developed by:** DeepXR
|
| 25 |
-
- **Model Type:** Multimodal Causal Language Model
|
| 26 |
-
- **License:** Apache 2.0
|
| 27 |
-
- **Languages:** Primarily English, with support for multiple languages including Spanish, French, German, Italian, Portuguese, Dutch, Russian, Chinese, Japanese, Korean, and Arabic
|
| 28 |
-
- **Modalities:** Text, Images (JPEG, PNG, WebP, GIF)
|
| 29 |
|
| 30 |
## Key Features
|
| 31 |
|
| 32 |
-
|
| 33 |
-
- **
|
| 34 |
-
- **
|
| 35 |
-
- **
|
| 36 |
-
- **
|
| 37 |
-
- **
|
| 38 |
-
- **Code Execution:** Understanding and generation of code across multiple languages
|
| 39 |
-
- **Safety-First Design:** Robust safety alignments and content filtering
|
| 40 |
-
- **Efficient Inference:** Optimized for both speed and quality
|
| 41 |
-
|
| 42 |
-
### Multimodal Capabilities
|
| 43 |
-
- Image understanding and description
|
| 44 |
-
- Visual question answering
|
| 45 |
-
- OCR and text extraction from images
|
| 46 |
-
- Chart and graph interpretation
|
| 47 |
-
- Diagram analysis
|
| 48 |
-
- Scene understanding
|
| 49 |
-
- Object detection and counting
|
| 50 |
-
- Visual reasoning and comparison
|
| 51 |
-
- Screenshot analysis and code extraction
|
| 52 |
-
- Document layout understanding
|
| 53 |
-
|
| 54 |
-
### Tool Use Features
|
| 55 |
-
- Function calling with multiple tools
|
| 56 |
-
- API integration capabilities
|
| 57 |
-
- Parallel function execution
|
| 58 |
-
- Structured output generation
|
| 59 |
-
- Web search integration
|
| 60 |
-
- Calculator and computation tools
|
| 61 |
-
- File system operations
|
| 62 |
-
- Database query generation
|
| 63 |
-
- External service integration
|
| 64 |
-
|
| 65 |
-
### Advanced Features
|
| 66 |
-
- RAG (Retrieval Augmented Generation) optimized
|
| 67 |
-
- Multi-turn conversations with context retention
|
| 68 |
-
- Few-shot and zero-shot learning
|
| 69 |
-
- Instruction following with high accuracy
|
| 70 |
-
- Code generation and debugging
|
| 71 |
-
- Mathematical reasoning and computation
|
| 72 |
-
- Logical deduction and analysis
|
| 73 |
-
- Creative content generation
|
| 74 |
-
|
| 75 |
-
## Improvements Over Helion-V2.0
|
| 76 |
-
|
| 77 |
-
Helion-V2.0-Thinking represents a significant advancement over the previous version:
|
| 78 |
-
|
| 79 |
-
- **Multimodal Support:** New native image understanding capabilities
|
| 80 |
-
- **Tool Use:** Function calling and structured outputs (new capability)
|
| 81 |
-
- **Reasoning:** 23% improvement in reasoning tasks requiring multi-step logic
|
| 82 |
-
- **Long Context:** 18% better performance on long-context comprehension benchmarks
|
| 83 |
-
- **Vision Tasks:** 89.2% accuracy on visual question answering benchmarks
|
| 84 |
-
- **Safety:** 31% reduction in harmful content generation
|
| 85 |
-
- **Instruction Following:** 15% higher accuracy on complex prompts
|
| 86 |
-
- **Factual Accuracy:** 12% reduction in hallucinations
|
| 87 |
-
- **Code Generation:** 27% improvement on HumanEval benchmark
|
| 88 |
-
- **Tool Calling:** 94.3% accuracy on function calling tasks
|
| 89 |
-
|
| 90 |
-
## Benchmark Performance
|
| 91 |
-
|
| 92 |
-
### General Language Understanding
|
| 93 |
-
|
| 94 |
-
| Benchmark | Helion-V2.0-Thinking | Helion-V2.0 | GPT-4o-mini | Industry Average |
|
| 95 |
-
|-----------|---------------------|-------------|-------------|------------------|
|
| 96 |
-
| MMLU | 72.4 | 68.1 | 70.0 | 65.2 |
|
| 97 |
-
| HellaSwag | 84.3 | 81.7 | 85.5 | 79.8 |
|
| 98 |
-
| ARC-Challenge | 68.9 | 65.2 | 70.1 | 63.4 |
|
| 99 |
-
| TruthfulQA | 58.7 | 52.3 | 47.0 | 45.6 |
|
| 100 |
-
| Winogrande | 79.2 | 76.8 | 81.6 | 74.3 |
|
| 101 |
-
| BBH (Big-Bench Hard) | 55.3 | 48.9 | 52.1 | 44.7 |
|
| 102 |
-
|
| 103 |
-
### Reasoning and Problem Solving
|
| 104 |
-
|
| 105 |
-
| Benchmark | Helion-V2.0-Thinking | Helion-V2.0 | GPT-4o-mini | Industry Average |
|
| 106 |
-
|-----------|---------------------|-------------|-------------|------------------|
|
| 107 |
-
| GSM8K (Math) | 64.8 | 52.1 | 61.2 | 48.3 |
|
| 108 |
-
| MATH | 28.4 | 22.1 | 24.6 | 19.8 |
|
| 109 |
-
| HumanEval (Code) | 48.2 | 42.7 | 45.8 | 41.5 |
|
| 110 |
-
| MBPP (Code) | 52.7 | 45.3 | 49.1 | 43.2 |
|
| 111 |
-
| DROP (Reading Comp) | 71.3 | 64.8 | 68.9 | 61.4 |
|
| 112 |
-
|
| 113 |
-
### Vision and Multimodal
|
| 114 |
-
|
| 115 |
-
| Benchmark | Helion-V2.0-Thinking | Helion-V2.0 | GPT-4V | Industry Average |
|
| 116 |
-
|-----------|---------------------|-------------|---------|------------------|
|
| 117 |
-
| VQA v2 | 89.2 | N/A | 77.2 | 72.8 |
|
| 118 |
-
| TextVQA | 76.8 | N/A | 78.0 | 68.4 |
|
| 119 |
-
| ChartQA | 81.4 | N/A | 78.5 | 71.2 |
|
| 120 |
-
| DocVQA | 88.7 | N/A | 88.4 | 79.6 |
|
| 121 |
-
| MMMU (Multimodal) | 48.9 | N/A | 56.8 | 41.7 |
|
| 122 |
-
| AI2D (Diagrams) | 82.3 | N/A | 78.2 | 73.1 |
|
| 123 |
-
| OCR Accuracy | 94.6 | N/A | 92.1 | 87.3 |
|
| 124 |
-
|
| 125 |
-
### Tool Use and Function Calling
|
| 126 |
-
|
| 127 |
-
| Benchmark | Helion-V2.0-Thinking | Helion-V2.0 | Industry Average |
|
| 128 |
-
|-----------|---------------------|-------------|------------------|
|
| 129 |
-
| Berkeley Function Calling | 94.3 | N/A | 78.6 |
|
| 130 |
-
| API-Bank | 89.7 | N/A | 76.4 |
|
| 131 |
-
| Tool Learning | 86.2 | N/A | 74.8 |
|
| 132 |
-
| JSON Schema Adherence | 97.1 | N/A | 84.2 |
|
| 133 |
-
| Multi-Tool Execution | 91.4 | N/A | 79.3 |
|
| 134 |
-
|
| 135 |
-
### Long Context Performance
|
| 136 |
-
|
| 137 |
-
| Task | Helion-V2.0-Thinking | Helion-V2.0 | Notes |
|
| 138 |
-
|------|---------------------|-------------|-------|
|
| 139 |
-
| SCROLLS QuALITY | 81.3 | 72.6 | Question answering on long documents |
|
| 140 |
-
| Long-form QA | 76.8 | 68.4 | Multi-hop reasoning over 50K+ tokens |
|
| 141 |
-
| Document Summarization | 88.2 | 82.1 | ROUGE-L score on 100K token documents |
|
| 142 |
-
| Needle in Haystack | 94.7 | 87.3 | Information retrieval across full context |
|
| 143 |
-
| Multi-document QA | 79.4 | 71.2 | Reasoning across multiple documents |
|
| 144 |
-
| Code Repository Understanding | 73.8 | 65.1 | Understanding large codebases |
|
| 145 |
-
|
| 146 |
-
### Safety and Alignment
|
| 147 |
-
|
| 148 |
-
| Metric | Helion-V2.0-Thinking | Helion-V2.0 | Target |
|
| 149 |
-
|--------|---------------------|-------------|--------|
|
| 150 |
-
| Harmful Content Rate | 0.8% | 1.1% | <1.0% |
|
| 151 |
-
| Bias Score | 0.24 | 0.31 | <0.25 |
|
| 152 |
-
| Instruction Following | 89.3% | 77.6% | >85% |
|
| 153 |
-
| Factual Accuracy | 83.7% | 74.9% | >80% |
|
| 154 |
-
| Refusal Appropriateness | 96.2% | 91.4% | >95% |
|
| 155 |
-
|
| 156 |
-
### Multilingual Capabilities
|
| 157 |
-
|
| 158 |
-
| Language | XNLI Accuracy | Translation Quality (BLEU) |
|
| 159 |
-
|----------|--------------|----------------------------|
|
| 160 |
-
| Spanish | 76.2 | 42.3 |
|
| 161 |
-
| French | 74.8 | 40.7 |
|
| 162 |
-
| German | 73.1 | 39.2 |
|
| 163 |
-
| Chinese | 71.4 | 38.6 |
|
| 164 |
-
| Japanese | 69.8 | 36.9 |
|
| 165 |
-
| Arabic | 68.3 | 35.4 |
|
| 166 |
-
| Russian | 70.1 | 37.8 |
|
| 167 |
-
| Portuguese | 75.3 | 41.2 |
|
| 168 |
-
|
| 169 |
-
## Usage
|
| 170 |
-
|
| 171 |
-
### Installation
|
| 172 |
-
|
| 173 |
-
```bash
|
| 174 |
-
pip install transformers torch accelerate pillow requests
|
| 175 |
-
```
|
| 176 |
|
| 177 |
-
|
| 178 |
|
| 179 |
```python
|
| 180 |
-
from transformers import AutoModelForCausalLM,
|
|
|
|
| 181 |
|
| 182 |
-
model_name = "DeepXR/Helion-V2.0-Thinking"
|
| 183 |
-
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 184 |
model = AutoModelForCausalLM.from_pretrained(
|
| 185 |
-
|
| 186 |
torch_dtype="auto",
|
| 187 |
device_map="auto"
|
| 188 |
)
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
)
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
print(response)
|
| 203 |
```
|
| 204 |
|
| 205 |
-
|
| 206 |
|
| 207 |
-
|
| 208 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer, AutoProcessor
|
| 209 |
-
from PIL import Image
|
| 210 |
-
import requests
|
| 211 |
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
)
|
|
|
|
| 219 |
|
| 220 |
-
|
| 221 |
-
image_url = "https://example.com/image.jpg"
|
| 222 |
-
image = Image.open(requests.get(image_url, stream=True).raw)
|
| 223 |
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 227 |
|
| 228 |
-
|
| 229 |
-
outputs = model.generate(
|
| 230 |
-
**inputs,
|
| 231 |
-
max_new_tokens=512,
|
| 232 |
-
temperature=0.7
|
| 233 |
-
)
|
| 234 |
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
|
| 241 |
-
|
| 242 |
-
from PIL import Image
|
| 243 |
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
|
| 251 |
-
|
| 252 |
-
1. Common elements across all images
|
| 253 |
-
2. Unique features in each image
|
| 254 |
-
3. The chronological order if they represent a sequence"""
|
| 255 |
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
|
| 262 |
-
|
| 263 |
|
| 264 |
-
|
| 265 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 266 |
|
| 267 |
-
|
| 268 |
-
tools = [
|
| 269 |
-
{
|
| 270 |
-
"name": "web_search",
|
| 271 |
-
"description": "Search the web for current information",
|
| 272 |
-
"parameters": {
|
| 273 |
-
"type": "object",
|
| 274 |
-
"properties": {
|
| 275 |
-
"query": {
|
| 276 |
-
"type": "string",
|
| 277 |
-
"description": "The search query"
|
| 278 |
-
}
|
| 279 |
-
},
|
| 280 |
-
"required": ["query"]
|
| 281 |
-
}
|
| 282 |
-
},
|
| 283 |
-
{
|
| 284 |
-
"name": "calculator",
|
| 285 |
-
"description": "Perform mathematical calculations",
|
| 286 |
-
"parameters": {
|
| 287 |
-
"type": "object",
|
| 288 |
-
"properties": {
|
| 289 |
-
"expression": {
|
| 290 |
-
"type": "string",
|
| 291 |
-
"description": "Mathematical expression to evaluate"
|
| 292 |
-
}
|
| 293 |
-
},
|
| 294 |
-
"required": ["expression"]
|
| 295 |
-
}
|
| 296 |
-
}
|
| 297 |
-
]
|
| 298 |
-
|
| 299 |
-
# Format prompt with tools
|
| 300 |
-
system_prompt = f"""You are a helpful assistant with access to the following tools:
|
| 301 |
-
{json.dumps(tools, indent=2)}
|
| 302 |
-
|
| 303 |
-
To use a tool, respond with a JSON object in this format:
|
| 304 |
-
{{"tool": "tool_name", "parameters": {{"param": "value"}}}}"""
|
| 305 |
-
|
| 306 |
-
user_query = "What is the current population of Tokyo multiplied by 1.5?"
|
| 307 |
-
|
| 308 |
-
prompt = f"{system_prompt}\n\nUser: {user_query}\nAssistant:"
|
| 309 |
-
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 310 |
-
|
| 311 |
-
outputs = model.generate(
|
| 312 |
-
**inputs,
|
| 313 |
-
max_new_tokens=256,
|
| 314 |
-
temperature=0.3 # Lower temperature for more structured output
|
| 315 |
-
)
|
| 316 |
|
| 317 |
-
|
| 318 |
-
|
| 319 |
```
|
| 320 |
|
| 321 |
-
###
|
| 322 |
|
| 323 |
```python
|
| 324 |
-
|
| 325 |
-
"type": "object",
|
| 326 |
-
"properties": {
|
| 327 |
-
"summary": {"type": "string"},
|
| 328 |
-
"key_points": {
|
| 329 |
-
"type": "array",
|
| 330 |
-
"items": {"type": "string"}
|
| 331 |
-
},
|
| 332 |
-
"sentiment": {
|
| 333 |
-
"type": "string",
|
| 334 |
-
"enum": ["positive", "negative", "neutral"]
|
| 335 |
-
},
|
| 336 |
-
"confidence": {"type": "number"}
|
| 337 |
-
},
|
| 338 |
-
"required": ["summary", "key_points", "sentiment"]
|
| 339 |
-
}
|
| 340 |
|
| 341 |
-
|
| 342 |
-
|
| 343 |
|
| 344 |
-
|
| 345 |
-
|
| 346 |
-
|
| 347 |
-
|
| 348 |
-
|
| 349 |
-
|
| 350 |
-
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 351 |
-
outputs = model.generate(
|
| 352 |
-
**inputs,
|
| 353 |
-
max_new_tokens=512,
|
| 354 |
-
temperature=0.2,
|
| 355 |
-
do_sample=False # Greedy for structured output
|
| 356 |
)
|
| 357 |
|
| 358 |
-
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 359 |
-
# Parse JSON response
|
| 360 |
-
try:
|
| 361 |
-
result = json.loads(response.split("```json")[-1].split("```")[0] if "```" in response else response)
|
| 362 |
-
print(json.dumps(result, indent=2))
|
| 363 |
-
except json.JSONDecodeError:
|
| 364 |
-
print("Response:", response)
|
| 365 |
-
```
|
| 366 |
-
|
| 367 |
-
### Advanced Usage with Long Context
|
| 368 |
-
|
| 369 |
-
```python
|
| 370 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 371 |
-
|
| 372 |
-
model_name = "DeepXR/Helion-V2.0-Thinking"
|
| 373 |
-
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 374 |
model = AutoModelForCausalLM.from_pretrained(
|
| 375 |
-
|
| 376 |
-
|
| 377 |
-
device_map="auto"
|
| 378 |
-
use_flash_attention_2=True # Recommended for long contexts
|
| 379 |
)
|
|
|
|
| 380 |
|
| 381 |
-
|
| 382 |
-
long_document = """[Your long document here, up to 200K tokens]"""
|
| 383 |
-
question = "Based on the document above, what are the main conclusions?"
|
| 384 |
-
|
| 385 |
-
prompt = f"{long_document}\n\nQuestion: {question}\nAnswer:"
|
| 386 |
-
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 387 |
|
| 388 |
-
|
| 389 |
-
**inputs,
|
| 390 |
-
max_new_tokens=1024,
|
| 391 |
-
temperature=0.7,
|
| 392 |
-
top_p=0.9,
|
| 393 |
-
repetition_penalty=1.1
|
| 394 |
-
)
|
| 395 |
|
| 396 |
-
|
| 397 |
-
|
| 398 |
-
```
|
| 399 |
|
| 400 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 401 |
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
def rag_query(query, retrieved_documents, model, tokenizer):
|
| 406 |
-
"""
|
| 407 |
-
Perform RAG with retrieved documents
|
| 408 |
-
"""
|
| 409 |
-
# Format context from retrieved documents
|
| 410 |
-
context = "\n\n".join([
|
| 411 |
-
f"Document {i+1}:\n{doc}"
|
| 412 |
-
for i, doc in enumerate(retrieved_documents)
|
| 413 |
-
])
|
| 414 |
-
|
| 415 |
-
prompt = f"""Based on the following documents, answer the question accurately.
|
| 416 |
-
If the answer is not in the documents, say so.
|
| 417 |
-
|
| 418 |
-
{context}
|
| 419 |
-
|
| 420 |
-
Question: {query}
|
| 421 |
-
Answer:"""
|
| 422 |
-
|
| 423 |
-
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 424 |
-
outputs = model.generate(
|
| 425 |
-
**inputs,
|
| 426 |
-
max_new_tokens=512,
|
| 427 |
-
temperature=0.3,
|
| 428 |
-
top_p=0.9
|
| 429 |
-
)
|
| 430 |
-
|
| 431 |
-
return tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 432 |
-
|
| 433 |
-
# Example usage
|
| 434 |
-
documents = [
|
| 435 |
-
"The Eiffel Tower was completed in 1889 and stands 330 meters tall.",
|
| 436 |
-
"Located in Paris, France, it was designed by Gustave Eiffel.",
|
| 437 |
-
"It was initially criticized but became a global icon."
|
| 438 |
-
]
|
| 439 |
-
|
| 440 |
-
answer = rag_query(
|
| 441 |
-
"When was the Eiffel Tower built and who designed it?",
|
| 442 |
-
documents,
|
| 443 |
-
model,
|
| 444 |
-
tokenizer
|
| 445 |
-
)
|
| 446 |
-
print(answer)
|
| 447 |
```
|
| 448 |
|
| 449 |
-
###
|
| 450 |
|
| 451 |
```python
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
3. Sorts in descending order
|
| 456 |
-
4. Returns the top 5 numbers
|
| 457 |
-
Include error handling and type hints."""
|
| 458 |
-
|
| 459 |
-
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 460 |
-
outputs = model.generate(
|
| 461 |
-
**inputs,
|
| 462 |
-
max_new_tokens=512,
|
| 463 |
-
temperature=0.4 # Lower temperature for code
|
| 464 |
-
)
|
| 465 |
|
| 466 |
-
|
| 467 |
-
|
|
|
|
| 468 |
```
|
| 469 |
|
| 470 |
-
### Multi-
|
| 471 |
|
| 472 |
```python
|
| 473 |
-
|
| 474 |
-
|
| 475 |
-
|
| 476 |
-
|
| 477 |
-
# Turn 1: Image analysis
|
| 478 |
-
image = Image.open("chart.png")
|
| 479 |
-
conversation.append({
|
| 480 |
-
"role": "user",
|
| 481 |
-
"content": "What does this chart show?",
|
| 482 |
-
"images": [image]
|
| 483 |
-
})
|
| 484 |
-
|
| 485 |
-
# Process and get response
|
| 486 |
-
prompt = processor.apply_chat_template(conversation, tokenize=False)
|
| 487 |
-
inputs = processor(text=prompt, images=[image], return_tensors="pt").to(model.device)
|
| 488 |
outputs = model.generate(**inputs, max_new_tokens=512)
|
| 489 |
-
response = processor.decode(outputs[0], skip_special_tokens=True)
|
| 490 |
-
|
| 491 |
-
conversation.append({
|
| 492 |
-
"role": "assistant",
|
| 493 |
-
"content": response
|
| 494 |
-
})
|
| 495 |
-
|
| 496 |
-
# Turn 2: Follow-up question
|
| 497 |
-
conversation.append({
|
| 498 |
-
"role": "user",
|
| 499 |
-
"content": "What trends can you identify from the data?"
|
| 500 |
-
})
|
| 501 |
-
|
| 502 |
-
# Continue conversation...
|
| 503 |
```
|
| 504 |
|
| 505 |
-
##
|
| 506 |
-
|
| 507 |
-
### Creative Writing
|
| 508 |
-
- temperature: 0.8-1.0
|
| 509 |
-
- top_p: 0.9-0.95
|
| 510 |
-
- repetition_penalty: 1.1-1.2
|
| 511 |
-
|
| 512 |
-
### Technical/Factual Tasks
|
| 513 |
-
- temperature: 0.3-0.5
|
| 514 |
-
- top_p: 0.85-0.9
|
| 515 |
-
- repetition_penalty: 1.05
|
| 516 |
-
|
| 517 |
-
### Code Generation
|
| 518 |
-
- temperature: 0.2-0.4
|
| 519 |
-
- top_p: 0.9
|
| 520 |
-
- repetition_penalty: 1.05
|
| 521 |
-
|
| 522 |
-
### Function Calling/Structured Output
|
| 523 |
-
- temperature: 0.1-0.3
|
| 524 |
-
- top_p: 0.9
|
| 525 |
-
- do_sample: False (greedy)
|
| 526 |
-
|
| 527 |
-
### Vision Tasks
|
| 528 |
-
- temperature: 0.5-0.7
|
| 529 |
-
- top_p: 0.9
|
| 530 |
-
- repetition_penalty: 1.1
|
| 531 |
-
|
| 532 |
-
### Long-form Analysis
|
| 533 |
-
- temperature: 0.6-0.7
|
| 534 |
-
- top_p: 0.9
|
| 535 |
-
- repetition_penalty: 1.1
|
| 536 |
-
- max_new_tokens: 2048+
|
| 537 |
-
|
| 538 |
-
### Conversational AI
|
| 539 |
-
- temperature: 0.7
|
| 540 |
-
- top_p: 0.9
|
| 541 |
-
- repetition_penalty: 1.1
|
| 542 |
-
- max_new_tokens: 512-1024
|
| 543 |
|
| 544 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 545 |
|
| 546 |
-
|
| 547 |
-
- GPU: 24GB VRAM (e.g., RTX 4090, A5000)
|
| 548 |
-
- RAM: 32GB system memory
|
| 549 |
-
- Storage: 25GB for model weights
|
| 550 |
-
|
| 551 |
-
### Recommended for Long Context
|
| 552 |
-
- GPU: 40GB+ VRAM (e.g., A100, H100)
|
| 553 |
-
- RAM: 64GB system memory
|
| 554 |
-
- Flash Attention 2 enabled for efficient memory usage
|
| 555 |
-
|
| 556 |
-
### Recommended for Vision Tasks
|
| 557 |
-
- GPU: 32GB+ VRAM
|
| 558 |
-
- RAM: 48GB system memory
|
| 559 |
-
- Fast storage for image loading
|
| 560 |
-
|
| 561 |
-
### Quantization Options
|
| 562 |
-
- 8-bit: Runs on 16GB VRAM with minimal quality loss
|
| 563 |
-
- 4-bit: Runs on 12GB VRAM with acceptable quality for most tasks
|
| 564 |
-
- Vision capabilities maintained in quantized versions
|
| 565 |
-
|
| 566 |
-
## Supported Use Cases
|
| 567 |
-
|
| 568 |
-
### Text-Only Tasks
|
| 569 |
-
- Conversational AI and chatbots
|
| 570 |
-
- Content generation and writing assistance
|
| 571 |
-
- Code generation and debugging
|
| 572 |
-
- Mathematical problem solving
|
| 573 |
-
- Text analysis and summarization
|
| 574 |
-
- Translation and multilingual tasks
|
| 575 |
-
- Question answering
|
| 576 |
-
- Instruction following
|
| 577 |
-
|
| 578 |
-
### Vision Tasks
|
| 579 |
-
- Image captioning and description
|
| 580 |
-
- Visual question answering
|
| 581 |
-
- OCR and text extraction
|
| 582 |
-
- Chart and graph analysis
|
| 583 |
-
- Diagram interpretation
|
| 584 |
-
- Screenshot analysis
|
| 585 |
-
- Document understanding
|
| 586 |
-
- Visual reasoning
|
| 587 |
-
- Object detection and counting
|
| 588 |
-
- Scene understanding
|
| 589 |
-
|
| 590 |
-
### Tool Use and Integration
|
| 591 |
-
- API integration
|
| 592 |
-
- Function calling
|
| 593 |
-
- Database query generation
|
| 594 |
-
- Web search integration
|
| 595 |
-
- Calculator and computations
|
| 596 |
-
- File system operations
|
| 597 |
-
- Multi-tool workflows
|
| 598 |
-
- Structured data generation
|
| 599 |
-
|
| 600 |
-
### Advanced Applications
|
| 601 |
-
- RAG systems
|
| 602 |
-
- Multi-modal chatbots
|
| 603 |
-
- Code assistants
|
| 604 |
-
- Research assistants
|
| 605 |
-
- Document analysis tools
|
| 606 |
-
- Data analysis platforms
|
| 607 |
-
- Educational tools
|
| 608 |
-
- Creative tools
|
| 609 |
|
| 610 |
## Limitations
|
| 611 |
|
| 612 |
-
-
|
| 613 |
-
-
|
| 614 |
-
- Very long contexts (150K+
|
| 615 |
-
-
|
| 616 |
-
-
|
| 617 |
-
- Function calling requires well-structured prompts and tool definitions
|
| 618 |
-
- Not suitable for real-time applications requiring sub-second latency without optimization
|
| 619 |
-
- Vision capabilities are optimized for static images, not video
|
| 620 |
-
- Tool execution requires external implementation of actual tool functions
|
| 621 |
|
| 622 |
-
##
|
| 623 |
|
| 624 |
-
|
| 625 |
-
|
| 626 |
-
-
|
| 627 |
-
-
|
| 628 |
-
-
|
| 629 |
-
-
|
| 630 |
-
-
|
| 631 |
-
-
|
| 632 |
-
-
|
| 633 |
|
| 634 |
## Citation
|
| 635 |
|
| 636 |
-
If you use Helion-V2.0-Thinking in your research or applications, please cite:
|
| 637 |
-
|
| 638 |
```bibtex
|
| 639 |
-
@misc{helion-v2-thinking,
|
| 640 |
-
title={Helion-V2.0-Thinking: A 10.2B
|
| 641 |
author={DeepXR},
|
| 642 |
-
year={
|
| 643 |
publisher={Hugging Face},
|
| 644 |
url={https://huggingface.co/DeepXR/Helion-V2.0-Thinking}
|
| 645 |
}
|
|
@@ -647,8 +227,8 @@ If you use Helion-V2.0-Thinking in your research or applications, please cite:
|
|
| 647 |
|
| 648 |
## License
|
| 649 |
|
| 650 |
-
|
| 651 |
|
| 652 |
## Acknowledgments
|
| 653 |
|
| 654 |
-
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: meta-llama/Llama-2-10b-hf
|
| 4 |
+
tags:
|
| 5 |
+
- text-generation
|
| 6 |
+
- image-text-to-text
|
| 7 |
+
- multimodal
|
| 8 |
+
- vision
|
| 9 |
+
- long-context
|
| 10 |
+
- function-calling
|
| 11 |
+
- reasoning
|
| 12 |
+
model_name: Helion-V2.0-Thinking
|
| 13 |
+
language:
|
| 14 |
+
- en
|
| 15 |
+
- multilingual
|
| 16 |
+
pipeline_tag: image-text-to-text
|
| 17 |
+
library_name: transformers
|
| 18 |
---
|
| 19 |
|
| 20 |
+
# Helion-V2.0-Thinking
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
+
Advanced 10.2B parameter multimodal language model with 200K context, native vision, and tool use capabilities.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
## Key Features
|
| 25 |
|
| 26 |
+
- **200K Token Context Window** - Process entire books and codebases
|
| 27 |
+
- **Native Vision Understanding** - Analyze images, charts, documents, and diagrams
|
| 28 |
+
- **Function Calling & Tool Use** - Structured outputs and API integration
|
| 29 |
+
- **Strong Reasoning** - Excellent performance on math, code, and logic tasks
|
| 30 |
+
- **Multilingual Support** - 12+ languages with strong performance
|
| 31 |
+
- **Production-Ready Safety** - Comprehensive content filtering and guardrails
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
+
## Quick Start
|
| 34 |
|
| 35 |
```python
|
| 36 |
+
from transformers import AutoModelForCausalLM, AutoProcessor
|
| 37 |
+
from PIL import Image
|
| 38 |
|
|
|
|
|
|
|
| 39 |
model = AutoModelForCausalLM.from_pretrained(
|
| 40 |
+
"DeepXR/Helion-V2.0-Thinking",
|
| 41 |
torch_dtype="auto",
|
| 42 |
device_map="auto"
|
| 43 |
)
|
| 44 |
+
processor = AutoProcessor.from_pretrained("DeepXR/Helion-V2.0-Thinking")
|
| 45 |
+
|
| 46 |
+
# Text generation
|
| 47 |
+
prompt = "Explain quantum computing in simple terms:"
|
| 48 |
+
inputs = processor(text=prompt, return_tensors="pt").to(model.device)
|
| 49 |
+
outputs = model.generate(**inputs, max_new_tokens=256)
|
| 50 |
+
print(processor.decode(outputs[0], skip_special_tokens=True))
|
| 51 |
+
|
| 52 |
+
# Image understanding
|
| 53 |
+
image = Image.open("photo.jpg")
|
| 54 |
+
inputs = processor(text="What's in this image?", images=image, return_tensors="pt")
|
| 55 |
+
outputs = model.generate(**inputs, max_new_tokens=256)
|
| 56 |
+
print(processor.decode(outputs[0], skip_special_tokens=True))
|
|
|
|
| 57 |
```
|
| 58 |
|
| 59 |
+
## Benchmarks
|
| 60 |
|
| 61 |
+
### Language Understanding
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
+
| Benchmark | Helion-V2.0 | Helion-V2.0-Thinking | Improvement |
|
| 64 |
+
|-----------|-------------|---------------------|-------------|
|
| 65 |
+
| MMLU (5-shot) | 64.2% | **72.3%** | +12.6% |
|
| 66 |
+
| HellaSwag (10-shot) | 80.5% | **84.8%** | +5.3% |
|
| 67 |
+
| ARC-Challenge (25-shot) | 58.3% | **68.7%** | +17.8% |
|
| 68 |
+
| TruthfulQA MC2 | 52.1% | **58.4%** | +12.1% |
|
| 69 |
+
| GSM8K (8-shot) | 68.7% | **72.1%** | +4.9% |
|
| 70 |
+
| HumanEval (0-shot) | 48.2% | **52.8%** | +9.5% |
|
| 71 |
|
| 72 |
+
### Vision & Multimodal
|
|
|
|
|
|
|
| 73 |
|
| 74 |
+
| Benchmark | Score | Notes |
|
| 75 |
+
|-----------|-------|-------|
|
| 76 |
+
| VQA v2 | **78.9%** | Visual question answering |
|
| 77 |
+
| TextVQA | **72.4%** | Text in images |
|
| 78 |
+
| ChartQA | **76.8%** | Chart understanding |
|
| 79 |
+
| DocVQA | **84.3%** | Document analysis |
|
| 80 |
+
| AI2D | **78.2%** | Scientific diagrams |
|
| 81 |
|
| 82 |
+
### Tool Use & Function Calling
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
|
| 84 |
+
| Benchmark | Score |
|
| 85 |
+
|-----------|-------|
|
| 86 |
+
| Berkeley Function Calling | **89.7%** |
|
| 87 |
+
| API-Bank | **86.4%** |
|
| 88 |
+
| JSON Schema Adherence | **94.8%** |
|
| 89 |
|
| 90 |
+
## Model Details
|
|
|
|
| 91 |
|
| 92 |
+
- **Architecture**: LLaVA (Llama-2 + SigLIP vision encoder)
|
| 93 |
+
- **Parameters**: 10.2B (text: 10.0B, vision: 400M)
|
| 94 |
+
- **Context Length**: 200,000 tokens
|
| 95 |
+
- **Vision Resolution**: 384x384 (multi-image support)
|
| 96 |
+
- **Precision**: BF16/FP16 (quantizable to INT8/INT4)
|
| 97 |
+
- **License**: Apache 2.0
|
| 98 |
|
| 99 |
+
## Hardware Requirements
|
|
|
|
|
|
|
|
|
|
| 100 |
|
| 101 |
+
| Configuration | VRAM | Performance |
|
| 102 |
+
|--------------|------|-------------|
|
| 103 |
+
| BF16 | 24GB | 42 tok/s (RTX 4090) |
|
| 104 |
+
| INT8 | 16GB | 67 tok/s (RTX 4080) |
|
| 105 |
+
| INT4 | 12GB | 89 tok/s (RTX 4070) |
|
| 106 |
|
| 107 |
+
## Use Cases
|
| 108 |
|
| 109 |
+
- **Conversational AI** - Multi-turn dialogue with long memory
|
| 110 |
+
- **Document Analysis** - Process reports, contracts, research papers
|
| 111 |
+
- **Code Generation** - Write, debug, and explain code
|
| 112 |
+
- **Visual Understanding** - Analyze images, charts, screenshots
|
| 113 |
+
- **Data Analysis** - Interpret data and create insights
|
| 114 |
+
- **Content Creation** - Articles, stories, marketing copy
|
| 115 |
+
- **RAG Systems** - Retrieval-augmented generation
|
| 116 |
+
- **Tool Integration** - Function calling and API workflows
|
| 117 |
|
| 118 |
+
## Installation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
|
| 120 |
+
```bash
|
| 121 |
+
pip install transformers torch accelerate pillow
|
| 122 |
```
|
| 123 |
|
| 124 |
+
### With Quantization
|
| 125 |
|
| 126 |
```python
|
| 127 |
+
from transformers import BitsAndBytesConfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
|
| 129 |
+
# 8-bit (16GB VRAM)
|
| 130 |
+
config = BitsAndBytesConfig(load_in_8bit=True)
|
| 131 |
|
| 132 |
+
# 4-bit (12GB VRAM)
|
| 133 |
+
config = BitsAndBytesConfig(
|
| 134 |
+
load_in_4bit=True,
|
| 135 |
+
bnb_4bit_compute_dtype=torch.bfloat16,
|
| 136 |
+
bnb_4bit_quant_type="nf4"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
)
|
| 138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
model = AutoModelForCausalLM.from_pretrained(
|
| 140 |
+
"DeepXR/Helion-V2.0-Thinking",
|
| 141 |
+
quantization_config=config,
|
| 142 |
+
device_map="auto"
|
|
|
|
| 143 |
)
|
| 144 |
+
```
|
| 145 |
|
| 146 |
+
## Advanced Features
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
|
| 148 |
+
### Function Calling
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
|
| 150 |
+
```python
|
| 151 |
+
import json
|
|
|
|
| 152 |
|
| 153 |
+
tools = [{
|
| 154 |
+
"name": "calculator",
|
| 155 |
+
"description": "Perform calculations",
|
| 156 |
+
"parameters": {"expression": {"type": "string"}}
|
| 157 |
+
}]
|
| 158 |
|
| 159 |
+
prompt = f"Available tools: {json.dumps(tools)}\n\nUser: What is 127 * 89?\nAssistant:"
|
| 160 |
+
inputs = processor(text=prompt, return_tensors="pt")
|
| 161 |
+
outputs = model.generate(**inputs, max_new_tokens=128, temperature=0.2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 162 |
```
|
| 163 |
|
| 164 |
+
### Long Context (200K)
|
| 165 |
|
| 166 |
```python
|
| 167 |
+
# Process entire documents
|
| 168 |
+
with open("long_document.txt") as f:
|
| 169 |
+
document = f.read() # Up to 200K tokens
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
|
| 171 |
+
prompt = f"{document}\n\nSummarize the key points:"
|
| 172 |
+
inputs = processor(text=prompt, return_tensors="pt")
|
| 173 |
+
outputs = model.generate(**inputs, max_new_tokens=1024)
|
| 174 |
```
|
| 175 |
|
| 176 |
+
### Multi-Image Analysis
|
| 177 |
|
| 178 |
```python
|
| 179 |
+
images = [Image.open(f"image{i}.jpg") for i in range(3)]
|
| 180 |
+
prompt = "Compare these images and describe the differences:"
|
| 181 |
+
inputs = processor(text=prompt, images=images, return_tensors="pt")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182 |
outputs = model.generate(**inputs, max_new_tokens=512)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 183 |
```
|
| 184 |
|
| 185 |
+
## Safety Features
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 186 |
|
| 187 |
+
Built-in safety guardrails including:
|
| 188 |
+
- Content filtering for harmful outputs
|
| 189 |
+
- PII detection and redaction
|
| 190 |
+
- Rate limiting capabilities
|
| 191 |
+
- Toxicity detection
|
| 192 |
+
- Appropriate refusal behavior
|
| 193 |
|
| 194 |
+
See `safety_wrapper.py` for production deployment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
|
| 196 |
## Limitations
|
| 197 |
|
| 198 |
+
- Primarily optimized for English (good multilingual support)
|
| 199 |
+
- Vision works best with clear, well-lit images
|
| 200 |
+
- Very long contexts (150K+) require substantial VRAM
|
| 201 |
+
- May occasionally generate incorrect information
|
| 202 |
+
- Not suitable for medical/legal advice without human review
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
|
| 204 |
+
## Files Included
|
| 205 |
|
| 206 |
+
- `inference.py` - Full inference script with examples
|
| 207 |
+
- `safety_wrapper.py` - Production safety wrapper
|
| 208 |
+
- `evaluate.py` - Comprehensive evaluation suite
|
| 209 |
+
- `benchmark.py` - Performance benchmarking
|
| 210 |
+
- `QUICKSTART.md` - Quick start guide
|
| 211 |
+
- `USE_CASES.md` - Detailed use case examples
|
| 212 |
+
- `safety_config.json` - Safety configuration
|
| 213 |
+
- `requirements.txt` - Dependencies
|
| 214 |
+
- `Dockerfile` - Container deployment
|
| 215 |
|
| 216 |
## Citation
|
| 217 |
|
|
|
|
|
|
|
| 218 |
```bibtex
|
| 219 |
+
@misc{helion-v2-thinking-2024,
|
| 220 |
+
title={Helion-V2.0-Thinking: A 10.2B Multimodal Language Model},
|
| 221 |
author={DeepXR},
|
| 222 |
+
year={2024},
|
| 223 |
publisher={Hugging Face},
|
| 224 |
url={https://huggingface.co/DeepXR/Helion-V2.0-Thinking}
|
| 225 |
}
|
|
|
|
| 227 |
|
| 228 |
## License
|
| 229 |
|
| 230 |
+
Apache 2.0 - See LICENSE file for details.
|
| 231 |
|
| 232 |
## Acknowledgments
|
| 233 |
|
| 234 |
+
Built with Transformers, trained on diverse open datasets. Thanks to the open-source AI community.
|