Update README.md
Browse files
README.md
CHANGED
@@ -14,3 +14,90 @@ tags:
|
|
14 |
- RL
|
15 |
---
|
16 |

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
- RL
|
15 |
---
|
16 |

|
17 |
+
# **Sombrero-Opus-14B-Elite5**
|
18 |
+
|
19 |
+
Sombrero-Opus-14B-Elite5 is based on the Qwen 2.5 14B modality architecture, designed to enhance the reasoning capabilities of 14B-parameter models. This model is optimized for general-purpose reasoning and answering, excelling in contextual understanding, logical deduction, and multi-step problem-solving. It has been fine-tuned using a long chain-of-thought reasoning model and specialized datasets to improve comprehension, structured responses, and conversational intelligence.
|
20 |
+
|
21 |
+
Key improvements include:
|
22 |
+
1. **Enhanced General Knowledge**: The model provides broad knowledge across various domains, improving capabilities in answering questions accurately and generating coherent responses.
|
23 |
+
2. **Improved Instruction Following**: Significant advancements in understanding and following complex instructions, generating structured responses, and maintaining coherence over extended interactions.
|
24 |
+
3. **Versatile Adaptability**: More resilient to diverse prompts, enhancing its ability to handle a wide range of topics and conversation styles, including open-ended and structured inquiries.
|
25 |
+
4. **Long-Context Support**: Supports up to 128K tokens for input context and can generate up to 8K tokens in a single output, making it ideal for detailed responses.
|
26 |
+
5. **Multilingual Proficiency**: Supports over 29 languages, including English, Chinese, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more.
|
27 |
+
|
28 |
+
# **Quickstart with transformers**
|
29 |
+
|
30 |
+
Here is a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and generate content:
|
31 |
+
|
32 |
+
```python
|
33 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
34 |
+
|
35 |
+
model_name = "prithivMLmods/Sombrero-Opus-14B-Elite5"
|
36 |
+
|
37 |
+
model = AutoModelForCausalLM.from_pretrained(
|
38 |
+
model_name,
|
39 |
+
torch_dtype="auto",
|
40 |
+
device_map="auto"
|
41 |
+
)
|
42 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
43 |
+
|
44 |
+
prompt = "What are the key principles of general-purpose AI?"
|
45 |
+
messages = [
|
46 |
+
{"role": "system", "content": "You are a helpful assistant capable of answering a wide range of questions."},
|
47 |
+
{"role": "user", "content": prompt}
|
48 |
+
]
|
49 |
+
text = tokenizer.apply_chat_template(
|
50 |
+
messages,
|
51 |
+
tokenize=False,
|
52 |
+
add_generation_prompt=True
|
53 |
+
)
|
54 |
+
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
|
55 |
+
|
56 |
+
generated_ids = model.generate(
|
57 |
+
**model_inputs,
|
58 |
+
max_new_tokens=512
|
59 |
+
)
|
60 |
+
generated_ids = [
|
61 |
+
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
|
62 |
+
]
|
63 |
+
|
64 |
+
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
65 |
+
```
|
66 |
+
|
67 |
+
# **Intended Use**
|
68 |
+
1. **General-Purpose Reasoning**:
|
69 |
+
Designed for broad applicability, assisting with logical reasoning, answering diverse questions, and solving general knowledge problems.
|
70 |
+
|
71 |
+
2. **Educational and Informational Assistance**:
|
72 |
+
Suitable for providing explanations, summaries, and research-based responses for students, educators, and general users.
|
73 |
+
|
74 |
+
3. **Conversational AI and Chatbots**:
|
75 |
+
Ideal for building intelligent conversational agents that require contextual understanding and dynamic response generation.
|
76 |
+
|
77 |
+
4. **Multilingual Applications**:
|
78 |
+
Supports global communication, translations, and multilingual content generation.
|
79 |
+
|
80 |
+
5. **Structured Data Processing**:
|
81 |
+
Capable of analyzing and generating structured outputs, such as tables and JSON, useful for data science and automation.
|
82 |
+
|
83 |
+
6. **Long-Form Content Generation**:
|
84 |
+
Can generate extended responses, including articles, reports, and guides, maintaining coherence over large text outputs.
|
85 |
+
|
86 |
+
# **Limitations**
|
87 |
+
1. **Hardware Requirements**:
|
88 |
+
Requires high-memory GPUs or TPUs due to its large parameter size and long-context support.
|
89 |
+
|
90 |
+
2. **Potential Bias in Responses**:
|
91 |
+
While designed to be neutral, outputs may still reflect biases present in training data.
|
92 |
+
|
93 |
+
3. **Inconsistent Outputs in Creative Tasks**:
|
94 |
+
May produce variable results in storytelling and highly subjective topics.
|
95 |
+
|
96 |
+
4. **Limited Real-World Awareness**:
|
97 |
+
Does not have access to real-time events beyond its training cutoff.
|
98 |
+
|
99 |
+
5. **Error Propagation in Extended Outputs**:
|
100 |
+
Minor errors in early responses may affect overall coherence in long-form outputs.
|
101 |
+
|
102 |
+
6. **Prompt Sensitivity**:
|
103 |
+
The effectiveness of responses may depend on how well the input prompt is structured.
|