Deepthought-8B is a small and capable reasoning model built on LLaMA-3.1 8B, designed to make AI reasoning more transparent and controllable. Despite its relatively small size, it achieves sophisticated reasoning capabilities that rival much larger models.
Deepthought-8B is designed with a unique approach to problem-solving, breaking down its thinking into clear, distinct, documented steps. The model outputs its reasoning process in a structured JSON format, making it easier to understand and validate its decision-making process.
Try out Deepthought-8B on our Ruliad interface: https://chat.ruliad.co
pip install torch transformers
# Optional: Install Flash Attention 2 for better performance
pip install flash-attn
export HF_TOKEN=your_token_here
export HF_HUB_ENABLE_HF_TRANSFER=1
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
# Initialize the model
model_name = "ruliad/deepthought-8b-llama-v0.01-alpha"
tokenizer = AutoTokenizer.from_pretrained(
model_name,
add_bos_token=False,
trust_remote_code=True,
padding="left",
torch_dtype=torch.bfloat16,
)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto",
attn_implementation="flash_attention_2", # Use "eager" (or omit) if flash_attn is not installed
use_cache=True,
trust_remote_code=True,
)
python deepthought_inference.py
The model provides structured reasoning in JSON format:
{
"step": 1,
"type": "problem_understanding",
"thought": "Understanding the user's objective for the task."
}
Each reasoning chain includes multiple steps:
Deepthought-8B demonstrates strong performance across various benchmarks:
Current known limitations include:
The model is available under a commercial license for enterprise use.
If you use this model in your research, please cite:
@misc{Deepthought2024,
author = {Ruliad},
title = {Deepthought-8B: A Small and Capable Reasoning Model},
year = {2024},
publisher = {Ruliad}
}
For questions and feedback:
Deepthought-8B is a small and capable reasoning model built on LLaMA-3.1 8B, designed to make AI reasoning more transparent and controllable. Despite its relatively small size, it achieves sophisticated reasoning capabilities that rival much larger models.
Deepthought-8B is designed with a unique approach to problem-solving, breaking down its thinking into clear, distinct, documented steps. The model outputs its reasoning process in a structured JSON format, making it easier to understand and validate its decision-making process.
Try out Deepthought-8B on our Ruliad interface: https://chat.ruliad.co
pip install torch transformers
# Optional: Install Flash Attention 2 for better performance
pip install flash-attn
export HF_TOKEN=your_token_here
export HF_HUB_ENABLE_HF_TRANSFER=1
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
# Initialize the model
model_name = "ruliad/deepthought-8b-llama-v0.01-alpha"
tokenizer = AutoTokenizer.from_pretrained(
model_name,
add_bos_token=False,
trust_remote_code=True,
padding="left",
torch_dtype=torch.bfloat16,
)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto",
attn_implementation="flash_attention_2", # Use "eager" (or omit) if flash_attn is not installed
use_cache=True,
trust_remote_code=True,
)
python deepthought_inference.py
The model provides structured reasoning in JSON format:
{
"step": 1,
"type": "problem_understanding",
"thought": "Understanding the user's objective for the task."
}
Each reasoning chain includes multiple steps:
Deepthought-8B demonstrates strong performance across various benchmarks:
Current known limitations include:
The model is available under a commercial license for enterprise use.
If you use this model in your research, please cite:
@misc{Deepthought2024,
author = {Ruliad},
title = {Deepthought-8B: A Small and Capable Reasoning Model},
year = {2024},
publisher = {Ruliad}
}
For questions and feedback: