prithivMLmods commited on
Commit
6671ac7
·
verified ·
1 Parent(s): 9ebb6e2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +92 -0
README.md CHANGED
@@ -14,3 +14,95 @@ tags:
14
  ---
15
 
16
  ![e2.gif](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/CbSQZghlvWbMo2EdMacXp.gif)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  ---
15
 
16
  ![e2.gif](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/CbSQZghlvWbMo2EdMacXp.gif)
17
+
18
+ Here's the updated version:
19
+
20
+ ---
21
+
22
+ # **Calcium-Opus-14B-Elite2**
23
+
24
+ Calcium-Opus-14B-Elite2 is based on the Qwen 2.5 14B modality architecture, designed to enhance the reasoning capabilities of 14B-parameter models. These models have proven effective in context understanding, reasoning, and mathematical problem-solving. It has been fine-tuned using a long chain-of-thought reasoning model and specialized datasets, with a focus on chain-of-thought (CoT) reasoning for problem-solving. This model is optimized for tasks requiring logical reasoning, detailed explanations, and multi-step problem-solving, making it ideal for applications such as instruction-following, text generation, and complex reasoning tasks.
25
+
26
+ Key improvements include:
27
+ 1. **Enhanced Knowledge and Expertise**: The model demonstrates significantly more knowledge and greatly improved capabilities in coding and mathematics, thanks to specialized expert models in these domains.
28
+ 2. **Improved Instruction Following**: It shows significant advancements in following instructions, generating long texts (over 8K tokens), understanding structured data (e.g., tables), and producing structured outputs, especially in JSON format.
29
+ 3. **Better Adaptability**: The model is more resilient to diverse system prompts, enabling enhanced role-playing implementations and condition-setting for chatbots.
30
+ 4. **Long-Context Support**: It offers long-context support of up to 128K tokens and can generate up to 8K tokens in a single output.
31
+ 5. **Multilingual Proficiency**: The model supports over 29 languages, including Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more.
32
+
33
+ # **Quickstart with transformers**
34
+
35
+ Here is a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and how to generate content:
36
+
37
+ ```python
38
+ from transformers import AutoModelForCausalLM, AutoTokenizer
39
+
40
+ model_name = "prithivMLmods/Calcium-Opus-14B-Elite2"
41
+
42
+ model = AutoModelForCausalLM.from_pretrained(
43
+ model_name,
44
+ torch_dtype="auto",
45
+ device_map="auto"
46
+ )
47
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
48
+
49
+ prompt = "Give me a short introduction to large language model."
50
+ messages = [
51
+ {"role": "system", "content": "You are Qwen, created by Alibaba Cloud. You are a helpful assistant."},
52
+ {"role": "user", "content": prompt}
53
+ ]
54
+ text = tokenizer.apply_chat_template(
55
+ messages,
56
+ tokenize=False,
57
+ add_generation_prompt=True
58
+ )
59
+ model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
60
+
61
+ generated_ids = model.generate(
62
+ **model_inputs,
63
+ max_new_tokens=512
64
+ )
65
+ generated_ids = [
66
+ output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
67
+ ]
68
+
69
+ response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
70
+ ```
71
+
72
+ # **Intended Use**
73
+ 1. **Reasoning and Context Understanding**:
74
+ Designed to assist with complex reasoning tasks, contextual understanding, and solving problems requiring logical deduction and critical thinking.
75
+
76
+ 2. **Mathematical Problem-Solving**:
77
+ Specialized for performing advanced mathematical reasoning and calculations, making it suitable for educational, scientific, and research-oriented applications.
78
+
79
+ 3. **Code Generation and Debugging**:
80
+ Offers robust support for coding tasks, including writing, debugging, and optimizing code in various programming languages, ideal for developers and software engineers.
81
+
82
+ 4. **Structured Data Analysis**:
83
+ Excels in processing and analyzing structured data, such as tables and JSON, and generating structured outputs, which is useful for data analysts and automation workflows.
84
+
85
+ 5. **Multilingual Applications**:
86
+ Supports over 29 languages, making it versatile for global applications like multilingual chatbots, content generation, and translations.
87
+
88
+ 6. **Extended Content Generation**:
89
+ Capable of generating long-form content (over 8K tokens), useful for writing reports, articles, and creating detailed instructional guides.
90
+
91
+ # **Limitations**
92
+ 1. **Hardware Requirements**:
93
+ Due to its 20B parameter size and support for long-context inputs, running the model requires significant computational resources, including high-memory GPUs or TPUs.
94
+
95
+ 2. **Potential Bias in Multilingual Outputs**:
96
+ While it supports 29 languages, the quality and accuracy of outputs may vary depending on the language, especially for less-resourced languages.
97
+
98
+ 3. **Inconsistent Outputs for Creative Tasks**:
99
+ The model may occasionally produce inconsistent or repetitive results in creative writing, storytelling, or highly subjective tasks.
100
+
101
+ 4. **Limited Real-World Awareness**:
102
+ It lacks real-time knowledge of current events beyond its training cutoff, which may limit its ability to respond accurately to the latest information.
103
+
104
+ 5. **Error Propagation in Long-Text Outputs**:
105
+ In generating long texts, minor errors in early outputs can sometimes propagate, reducing the overall coherence and accuracy of the response.
106
+
107
+ 6. **Dependency on High-Quality Prompts**:
108
+ Performance may depend on the quality and specificity of the input prompt, requiring users to carefully design queries for optimal results.