关于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) / 预训练模型 / 羊驼

羊驼

Llama分词器

  • LlamaTokenizer class
  • from_preset method

Llama预处理层

  • LlamaPreprocessor class
  • from_preset method
  • tokenizer property

LlamaBackbone 模型

  • LlamaBackbone class
  • from_preset method
  • token_embedding property
  • enable_lora method

LlamaCausalLM模型

  • LlamaCausalLM class
  • from_preset method
  • generate method
  • backbone property
  • preprocessor property

LlamaCausalLMPreprocessor 层

  • LlamaCausalLMPreprocessor class
  • from_preset method
  • tokenizer property
羊驼
Llama分词器
Llama预处理层
LlamaBackbone 模型
LlamaCausalLM模型
LlamaCausalLMPreprocessor 层
Terms | Privacy