prithivMLmods commited on
Commit
1bc6878
·
verified ·
1 Parent(s): f9eb6ff

Update README.md

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