|
--- |
|
language: |
|
- en |
|
license: other |
|
library_name: transformers |
|
tags: |
|
- code |
|
- chemistry |
|
- medical |
|
datasets: |
|
- Locutusque/hyperion-v3.0 |
|
--- |
|
# Locutusque/Hyperion-3.0-Yi-34B |
|
## Model Details |
|
- **Model Name**: Locutusque/Hyperion-3.0-Yi-34B |
|
- **Base Model**: Yi-34B |
|
- **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/Hyperion-3.0-Yi-34B is a state-of-the-art language model fine-tuned on the Hyperion-v3.0 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. This model is designed to greatly outperform its predecessors. |
|
|
|
## 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/Hyperion-3.0-Yi-34B model was fine-tuned on 75,000 examples of the Hyperion-3.0 dataset, which amalgamates various datasets rich in diversity and complexity, including programming, medical texts, mathematical problems, and reasoning tasks. |
|
|
|
## Quants |
|
|
|
Coming Soon |
|
|
|
## Evaluation Results |
|
Coming soon |
|
|
|
## How to Use |
|
```python |
|
from transformers import AutoModelForCausalLM, AutoTokenizer |
|
|
|
model_name = "Locutusque/Hyperion-3.0-Yi-34B" |
|
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. |
|
|
|
This model is also very compliant, it will respond to any request. Please make sure to build upon this model with DPO if you plan on using it for enterprise-level deployment. |
|
|
|
## Licensing Information |
|
|
|
This model is released under the Yi NC license. |