关于 Keras 入门 开发者指南 Keras 3 API 文档 模型 API 层 API 回调 API 操作 API 优化器 指标 损失 数据加载 内置小型数据集 Keras 应用程序 混合精度 多设备分布 RNG API 实用程序 KerasTuner KerasCV KerasNLP 预训练模型 模型 API 分词器 预处理层 建模层 采样器 指标 KerasHub Keras 2 API 文档 代码示例 KerasTuner:超参数调整 KerasHub:预训练模型 KerasCV:计算机视觉工作流程 KerasNLP:自然语言工作流程
► Keras 3 API 文档 / KerasNLP / 预训练模型 / Llama3

Llama3

Llama3Tokenizer

  • Llama3Tokenizer 类
  • from_preset 方法

Llama3Backbone 模型

  • Llama3Backbone 类
  • from_preset 方法
  • token_embedding 属性
  • enable_lora 方法

Llama3CausalLM 模型

  • Llama3CausalLM 类
  • from_preset 方法
  • generate 方法
  • backbone 属性
  • preprocessor 属性

Llama3CausalLMPreprocessor 层

  • Llama3CausalLMPreprocessor 类
  • from_preset 方法
  • tokenizer 属性
Llama3
Llama3Tokenizer
Llama3Backbone 模型
Llama3CausalLM 模型
Llama3CausalLMPreprocessor 层
条款 | 隐私