Files
PaddleNLP/paddlenlp/transformers/gau_alpha/__init__.py
w5688414 4123eb9c21 [GAUAlpha P0] PretrainedConfig and model unit test (#4691)
* Add GAUAlpha unit test

* Remove unsed comments and trigger ci

* Add __init__.py

* Update paddlenlp/transformers/gau_alpha/tokenizer.py

Co-authored-by: 骑马小猫 <1435130236@qq.com>

* Update gau_alpha configuration

* Adjust self.config.num_hidden_layers in init_weights

---------

Co-authored-by: 骑马小猫 <1435130236@qq.com>
2023-02-08 14:03:17 +08:00

14 lines
610 B
Python

# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.