[天池比赛] 新冠疫情相似句对判断

比赛链接:https://tianchi.aliyun.com/competition/entrance/231776/introduction?spm=5176.12281949.1003.2.4d7c2448gPLYCN

下面提供base和训练结果:


# 绘图案例 an example of matplotlib
import numpy as np
import matplotlib.pyplot as plt
from scipy.special import jn
from IPython.display import display, clear_output
import time
from sklearn.model_selection import KFold, train_test_split, GridSearchCV
'''
x = np.linspace(0,5)
f, ax = plt.subplots()
ax.set_title("Bessel functions")

for n in range(1,10):
    time.sleep(1)
    ax.plot(x, jn(x,n))
    clear_output(wait=True)
    display(f)

# close the figure at the end, so we don't get a duplicate
# of the last plot
plt.close()
'''


from keras.layers import *

from bert4keras.backend import keras, set_gelu
from bert4keras.bert import build_bert_model
from bert4keras.op

猜你喜欢

转载自blog.csdn.net/u014365862/article/details/104468107