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

珍玛

Gemma分词器

  • GemmaTokenizer class
  • from_preset method

Gemma预处理器层

  • GemmaPreprocessor class
  • from_preset method
  • tokenizer property

宝石主干模型

  • GemmaBackbone class
  • from_preset method
  • token_embedding property
  • enable_lora method
  • get_layout_map method

GemmaCausalLM 模型

  • GemmaCausalLM class
  • from_preset method
  • generate method
  • backbone property
  • preprocessor property
  • score method

GemmaCausalLMPreprocessor 层

  • GemmaCausalLMPreprocessor class
  • from_preset method
  • tokenizer property
珍玛
Gemma分词器
Gemma预处理器层
宝石主干模型
GemmaCausalLM 模型
GemmaCausalLMPreprocessor 层
Terms | Privacy