- 博客(6)
- 资源 (19)
- 收藏
- 关注
原创 LLaMA-Factory自定义权重loss
我还不会考虑gradient_accumulation_steps大于1的情况。2、注意我的训练数据使用</>标签区分思考与答案的。
2025-04-08 17:10:40
1908
2
原创 如何将XGBOOT等模型转成Hive-SQL
我们在项目开发的时候都有这样的需求,就是将xgboost等线下训练好的模型部署到线上每天对存量数据扫库,这里参考大神记录下,方便以后使用到 来源:https://blog.csdn.net/wgdzz/article/details/87990598 # -*- coding: utf-8 -*- #!/bin/python import codecs import json ## 解析单棵数 def parse_xgb_tree_2sql(xgb_tree_json, mid_sqls, tre
2021-04-15 11:17:25
1047
1
原创 boost模型自定义smooth-l1 loss
# 切分训练验证数据集合 train_y = df[df.dates<date_line].ywl1.astype(float) train_x = df[df.dates<date_line].drop(['dates', 'times1', 'ywl1'], axis=1).astype(float) val_y = df[df.dates>=date_line].ywl1.astype(float) val_x = df[df.dates>=date_line].drop([.
2021-02-25 15:03:26
415
1
php论团系统
2014-04-13
android联系人小应用
2014-09-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅