上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: itemcf usercf 商品的blip图向量相似召回 用户的序列召回(点击,浏览):GRU4REC 用户的序列召回(点击,浏览):实时相似召回 用户的点击序列通过word2vec的方式训练ic的embedding,基于用户的实时序列进行向量召回 MIND多兴趣召回: 模型结构如上,将历史行为序列 阅读全文
posted @ 2024-11-30 16:32 15375357604 阅读(32) 评论(0) 推荐(0)
摘要: # mian目录currentDir=$(cd $(dirname $0); pwd)echo "currentDir = ${currentDir}" source /etc/profilesource ~/.bashrcconda activate milvus_envpython --vers 阅读全文
posted @ 2024-09-24 17:51 15375357604 阅读(13) 评论(0) 推荐(0)
摘要: # Muti-head Attention 机制的实现 from math import sqrt import torch import torch.nn class Self_Attention(nn.Module): # input : batch_size * seq_len * input 阅读全文
posted @ 2024-09-23 14:31 15375357604 阅读(80) 评论(0) 推荐(0)
摘要: import jsonimport sysimport timefrom pymilvus import connections, Collection, FieldSchema, CollectionSchema, DataType, utility, Index# 连接到 Milvusdef c 阅读全文
posted @ 2024-09-18 16:16 15375357604 阅读(212) 评论(0) 推荐(0)
摘要: 进入root 用户下 yum -y install docker 安装容器 systemctl start docker 启动容器 查看命令 sudo docker ps ,如图所示 ,说明启动成功 拉取镜像 sudo docker pull tensorflow/serving:2.11.0 如图 阅读全文
posted @ 2024-06-27 13:38 15375357604 阅读(27) 评论(0) 推荐(0)
摘要: 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)
摘要: 1. bert 二分类 import tensorflow as tf from sklearn.model_selection import train_test_split from transformers import BertTokenizer, TFBertModel import pa 阅读全文
posted @ 2024-05-29 14:48 15375357604 阅读(21) 评论(0) 推荐(0)
摘要: (99+ 封私信 / 42 条消息) Hao Bai - 知乎 大模型 (99+ 封私信 / 50 条消息) 推荐算法线上最成功的一次提升是什么? - 知乎 AccumulateMore (小王同学在积累) · GitHub nlp,cv笔记 GitHub - JDBSK/code-suixiang 阅读全文
posted @ 2024-05-22 14:42 15375357604 阅读(11) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 10 下一页