Views
No views yet
model*.safetensors - The actual model parameters1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4# Load the checkpoint
5model = AutoModelForCausalLM.from_pretrained(
6 "ea-dev-checkpoint-200",
7 torch_dtype=torch.bfloat16,
8 device_map="auto"
9)
10tokenizer = AutoTokenizer.from_pretrained("ea-dev-checkpoint-200")
11
12# Example evaluation prompt
13prompt = """Please evaluate the quality of this video based on the following criteria:
141. Visual quality and clarity
152. Temporal consistency
163. Motion smoothness
17
18Video description: A person walking through a park with trees swaying in the wind.
19
20Let me think step by step:"""
21
22inputs = tokenizer(prompt, return_tensors="pt")
23with torch.no_grad():
24 outputs = model.generate(
25 **inputs,
26 max_length=512,
27 do_sample=True,
28 temperature=0.7,
29 pad_token_id=tokenizer.eos_token_id
30 )
31
32response = tokenizer.decode(outputs[0], skip_special_tokens=True)
33print(response)1# Use with LLaMA-Factory
2llamafactory-cli train \
3 --stage sft \
4 --model_name_or_path ea-dev-checkpoint-200 \
5 --resume_from_checkpoint ea-dev-checkpoint-200ea-dev-checkpoint-*ea-dev-final1@misc{eval-agent-qwen2.5-checkpoint-200,
2 title={Evaluation Agent Qwen2.5 Checkpoint 200},
3 author={Your Name},
4 year={2025},
5 howpublished={\url{https://huggingface.co/ea-dev-checkpoint-200}}
6}