About Keras
Getting started
Developer guides
Keras 3 API documentation
Models API
Layers API
Callbacks API
Ops API
Optimizers
Metrics
Losses
Data loading
Built-in small datasets
Keras Applications
Mixed precision
Multi-device distribution
RNG API
Utilities
KerasTuner
KerasCV
KerasNLP
Pretrained Models
Models API
Tokenizers
Preprocessing Layers
Modeling Layers
Samplers
Metrics
KerasHub
Keras 2 API documentation
Code examples
KerasTuner: Hyperparameter Tuning
KerasHub: Pretrained Models
KerasCV: Computer Vision Workflows
KerasNLP: Natural Language Workflows
search
►
Keras 3 API documentation
/
KerasNLP
/ Models API
Models API
Backbone
Backbone class
from_preset method
token_embedding property
enable_lora method
save_lora_weights method
load_lora_weights method
save_to_preset method
Task
Task class
from_preset method
save_to_preset method
preprocessor property
backbone property
Preprocessor
Preprocessor class
from_preset method
save_to_preset method
tokenizer property
CausalLM
CausalLM class
from_preset method
compile method
generate method
save_to_preset method
preprocessor property
backbone property
CausalLMPreprocessor
CausalLMPreprocessor class
from_preset method
save_to_preset method
tokenizer property
Seq2SeqLM
Seq2SeqLM class
from_preset method
compile method
generate method
save_to_preset method
preprocessor property
backbone property
Seq2SeqLMPreprocessor
Seq2SeqLMPreprocessor class
from_preset method
save_to_preset method
tokenizer property
TextClassifier
TextClassifier class
from_preset method
compile method
save_to_preset method
preprocessor property
backbone property
TextClassifierPreprocessor
TextClassifierPreprocessor class
from_preset method
save_to_preset method
tokenizer property
MaskedLM
MaskedLM class
from_preset method
compile method
save_to_preset method
preprocessor property
backbone property
MaskedLMPreprocessor
MaskedLMPreprocessor class
from_preset method
save_to_preset method
tokenizer property
upload_preset
upload_preset function
Models API
Backbone
Task
Preprocessor
CausalLM
CausalLMPreprocessor
Seq2SeqLM
Seq2SeqLMPreprocessor
TextClassifier
TextClassifierPreprocessor
MaskedLM
MaskedLMPreprocessor
upload_preset