This is the 2024-11-04 release of Shining Valiant 2 for Llama 3.1 8b.
This release uses our newest datasets, open-sourced for everyone's use, including our expanded science-instruct dataset. This release features improvements in logical thinking and structured reasoning as well as physics, chemistry, biology, astronomy, Earth science, computer science, and information theory.
Future upgrades will continue to expand Shining Valiant's technical knowledge base.
Help us and recommend Shining Valiant 2 to your friends!
Prompting Guide
Shining Valiant 2 uses the Llama 3.1 Instruct prompt format. The example script below can be used as a starting point for general chat:
python
1import transformers
2import torch
34model_id ="ValiantLabs/Llama3.1-8B-ShiningValiant2"56pipeline = transformers.pipeline(7"text-generation",8 model=model_id,9 model_kwargs={"torch_dtype": torch.bfloat16},10 device_map="auto",11)1213messages =[14{"role":"system","content":"You are Shining Valiant, a highly capable chat AI."},15{"role":"user","content":"Describe the role of transformation matrices in 3D graphics."}16]1718outputs = pipeline(19 messages,20 max_new_tokens=2048,21)2223print(outputs[0]["generated_text"][-1])
The Model
Shining Valiant 2 is built on top of Llama 3.1 8b Instruct.
We're super excited that Shining Valiant's dataset has been fully open-sourced! She's friendly, enthusiastic, insightful, knowledgeable, and loves to learn! Magical.