Update README.md
Browse files
    	
        README.md
    CHANGED
    
    | 
         @@ -61,7 +61,7 @@ temperature = 0.8 
     | 
|
| 61 | 
         | 
| 62 | 
         
             
            The following provides demo code illustrating how to generate based on text and multimodal inputs.
         
     | 
| 63 | 
         | 
| 64 | 
         
            -
            > **Please use transformers>=4. 
     | 
| 65 | 
         | 
| 66 | 
         
             
            #### Text input
         
     | 
| 67 | 
         | 
| 
         @@ -118,7 +118,7 @@ print(decoded_output) 
     | 
|
| 118 | 
         | 
| 119 | 
         
             
            #### Video input
         
     | 
| 120 | 
         | 
| 121 | 
         
            -
            Please ensure that the decord video decoding library is installed via `pip install decord`.
         
     | 
| 122 | 
         | 
| 123 | 
         
             
            ```python
         
     | 
| 124 | 
         
             
            from transformers import AutoProcessor, AutoModelForCausalLM
         
     | 
| 
         | 
|
| 61 | 
         | 
| 62 | 
         
             
            The following provides demo code illustrating how to generate based on text and multimodal inputs.
         
     | 
| 63 | 
         | 
| 64 | 
         
            +
            > **Please use transformers>=4.55.2 to ensure the model works normally.**
         
     | 
| 65 | 
         | 
| 66 | 
         
             
            #### Text input
         
     | 
| 67 | 
         | 
| 
         | 
|
| 118 | 
         | 
| 119 | 
         
             
            #### Video input
         
     | 
| 120 | 
         | 
| 121 | 
         
            +
            Please ensure that the decord video decoding library is installed via `pip install decord`. To avoid OOM, please at least use 2 GPUS.
         
     | 
| 122 | 
         | 
| 123 | 
         
             
            ```python
         
     | 
| 124 | 
         
             
            from transformers import AutoProcessor, AutoModelForCausalLM
         
     |