ForgetThatNight

Results 10 comments of ForgetThatNight

> ` input:我是范冰冰 dataset: [[ 131 2067 3239 2234 2234]] logits [[[-0.72535753 4.161972 -2.9507422 -3.1868236 -3.2397275 -3.269389 -3.0774546 -3.2384624 -3.2812405 -2.9897215 -3.1217413 -3.6321018 -3.1315987 -3.0792222 ] [-2.8050935 4.9421215 -2.3537152 -2.844575...

更换版本号解决了问题,没有使用作者的版本号 `slack 0.0.2 slackclient 2.1.0 `

> > cur = '/'.join(os.path.abspath(**file**).split('/')[:-1]) > > self.train_file = os.path.join(cur, 'question_train.txt') > > 就是这个文件找不到 > > 同问 连长什么样子都不知道

> 从数据处理那里就可以看到数据格式啊,很明显就是文本对应标签 连蒙带猜的已经解决了,从json文件读取数据猜写进去的格式弄好了

> qa_corpus.json `import numpy as np from tqdm import tqdm import pandas as pd def build_qa_corpus(): source_path = "/home/lc/Python/recommendersystem/rasa_resource/CrimeKgAssitant/data/qa_corpus.json" json = pd.read_json(source_path, lines=True) print(json.shape) print(json.info()) json.head() label_dict = { "婚姻家庭":...

> Do you mean that you were able to view your Streamlit app on your local browser, but encountered issues when trying to do so on another PC? 是的,已经用gradio重新写了一个解决了

chatglm才6b,我32G都是OutOfMemoryError,好神奇,没找到原因