Skip to content

Commit

Permalink
format style
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnestinaQiu authored Jan 26, 2024
1 parent fc122c3 commit df25595
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pipelines/examples/tree-of-thought/src/llm/ernie_bot.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
# coding=utf8, ErnestinaQiu

# Copyright (c) 2023 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.

import re
import time

import erniebot

Ernie_llm_list = ["ernie-3.5", "ernie-4.0"]


class Ernie:
def __init__(self, model):
self.query = []
Expand Down

0 comments on commit df25595

Please sign in to comment.