Downloads · 30 days
8
14% of all-time downloads
MathBite/self_corrective_llama_3.1_8B_beta
self_corrective_llama_3.1_8B_beta is a machine learning model from MathBite. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as llama3.1.
This is a fine-tuned version of meta-llama/Llama-3.1-8B-Instruct that has been trained to detect and mitigate hallucinations in generated text.
Downloads · 30 days
8
14% of all-time downloads
All-time downloads
59
Public
Parameters
8.2B
5.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.3 GB · 100%
How the weights are stored.
U87.7B · 92%
From the Hugging Face model README
This is a fine-tuned version of meta-llama/Llama-3.1-8B-Instruct that has been trained to detect and mitigate hallucinations in generated text.
Because this model uses a custom architecture, you must use trust_remote_code=True when loading it.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "MathBite/self_corrective_llama_3.1_8B_beta"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
trust_remote_code=True
)