-
- Downloads
Import GLM inference code
Showing
- arguments.py 35 additions, 1 deletionarguments.py
- config/model_glm_roberta_large.sh 10 additions, 0 deletionsconfig/model_glm_roberta_large.sh
- inference_glm.py 299 additions, 0 deletionsinference_glm.py
- model/glm_model.py 2 additions, 1 deletionmodel/glm_model.py
- move_weights_glm.py 38 additions, 0 deletionsmove_weights_glm.py
- mpu/transformer.py 2 additions, 2 deletionsmpu/transformer.py
- scripts/generate_glm.sh 29 additions, 0 deletionsscripts/generate_glm.sh
- tokenization/__init__.py 17 additions, 5 deletionstokenization/__init__.py
- tokenization/file_utils.py 250 additions, 0 deletionstokenization/file_utils.py
- tokenization/text/__init__.py 1 addition, 0 deletionstokenization/text/__init__.py
- tokenization/text/sp_tokenizer.py 150 additions, 0 deletionstokenization/text/sp_tokenizer.py
- tokenization/text/tokenization.py 1254 additions, 0 deletionstokenization/text/tokenization.py
- tokenization/text/tokenization_gpt2.py 310 additions, 0 deletionstokenization/text/tokenization_gpt2.py
- tokenization/text/wordpiece.py 390 additions, 0 deletionstokenization/text/wordpiece.py
Loading
Please register or sign in to comment