-
【train】Epoch: 10/10 Step: 668/670 loss: 0.00103
【train】Epoch: 10/10 Step: 669/670 loss: 0.00121
【train】Epoch: 10/10 Step: 670/670 loss: 0.00136
[eval] precision=0.0341 recall=0.5020 f1_score=0.0639…
-
```python
def get_bert_inf(phones, word2ph, norm_text, language):
language=language.replace("all_","")
if language == "zh":
bert = get_bert_feature(norm_text, word2ph).to(device)#.…
-
Since the in-house images are all labeled in Chinese, I'm curious about how to enable the model to support detecting images like that. I simply translated the label from English to Chinese, but there …
-
能提供一下bert-base-chinese pytorch下载链接吗?谢谢
tanzf updated
4 years ago
-
-
像是缺失了文件
Unrecognized model in D:\LIUGEGE\ComfyUI\models\Joy_caption_alpha\text_model. Should have a `model_type` key in its config.json, or contain one of the following strings in its name: albert, a…
-
我用您的代码进行了模型的训练,成功训练之后打算用predict.py代码进行预测的尝试
结果出现以下两个问题:
①输入文本过长似乎会发生“实体识别结果为空”的提示
②而输入较短的文本会提示访问huggingface的404,似乎我需要在huggingface上上传模型还是什么吗?
2023-01-24 15:21:36.106249: I tensorflow/stream_exe…
uyoin updated
1 month ago
-
Hi, If I would like to apply the diversity selection methodology on Chinese SFT dataset (let's say Alpaca-cn-gpt4), can I simply change the model to a chinese-bert(https://huggingface.co/bert-base-chi…
nuoma updated
2 months ago
-
你好,我这边想更换预训练的模型,改为使用bert-base-multilingual-cased,可以正常训练并且保存模型,但是运行detector时会报错:
Traceback (most recent call last):
File "detector.py", line 220, in
model = JointIntentSlotDetector.from_pre…
-
Traceback (most recent call last):
File "run.py", line 28, in
train_data, dev_data, test_data = build_dataset(config)
File "D:\PYTHON_PROGRAMME\Bert-Chinese-Text-Classification\utils.py", …