hugging face o colab
High-level overview of how to run LLM models
Prerequisite:
- Transformers
- NLP
- Python
- Huggingface
Suppose you have a problem statement related to text generation to proceed with it we want to search for a text generation model that would suffice our needs.
Step 1: Search for open-source LLM models on platforms like: HuggingFace
Step 3: Select any model for testing
Step 4: Suppose we chose phi-2 model by microsoft
Step 5: There is a sample code provided for the usage of the model copy in colab and use it
Notebook link
.png)
.png)
Comments
Post a Comment