InferenceIllusionist
commited on
Commit
•
0a91187
1
Parent(s):
8f8b667
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,82 @@
|
|
1 |
---
|
|
|
|
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
tags:
|
3 |
+
- conversational
|
4 |
license: apache-2.0
|
5 |
---
|
6 |
+
|
7 |
+
# Hyperion-1.5-Mistral-7B-iMat-GGUF
|
8 |
+
|
9 |
+
New importance matrix quantizations for Hyperion-1.5-Mistral-7B.
|
10 |
+
These i-quants have a better size to perplexity ratio as they were creating using an Importance Matrix file calcualted from the fp16 (unquantized) gguf.
|
11 |
+
|
12 |
+
<b>All files created using latest (3/2) llama.cpp build, including IQ3_S improvements covered [here](https://github.com/ggerganov/llama.cpp/pull/5829)</b>
|
13 |
+
|
14 |
+
This model excels in the domains of science, medicine, mathematics, and computer science.
|
15 |
+
|
16 |
+
All credits to [Locutusque](https://huggingface.co/Locutusque/) for the model and [ikawrakow](https://github.com/ikawrakow) for stellar work on the new quants.
|
17 |
+
|
18 |
+
---
|
19 |
+
|
20 |
+
# Model Card for Locutusque/Hyperion-1.5-Mistral-7B
|
21 |
+
|
22 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6437292ecd93f4c9a34b0d47/1lL97kzuxqykXGUT6F593.png)
|
23 |
+
|
24 |
+
## Model Details
|
25 |
+
**Model Name**: Locutusque/Hyperion-1.5-Mistral-7B
|
26 |
+
**Base Model**: mistralai/Mistral-7B-v0.1
|
27 |
+
**Publisher**: M4-ai
|
28 |
+
**Model Type**: Question answering, conversational AI, code generation, medical text comprehension, mathematical reasoning, logical reasoning.
|
29 |
+
**Language**: Multi-domain, English language.
|
30 |
+
**License**: Apache-2.0
|
31 |
+
|
32 |
+
## Model Description
|
33 |
+
`Locutusque/Hyperion-1.5-Mistral-7B` is a state-of-the-art language model fine-tuned on the Hyperion dataset for advanced reasoning across scientific domains. This model is designed to handle complex inquiries and instructions, leveraging the diverse and rich information contained in the Hyperion dataset. Its primary use cases include but are not limited to complex question answering, conversational understanding, code generation, medical text comprehension, mathematical reasoning, and logical reasoning.
|
34 |
+
|
35 |
+
## Intended Use
|
36 |
+
This model is intended for researchers and practitioners looking for a powerful tool to tackle challenging problems in scientific domains. It can be used in the following scenarios:
|
37 |
+
- AI-driven tutoring systems for science, medicine, mathematics, and computer science.
|
38 |
+
- Assistive tools for professionals requiring fast and accurate domain-specific information retrieval.
|
39 |
+
- Platforms that require conversational AI capabilities with a focus on technical and scientific reasoning.
|
40 |
+
- Automation in code generation and understanding complex programming context.
|
41 |
+
|
42 |
+
## Training Data
|
43 |
+
The `Locutusque/Hyperion-1.5-Mistral-7B` model was fine-tuned on the Hyperion-v1.5 dataset, which amalgamates various datasets rich in diversity and complexity, including programming, medical texts, mathematical problems, and reasoning tasks.
|
44 |
+
|
45 |
+
## Evaluation Results
|
46 |
+
Coming soon...
|
47 |
+
|
48 |
+
## How to Use
|
49 |
+
```python
|
50 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
51 |
+
|
52 |
+
model_name = "Locutusque/Hyperion-1.5-Mistral-7B"
|
53 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
54 |
+
model = AutoModelForCausalLM.from_pretrained(model_name)
|
55 |
+
|
56 |
+
# For a text generation task
|
57 |
+
input_text = "<|im_start|>user\nWhat are the implications of Einstein's theory of relativity in modern physics?<|im_end|>\n<|im_start|>assistant\n"
|
58 |
+
input_ids = tokenizer.encode(input_text, return_tensors="pt")
|
59 |
+
|
60 |
+
# Generate a response
|
61 |
+
outputs = model.generate(input_ids, max_length=200, num_return_sequences=1, temperature=0.8, top_p=0.95, top_k=40, repetition_penalty=1.1)
|
62 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
63 |
+
```
|
64 |
+
## Known Limitations
|
65 |
+
|
66 |
+
The diversity of the dataset could lead to inconsistencies in the model's responses due to variations in data formatting and annotation quality.
|
67 |
+
## Licensing Information
|
68 |
+
|
69 |
+
This model is released under the Apache-2.0 license.
|
70 |
+
## Citation Information
|
71 |
+
|
72 |
+
If you use Locutusque/Hyperion-1.5-Mistral-7B in your research, please cite the Hyperion dataset as follows:
|
73 |
+
|
74 |
+
```
|
75 |
+
@misc{sebastian_gabarain_2024,
|
76 |
+
title = {Hyperion-1.5: Illuminating the Path to Advanced Reasoning with a High-Quality, Multidisciplinary Question Answering Dataset},
|
77 |
+
author = {Sebastian Gabarain},
|
78 |
+
publisher = {HuggingFace},
|
79 |
+
year = {2024},
|
80 |
+
url = {https://huggingface.co/datasets/Locutusque/hyperion-v1.5}
|
81 |
+
}
|
82 |
+
```
|