当前位置: 首页 > article >正文

Monolith - 大规模推荐建模的深度学习框架

文章目录

    • 一、关于 Monolith
    • 二、快速开始
      • 1、从源代码构建
      • 2、示例和教程


一、关于 Monolith

  • github : https://github.com/bytedance/monolith
  • Discord

Monolith 是一个用于大规模推荐建模的深度学习框架。它引入了两个对高级推荐系统至关重要的特性:

  • collisionless embedding tables 保证不同ID特征的唯一表示
  • 实时训练捕捉最新的热点,帮助用户快速发现新的兴趣点

Monolith 是基于 TensorFlow 构建的,支持批量/实时训练和部署。


二、快速开始


1、从源代码构建

目前,我们仅支持在 Linux 上进行编译。

首先,下载 bazel 3.1.0

wget https://github.com/bazelbuild/bazel/releases/download/3.1.0/bazel-3.1.0-installer-linux-x86_64.sh && \
  chmod +x bazel-3.1.0-installer-linux-x86_64.sh && \
  ./bazel-3.1.0-installer-linux-x86_64.sh && \
  rm bazel-3.1.0-installer-linux-x86_64.sh

然后,准备一个 Python 环境

pip install -U --user pip numpy wheel packaging requests opt_einsum
pip install -U --user keras_preprocessing --no-deps

最后,你可以在单体中构建任何目标。例如,

bazel run //monolith/native_training:demo --output_filter=IGNORE_LOGS

2、示例和教程

在 markdown/demo 中有一个 关于如何运行 分布式异步训练 的教程,以及一些关于如何使用 MonolithModel API 的指南 这里。


伊织 2024-01-03(五)


http://www.kler.cn/a/465476.html

相关文章:

  • C#Halcon交互绘制ROI
  • 啥是大模型
  • 【Golang 面试题】每日 3 题(十七)
  • Objective-C语言的软件开发工具
  • 热备份路由HSRP及配置案例
  • 大数据学习(33)-续集
  • 如何配置【Docker镜像】加速器+【Docker镜像】的使用
  • 【踩坑记录】uni-app 微信小程序调试不更新问题解决指南
  • GitHub的简单操作
  • 《 C++ 点滴漫谈: 十七 》编译器优化与 C++ volatile:看似简单却不容小觑
  • idea 的 springboot项目spring-boot-devtools 自动编译 配置热部署
  • 考试座位号(PTA)C语言
  • 【Rust 学习笔记】Rust 基础数据类型介绍——指针、元组和布尔类型
  • 3d扫描仪三维扫描构建牙齿模型
  • certificate verify failed: unable to get local issuer certificate (_ssl.c:10
  • python生成、操作svg图片
  • Couchbase 的索引
  • HTTP Scheme 通常指的是在 URL 中用于指定使用 HTTP 协议的方案(scheme)
  • 【C】​动态内存管理
  • ==和===的区别,被坑的一天