Update README.md
Browse files
README.md
CHANGED
@@ -17,6 +17,114 @@ tags:
|
|
17 |
This model was converted to GGUF format from [`prithivMLmods/Jolt-v0.1`](https://huggingface.co/prithivMLmods/Jolt-v0.1) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
18 |
Refer to the [original model card](https://huggingface.co/prithivMLmods/Jolt-v0.1) for more details on the model.
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
## Use with llama.cpp
|
21 |
Install llama.cpp through brew (works on Mac and Linux)
|
22 |
|
|
|
17 |
This model was converted to GGUF format from [`prithivMLmods/Jolt-v0.1`](https://huggingface.co/prithivMLmods/Jolt-v0.1) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
18 |
Refer to the [original model card](https://huggingface.co/prithivMLmods/Jolt-v0.1) for more details on the model.
|
19 |
|
20 |
+
---
|
21 |
+
Jolt-v0.1 is based on the Qwen 2.5 14B modality architecture,
|
22 |
+
designed to enhance the reasoning capabilities of 14B-parameter models.
|
23 |
+
It has been fine-tuned on a synthetic dataset based on math and cot
|
24 |
+
datasets, further optimizing its chain-of-thought (CoT) reasoning and
|
25 |
+
logical problem-solving abilities. The model demonstrates significant
|
26 |
+
improvements in context understanding, structured data processing, and
|
27 |
+
long-context comprehension, making it ideal for complex reasoning tasks,
|
28 |
+
instruction-following, and text generation.
|
29 |
+
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
Key Improvements
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
Enhanced Knowledge and Expertise: Improved mathematical reasoning, coding proficiency, and structured data processing.
|
42 |
+
Fine-Tuned Instruction Following: Optimized for precise responses, structured outputs (e.g., JSON), and generating long texts (8K+ tokens).
|
43 |
+
Greater Adaptability: Better role-playing capabilities and resilience to diverse system prompts.
|
44 |
+
Long-Context Support: Handles up to 128K tokens and generates up to 8K tokens per output.
|
45 |
+
Multilingual Proficiency: Supports over 29 languages, including Chinese, English, French, Spanish, Portuguese, German, and more.
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
Quickstart with Transformers
|
54 |
+
|
55 |
+
|
56 |
+
|
57 |
+
|
58 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
59 |
+
|
60 |
+
model_name = "prithivMLmods/Jolt-v0.1"
|
61 |
+
|
62 |
+
model = AutoModelForCausalLM.from_pretrained(
|
63 |
+
model_name,
|
64 |
+
torch_dtype="auto",
|
65 |
+
device_map="auto",
|
66 |
+
trust_remote_code=True
|
67 |
+
)
|
68 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
69 |
+
|
70 |
+
prompt = "Give me a short introduction to large language models."
|
71 |
+
messages = [
|
72 |
+
{"role": "system", "content": "You are an advanced AI assistant with expert-level reasoning and knowledge."},
|
73 |
+
{"role": "user", "content": prompt}
|
74 |
+
]
|
75 |
+
text = tokenizer.apply_chat_template(
|
76 |
+
messages,
|
77 |
+
tokenize=False,
|
78 |
+
add_generation_prompt=True
|
79 |
+
)
|
80 |
+
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
|
81 |
+
|
82 |
+
generated_ids = model.generate(
|
83 |
+
**model_inputs,
|
84 |
+
max_new_tokens=512
|
85 |
+
)
|
86 |
+
generated_ids = [
|
87 |
+
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
|
88 |
+
]
|
89 |
+
|
90 |
+
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
91 |
+
print(response)
|
92 |
+
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
|
97 |
+
|
98 |
+
Intended Use
|
99 |
+
|
100 |
+
|
101 |
+
|
102 |
+
|
103 |
+
Advanced Reasoning & Context Understanding: Designed for logical deduction, multi-step problem-solving, and complex knowledge-based tasks.
|
104 |
+
Mathematical & Scientific Problem-Solving: Enhanced capabilities for calculations, theorem proving, and scientific queries.
|
105 |
+
Code Generation & Debugging: Generates and optimizes code across multiple programming languages.
|
106 |
+
Structured Data Analysis: Processes tables, JSON, and structured outputs, making it ideal for data-centric tasks.
|
107 |
+
Multilingual Applications: High proficiency in over 29 languages, enabling global-scale applications.
|
108 |
+
Extended Content Generation: Supports detailed document writing, research reports, and instructional guides.
|
109 |
+
|
110 |
+
|
111 |
+
|
112 |
+
|
113 |
+
|
114 |
+
|
115 |
+
|
116 |
+
Limitations
|
117 |
+
|
118 |
+
|
119 |
+
|
120 |
+
|
121 |
+
High Computational Requirements: Due to its 14B parameters and 128K context support, it requires powerful GPUs or TPUs for efficient inference.
|
122 |
+
Language-Specific Variability: Performance may vary across supported languages, especially for low-resource languages.
|
123 |
+
Potential Error Accumulation: Long-text generation can sometimes introduce inconsistencies over extended outputs.
|
124 |
+
Limited Real-World Awareness: Knowledge is restricted to training data and may not reflect recent world events.
|
125 |
+
Prompt Sensitivity: Outputs can depend on the specificity and clarity of the input prompt.
|
126 |
+
|
127 |
+
---
|
128 |
## Use with llama.cpp
|
129 |
Install llama.cpp through brew (works on Mac and Linux)
|
130 |
|