prithivMLmods commited on
Commit
bc10d6c
·
verified ·
1 Parent(s): e84e5bc

Update README.md

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