transformers safetensors mistral text-generation code chemistry medical en dataset:Locutusque/hyperion-v2.0 dataset:argilla/distilabel-capybara-dpo-7k-binarized license:apache-2.0 autotrain_compatible text-generation-inference endpoints_compatible region:us
---
datasets:
- Locutusque/hyperion-v2.0
- argilla/distilabel-capybara-dpo-7k-binarized
language:
- en
library_name: transformers
license: apache-2.0
tags:
- code
- chemistry
- medical
---
# NeuralHyperion-2.0-Mistral-7B


![image/png](https://cdn-uploads.huggingface.co/production/uploads/6437292ecd93f4c9a34b0d47/9BU30Mh9bOkO2HRBDF8EE.png)

## Model Details
- **Model Name**: Locutusque/NeuralHyperion-2.0-Mistral-7B 
- **Base Model**: mistralai/Mistral-7B-v0.1  
- **Publisher**: Locutusque  
- **Model Type**: Question answering, conversational AI, code generation, medical text comprehension, mathematical reasoning, logical reasoning.  
- **Language**: Multi-domain, English language.  
- **License**: Apache-2.0  

## Model Description
`Locutusque/NeuralHyperion-2.0-Mistral-7B` is a state-of-the-art language model fine-tuned on the Hyperion-v2.0 and distilabel-capybara 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. 

## Intended Use
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:
- AI-driven tutoring systems for science, medicine, mathematics, and computer science.
- Assistive tools for professionals requiring fast and accurate domain-specific information retrieval.
- Platforms that require conversational AI capabilities with a focus on technical and scientific reasoning.
- Automation in code generation and understanding complex programming context.

## Training Data
The `Locutusque/NeuralHyperion-2.0-Mistral-7B` model was fine-tuned on 1,550,000 examples of the Hyperion-v2.0 dataset, which amalgamates various datasets rich in diversity and complexity, including programming, medical texts, mathematical problems, and reasoning tasks. Then, it is further fine-tuned on the Capybara preference data using DPO. 

## Evaluation Results
Coming soon.  

## Quants

ExLlamaV2: https://huggingface.co/bartowski/NeuralHyperion-2.0-Mistral-7B-exl2

GGUF: https://huggingface.co/bartowski/NeuralHyperion-2.0-Mistral-7B-GGUF

AWQ: https://huggingface.co/solidrust/NeuralHyperion-2.0-Mistral-7B-AWQ

## How to Use
```python
from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Locutusque/NeuralHyperion-2.0-Mistral-7B"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)

# For a text generation task
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"
input_ids = tokenizer.encode(input_text, return_tensors="pt")

# Generate a response
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)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
```
## Known Limitations

The diversity of the dataset could lead to inconsistencies in the model's responses due to variations in data formatting and annotation quality.

## Licensing Information

This model is released under the Apache-2.0 license.