This commit is contained in:
hailin 2025-08-08 20:03:54 +08:00
parent d57cc03b60
commit 3e237e9c82
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
python - <<'PY' python - <<'PY'
import warnings, torch import warnings, torch
warnings.filterwarnings("ignore", category=UserWarning, message=".*TypedStorage is deprecated.*")
warnings.filterwarnings("ignore", category=UserWarning, message="Was asked to gather.*")
from datasets import load_dataset from datasets import load_dataset
from transformers import ( from transformers import (
AutoTokenizer, AutoModelForCausalLM, AutoTokenizer, AutoModelForCausalLM,