摘要: import os os.environ["CUDA_VISIBLE_DEVICES"] = "0" import tensorflow as tf from sklearn.model_selection import train_test_split from transformers impo 阅读全文
posted @ 2024-06-21 15:05 15375357604 阅读(35) 评论(0) 推荐(0)
摘要: import os os.environ["CUDA_VISIBLE_DEVICES"] = "2" import tensorflow as tf from sklearn.model_selection import train_test_split from transformers impo 阅读全文
posted @ 2024-06-21 15:05 15375357604 阅读(16) 评论(0) 推荐(0)
摘要: 模型蒸馏 import pandas as pd import tensorflow as tf from sklearn.model_selection import train_test_split from sklearn.metrics import confusion_matrix, f1 阅读全文
posted @ 2024-06-21 15:03 15375357604 阅读(114) 评论(0) 推荐(0)