readme
Browse files
    	
        README.md
    CHANGED
    
    | @@ -72,6 +72,7 @@ ERNIE-4.5-21B-A3B is a text MoE Post-trained model, with 21B total parameters an | |
| 72 | 
             
            The following contains a code snippet illustrating how to use the model generate content based on given inputs.
         | 
| 73 |  | 
| 74 | 
             
            ```python
         | 
|  | |
| 75 | 
             
            from transformers import AutoModelForCausalLM, AutoTokenizer
         | 
| 76 |  | 
| 77 | 
             
            model_name = "baidu/ERNIE-4.5-21B-A3B-PT"
         | 
|  | |
| 72 | 
             
            The following contains a code snippet illustrating how to use the model generate content based on given inputs.
         | 
| 73 |  | 
| 74 | 
             
            ```python
         | 
| 75 | 
            +
            import torch
         | 
| 76 | 
             
            from transformers import AutoModelForCausalLM, AutoTokenizer
         | 
| 77 |  | 
| 78 | 
             
            model_name = "baidu/ERNIE-4.5-21B-A3B-PT"
         | 

