prithivMLmods commited on
Commit
f30e5f1
·
verified ·
1 Parent(s): 69867d7

Update README.md

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