3. Evaluation

  • Notebook: task2-eval.ipynb
  • Description: Loads the fine-tuned model (from Hugging Face Hub in this case) and the base Qwen2.5 model, then compares their outputs on sample legal questions.
  • Execution: Run the cells sequentially. It will download the models from Hugging Face.
  • Dependencies: transformers, torch.
  • Inputs: Model identifiers from Hugging Face Hub (or local paths if not uploaded).
  • Outputs: Printed comparisons of answers from the fine-tuned model and the base model for sample legal questions.
Downloads last month
5
Safetensors
Model size
8B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for duogatech/qwen2.5-7b-deeplearning-hw2-demo

Base model

Qwen/Qwen2.5-7B
Finetuned
(2231)
this model