A large language model (LLM) is a large neural language model used to generate and process language. In practice, you can start from a pretrained model or train one for a specialized application, then fine-tune, evaluate, and serve it. section 11.3 section 12.1.2
Common LLM workflows include:
- Using pretrained models for natural language processing tasks. section 11.3
- Pretraining models from scratch when substantial cloud GPU or TPU resources are available. section 12.1.2
- Fine-tuning, evaluating, and serving models with JAX/Flax tooling. section 12.1.2
- Scaling training across many accelerators through distributed parallelism. section 12.1.2
Representative model families
The ecosystem includes GPT-like families such as Llama, Gemma, GPT-J, GPT-Neo, BLOOM, and GPT-2, alongside transformer families such as T5 and BERT. section 11.3
pip install -q git+https://github.com/huggingface/transformers.git
Install the Hugging Face Transformers development version to begin working with models from its ecosystem. section 11.3


































































