lm-sys / lm-sys/FastChat

TypeError: Object of type Tensor is not JSON serializable

Open
#3,102 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

I finished the finetune LLaMA-7b with LoRA, However, it fail to save the model due to following reason.
image

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the LLaMA-7b fine-tuning flow with LoRA and inspect the model-saving path associated with the reported TypeError. The work is complete when the fine-tuned model saves successfully without the Tensor JSON serialization error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.