This model is a fine-tuned version of unsloth/Llama-3.2-3B-Instruct, specifically adapted for enhanced performance in scientific knowledge tasks.
This model is designed for tasks requiring scientific understanding, question answering, and knowledge retrieval in scientific contexts. It can be used for:
The model was fine-tuned on the UniversalScienceKownledge-finetome-top-20k dataset. Specific hyperparameters used in training are not provided, but typical fine-tuning approaches for LLMs include:
As with all language models, this model may reflect biases present in its training data. Users should be aware of potential biases in scientific literature and exercise caution when using the model for sensitive applications.
Quantitative evaluation results are not provided. Users are encouraged to evaluate the model's performance on their specific tasks and domains of interest.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "0xZee/llama3-2-3b-finetuned-ScienceKnowledge"
4tokenizer = AutoTokenizer.from_pretrained(model_name)
5model = AutoModelForCausalLM.from_pretrained(model_name)
6
7prompt = "Explain the concept of quantum entanglement."
8input_ids = tokenizer(prompt, return_tensors="pt").input_ids
9output = model.generate(input_ids, max_new_tokens=100)
10print(tokenizer.decode(output, skip_special_tokens=True))